Making connected apps with BaaS (Droidcon Bangalore 2014)
-
Upload
varun-torka -
Category
Software
-
view
432 -
download
0
Transcript of Making connected apps with BaaS (Droidcon Bangalore 2014)
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
The Cloud
• Always available
• ~Infinite compute
• ~Infinite storage
Users expect all their data (and friends) instantly
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
Enter ?aaS
IaaS
PaaS
SaaSEnd Users
Application Developers
Network Architects
Why buy, when you can rent?
Enter ?aaS
IaaS
PaaS
SaaSEnd Users
Application Developers
Network Architects
PaaS provides APIs for us to use cloud resources directly
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
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
Table ‘session’ on Parse serversobjectId Order speakerName category
asdaf42 13 thevarun crisptalk
Saving an object / adding a row
Retrieving a set of objects / filtering rows
Table query
File transferSaving
Retrieving
Table ‘session’ on Parse serversobjectId Order speakerName category soundfile
asdaf42 13 Varun T crisptalk
dka22mp crisptalk talk_on_parse.mp3