Building mobile back ends withwindows azure mobile servicesWindows Azure Sydney User GroupJune 2013
Aidan Casey@AIDANJCASEY | acaseyblog.wordpress.comSolutions architect @MYOB Australia
AgendaBaaS overviewWindows Azure Mobile Services Features- Storage- Push Notifications- Authentication & Authorisation- Sc...
How long does it take to build a mobile app?
weeks!http://www.kinvey.com/blog/2086/how-long-does-it-take-to-build-a-mobile-app
Why so long?
Killer IdeaUserExperienceStore DataSocialIntegrationPushSecurityScaleVersioningAPIGeoLocationAnalyticsChooseTechnology
Store DataSocialIntegrationPushSecurityScaleVersioningAPIGeoLocationAnalyticsBackend as a Service (BaaS)
SDK’s• Windows Store• Windows Phone 8• iOS• Android• JavaScriptgithub.com/WindowsAzure/azure-mobile-services
DemoCREATING A NEW MOBILE SERVICES APP
Storage
Structured StorageWindows Azure SQL DatabaseDynamic schema on/offApps partitioned by schemaREST API generated per table (v...
JSON -> SQL data typesJSON value T-SQL typeNumeric values (integer, decimal, floating point) Float(53)Boolean BitDateTime ...
DemoUSING THE JAVASCRIPT SDK
Server side Logic
Server Logic – node.jsnode.js on small azure VM’s (azure websites infrastructure)Server side pipeline hooks (interceptors)...
Bypassing SQL Server storage1. Virtual Tables2 Create Custom API
Notifications
Push NotificationsThe global push object is used to send push notifications.Success & Error Callbacks are providedMethodpu...
Push Notification Lifecycle
DemoPUSH NOTIFICATIONS TO A WINDOWS STORE APP
Authentication & Authorisation
AuthorisationTable level authorization for CRUD operationsEveryone: any request by anyone is accepted.Anyone with Applicat...
CLI & Diagnostics
Scheduler
Cool Party Add-Ins from Azure Store
Git publishing
10 MobileServices1GB SQL Database700 jobs a month
ResourcesOfficial Videos & Tutorialshttp://www.windowsazure.com/en-us/develop/mobile/Real world Use Cases & black belt tip...
Building mobile back ends with windows azure mobile services
Building mobile back ends with windows azure mobile services
Building mobile back ends with windows azure mobile services
Building mobile back ends with windows azure mobile services
Upcoming SlideShare
Loading in...5
×

Building mobile back ends with windows azure mobile services

468

Published on

Sydney Azure User Group presentation, June 2013

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
468
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Research by AYTM on behalf of Kinvey“we surveyed 100 mobile designers to discover how long they expected it would take to build core front- and backend components of an Android or iOS app”
  • BaaS is a relatively recent development in cloud computing,with most BaaS startupsdating from 2011 or later.BaaS is distinct from these other services in that it specifically addresses the cloud-computing needs of web and mobile app developers by providing a unified means of connecting their apps to cloud services.The global BaaS market had an estimated value of $216.5 million in 2012.[5]
  • It’s a back end for you mobile apps Giving you storage, authentication oAuth with various social networksServer side business logic with node.js interceptorsPush notifications to different mobile devicesSchedulerOther players include  Parse, Kinvey, Buddy, AppceleratorRelatively recent development in cloud computing started circa 2011
  • All SDKs are open sourced on GitHubREST API for any other device….
  • Both structured & unstructured storage availableWindows Azure SQL database with a dynamic schema or whatever you fancy!
  • Cross-origin resource sharing (CORS) is a mechanism that allows a web page to make XMLHttpRequests to another domain.Such "cross-domain" requests would otherwise be forbidden by web browsers, per the same origin security policy. CORS defines a way in which the browser and the server can interact to determine whether or not to allow the cross-origin request.
  • Building mobile back ends with windows azure mobile services

    1. 1. Building mobile back ends withwindows azure mobile servicesWindows Azure Sydney User GroupJune 2013
    2. 2. Aidan Casey@AIDANJCASEY | acaseyblog.wordpress.comSolutions architect @MYOB Australia
    3. 3. AgendaBaaS overviewWindows Azure Mobile Services Features- Storage- Push Notifications- Authentication & Authorisation- Scheduler- Diagnostics & Scale
    4. 4. How long does it take to build a mobile app?
    5. 5. weeks!http://www.kinvey.com/blog/2086/how-long-does-it-take-to-build-a-mobile-app
    6. 6. Why so long?
    7. 7. Killer IdeaUserExperienceStore DataSocialIntegrationPushSecurityScaleVersioningAPIGeoLocationAnalyticsChooseTechnology
    8. 8. Store DataSocialIntegrationPushSecurityScaleVersioningAPIGeoLocationAnalyticsBackend as a Service (BaaS)
    9. 9. SDK’s• Windows Store• Windows Phone 8• iOS• Android• JavaScriptgithub.com/WindowsAzure/azure-mobile-services
    10. 10. DemoCREATING A NEW MOBILE SERVICES APP
    11. 11. Storage
    12. 12. Structured StorageWindows Azure SQL DatabaseDynamic schema on/offApps partitioned by schemaREST API generated per table (very data centric platform)Access your data through the portal, SQL Management studio or REST API
    13. 13. JSON -> SQL data typesJSON value T-SQL typeNumeric values (integer, decimal, floating point) Float(53)Boolean BitDateTime DateTimeOffset(3)String Nvarchar(max)
    14. 14. DemoUSING THE JAVASCRIPT SDK
    15. 15. Server side Logic
    16. 16. Server Logic – node.jsnode.js on small azure VM’s (azure websites infrastructure)Server side pipeline hooks (interceptors)Out of the box you have access to the following node packages(June Release) - you now have access to NPMrequest, console, push.*, tables, sql, statusCodes, azure, mssql
    17. 17. Bypassing SQL Server storage1. Virtual Tables2 Create Custom API
    18. 18. Notifications
    19. 19. Push NotificationsThe global push object is used to send push notifications.Success & Error Callbacks are providedMethodpush. apns Apple Push Notification Service iOS appspush. gcm Google Cloud Messaging Android appspush. mpns Microsoft Push Notification Service Windows Phone 8 appspush. wns Windows Notification Services Windows Store apps
    20. 20. Push Notification Lifecycle
    21. 21. DemoPUSH NOTIFICATIONS TO A WINDOWS STORE APP
    22. 22. Authentication & Authorisation
    23. 23. AuthorisationTable level authorization for CRUD operationsEveryone: any request by anyone is accepted.Anyone with Application Key: app key distributed w/ the app (default)Authenticated Users: users authenticated by Live Connect.Scripts and Admins: registered scripts or requests via the master keyApplication Key should not be used in production !
    24. 24. CLI & Diagnostics
    25. 25. Scheduler
    26. 26. Cool Party Add-Ins from Azure Store
    27. 27. Git publishing
    28. 28. 10 MobileServices1GB SQL Database700 jobs a month
    29. 29. ResourcesOfficial Videos & Tutorialshttp://www.windowsazure.com/en-us/develop/mobile/Real world Use Cases & black belt tipshttp://chrisrisner.com/Common-Scenarios-with-Windows-Azure-Mobile-ServicesMr Azure Mobile Services (Josh Twist)http://www.thejoyofcode.com/Cloud Nick ( Nick Harris )http://www.nickharris.net/
    1. Gostou de algum slide específico?

      Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

    ×