Your SlideShare is downloading. ×
[CROATIAN] Windows Azure Mobile Services
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

[CROATIAN] Windows Azure Mobile Services

1,725

Published on

Presentation about Windows Azure Mobile Services I held on Mobility Day 2013 conference. …

Presentation about Windows Azure Mobile Services I held on Mobility Day 2013 conference.
Note: Content is on Croatian language.

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
1,725
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Zagreb, 26. rujna 2013. Hotel Antunović
  • 2. Zagreb, 26. rujna 2013. Windows Azure Mobile Services Bruno Kovačić
  • 3. Zagreb, 26. rujna 2013. Hotel Antunović Hvala partnerima i sponzorima! Generalni sponzori Generalni medijski sponzor Glavni sponzori Partneri Medijski partneri Akademski partner On-line partner
  • 4. Uobičajena mobilna aplikacija  Pohrana podataka u cloud  Autentikacija  Backend – API  Scheduled jobs  Push notifikacije
  • 5. Azure Mobile Services  Backend za mobilne aplikacije  Minimalno koda  Jednostavno za održavanje  Skalabilan  Jeftin  Robustan
  • 6. Azure Mobile Services  Data  API  Scheduler  Identity  Notifications  Scale  Logs  Security
  • 7. Data  Mobile Services Table  Apstrakcija nad Azure SQL Database  Podržane CRUD operacije  Dynamic schema
  • 8. demo Mobile Services intro
  • 9. Server side scripts  Dodatna kontrola nad CRUD operacijama  Node.JS  Moguće:  Pristupiti tablicama  Pristupiti bazi  Pristupiti ostalim Azure servisima (Storage…)
  • 10. Server side scripts - primjer function update(item, user, request) { if ( !item.IsLocked ) request.execute(); }
  • 11. CRUD metode - argumenti  User  Request  Item (Insert i Update)  Id (Delete)  Query (Read)
  • 12. Pristup podacima - Table var todoTable = tables.getTable('TodoTable'); todoTable.where({ userId: user.userId, title: ‘TODO title' }).read({ success: function(results) { if (results.length > 0) { //... } } });
  • 13. Pristup podacima - SQL var sql = "SELECT id FROM permissions WHERE userId = ?"; mssql.query(sql, [user.userId], { success: function(results) { if (results.length > 0) { // … } } });
  • 14. Pristup podacima – SQL II mssql.open({ success: function(connection) { connection.query( //query to execute); } });  queryRaw()
  • 15. demo Server side scripts
  • 16. Ne sviđa vam se editor?  Visual Studio + Azure command-line tools
  • 17. Mobile services custom API  Mogućnost kreiranja dodatnih API-a za business logiku  https://<service_name>.azure-mobile.net/api/<api_name> exports.post = function(request, response) { var tables = request.service.tables; var user = request.service.user; response.send(statusCodes.OK, { message : 'Hello World!' }); }; var result = await App.MobileService .InvokeApiAsync<RetClass>("myApi", System.Net.Http.HttpMethod.Post, null);
  • 18. Kako rade push notifikacije
  • 19. Push notifikacije
  • 20. demo Push notifikacije
  • 21. Notification hub  Broadcasting poruka  Zasebni Azure servis
  • 22. Autentikacija Authentication Authorization Userstore Management UI Forget password? Customer support Dataprotection Integration withTwitter Usermapping Synchronization Integration With Facebook More Usermapping Facebook AuthAPI More Synchronization
  • 23. Auth*
  • 24. demo Auth*
  • 25. Scheduler  Server side skripta  Izvršavanje  On demand  Intervalno  Primjeri  Arhiviranje starih podataka  Dohvaćanje podataka s 3rd party servisa  Resize slika
  • 26. Diagnostics, Logging, Scale  Diagnostics  API calls  Active devices  Data out  Logging  console.error()  console.log()  console.warn()  Scale  Broj front-end instanci  Veličina baze
  • 27. demo Scheduler, Log
  • 28. Source control  Lokalni razvoj + Azure command-line tools  Integrirani GIT
  • 29. pitanja
  • 30. ankete
  • 31. Hvala

×