Existing mobile backend services can be really useful and quick to start with, however if we'd like to have more flexibility over the backend implementation an fairly easy solution would be to build a backend based on MongoDB and Node.JS. We will then drive this backend with EPAM Systems' open source iOS ROAD framework that has a number of good features like attributes and a 'zero-coding web service client' that really rocks !
17. // respond with "Hello World!" on the homepage
app.get('/', function (req, res) {
res.send('Hello World!');
})
// accept POST request on the homepage
app.post('/', function (req, res) {
res.send('Got a POST request');
})
// accept PUT request at /user
app.put('/user', function (req, res) {
res.send('Got a PUT request at /user');
})
// accept DELETE request at /user
app.delete('/user', function (req, res) {
res.send('Got a DELETE request at /user');
})
21. Rapid Objective-C
Applications Development
• Features
• Support for attributes (annotations), reflection
• Services (service locator pattern)
• Serialization (JSON, XML)
• Web Service client w/ zero-coding using attributes
• CocoaPods integration