The document discusses backend-as-a-service (BaaS) platforms like Parse.com that allow developers to harness cloud computing power without having to manage complex backend infrastructure. It explains how BaaS handles scalability, maintenance, failures and other issues automatically. The document also provides examples of common tasks that can be done using a BaaS like Parse.com, such as user login/authentication, database operations, file storage and retrieval.
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
Making connected apps with BaaS (Droidcon Bangalore 2014)
1. Making connected apps with
Backend-as-a-Service
or how you can use parse.com to harness the power of cloud in your
applications
Varun Torka
Co-Founder, HereNow
3. Computing then and now
Smaller, but much more powerful thanks to the cloud
4. The Cloud
• Always available
• ~Infinite compute
• ~Infinite storage
Users expect all their data (and friends) instantly
5. Building a cloud backend
• Auto-Scaling
• Server maintenance
• Failure recovery
• Upgradation
• Regular backups
• Consistency
• CDN
• Upfront infrastructure expenses
As an App Developer, I don’t want to deal with all this
6. Enter ?aaS
End SaaS
Users
PaaS
IaaS
Application
Developers
Network
Architects
Why buy, when you can rent?
7. Enter ?aaS
End SaaS
Users
PaaS
IaaS
Application
Developers
Network
Architects
PaaS provides APIs for us to use cloud resources directly
8. Parse.com
• Acquired by Facebook in April, 2013
• Free till 30 requests/second
• Libraries for Android, iOS, OSX, JavaScript, PHP
and .NET
• Also supports REST interface
9. Typical actions
• Login (native, facebook, twitter)
• Upload/Download a file from server
• Create database tables
• Add rows to the table
• Query db table for particular sets of data
• Cache server data locally
11. Saving an object / adding a row
Table ‘session’ on Parse servers
objectId Order speakerName category
asdaf42 13 thevarun crisptalk
Retrieving a set of objects / filtering rows
Table query
12. File transfer
Saving
Retrieving
Table ‘session’ on Parse servers
objectId Order speakerName category soundfile
asdaf42 13 Varun T crisptalk
dka22mp crisptalk talk_on_parse.mp3