Upload
codemotion
View
936
Download
1
Embed Size (px)
DESCRIPTION
Tra le esigenze più comuni nello sviluppo di un’applicazione mobile ci sono l’invio di notifiche push, la memorizzazione, la gestione dei dati e l’autenticazione con diversi provider (Facebook, Twitter etc). Nel corso della sessione vedremo come il servizio Mobile di Azure sia il compagno ideale per le vostre applicazioni Windows Phone e Windows 8, e anche web, iOS o Android.
Citation preview
Sviluppo di backend per applicazioni mobile cross-platform con JavaScript e Mobile Services
Eva Gjeci
[email protected] - Microsoft
Agenda
Eva Gjeci [email protected] - Microsoft
What is Windows Azure
What is Mobile Services
How to use Mobile Services
How to get started
What is Windows Azure?
Eva Gjeci [email protected] - Microsoft
flexible open solid
Windows Azure can be anything you want it to be.
Why Mobile Services?
Eva Gjeci [email protected] - Microsoft
Windows Azure Mobile Services makes it fast and easy to build
dynamic and engaging mobile apps that scale. Store data in the
cloud, authenticate users, and send push notifications with only a few lines of code.
1. Apps are everywhere2. Time to market3. Minimize custom code
Supported Platforms
Eva Gjeci [email protected] - Microsoft
iOSWindows 8Windows Phone Android
HTML5 & Javascript Xamarin
Push notification Lifecycle overview
Eva Gjeci [email protected] - Microsoft
1. Request Channel URI
2. Register with your Cloud Service
3. Authenticate & Push Notification
Server side code
Eva Gjeci [email protected] - Microsoft
Use server scripts to add custom logic to your mobile application as well as connect to other Windows Azure or third party services
Table Scheduled Custom API
Tied to a CRUD operation on a SQL database
Ideal for actions triggered by events
JSON payloads only
Scripts can call other scripts and require user-submitted modules
Script runs on demand or on a user-defined schedule
Ideal for database cleanup, image resizing, periodic communications, etc.
Scripts can call other scripts and require user-submitted modules
Scripts are not associated with a table
Ideal for most scenarios
Supports additional payloads like XML
Scripts can call other scripts and require user-submitted modules
Access third party servicesEva Gjeci [email protected] - Microsoft
require(‘service_node_module’) Service with exposed REST API
Push in Mobile Services vs Notification Hub
Eva Gjeci [email protected] - Microsoft
Mobile Services Notification
Hubs
MPNS, WNS, APNS, and GCM support Yes Yes
Turnkey event-triggered push Yes No
Device registration management No Yes
Interest tags for routing messages to a
subset of users
No Yes
Templates for formatting messages to
user preferences including language
No Yes
Broadcast to >1 million devices at once
within minutes
No Yes