Development Cycle Costly Infrequent, Large Updates System of Engagement Simple, Nimble Apps Highly targeted to need Fast Development Cycle Affordable CD & CI Traditional Approach The Mobile Way
release cycle • Loosely coupled API Integrations Performant Network Connection • Can make any request • Payload size not a big concern Slow to deploy • Release cycle up to 1-week with public app store reviews • Tightly coupled API Integrations Lossy Edge networks, 3G best case • HTTP overhead slow – need to make fewer requests • Payload must be small - trimmed for mobile
Create a new order app.post('/orders', function(req, res){ orders.push(req.body); return res.json(req.body); }); // list orders app.get('/orders', function(req, res){ return res.json(orders); }); var server = app.listen(3000); That’s it! (bold is boilerplate)
Behind a desk • Longer running tasks, e.g. • Sending an email • Filing an expense report • Longer interaction times • Request-Response based interactions • Used standing in line, walking thru the airport • Shorter Interaction time, e.g. • Comment on a case • Approving a workflow • Streaming & realtime interactions