SlideShare a Scribd company logo
1 of 40
Windows 8.1
Äpipäev
Priidu Paomets
Tarkvara arhitekt
MARKUS Software
Windows Azure Mobile Services
kui salarelv
Tüüpilised nõuded äppidele
 Peab toetama kõiki enamlevinud platvorme
 Andmeid tuleb hoida serveris ja sealt
seadmetele sünkroniseerida

 Kliente tuleb autentida (Facebook,
Twitter,…)

 Seadmetele tuleb saata teavitusi
 Rakendust on vaja nüüd ja kohe
Tüüpilised nõuded äppidele
Kuidas kõik see kiiresti ja minimaalse vaevaga
(lean startup ) tööle saada?
Taustauuring
 Kui paljud on juba mõne mobiiliäpi teinud?
 Kui paljud plaanivad seda teha 6 kuu
jooksul?

 Kui paljudele olid need probleemid
tuttavad?
Taustauuring
 Kui paljud on valmis back-end’i ise tegema?
 Kui paljud on kindlad, et see skaleerub?
 Kui paljud on Windows Azure Mobile
Service’t juba proovinud?
Windows Azure Mobile Services
(WAMS)
Kasutatav pea igalt poolt
Demo

Portaal ja teenuse loomine
Data / Andmetabelid
Data / Andmetabelid
REST põhimõtted

http://mobileservice.azure-mobile.net/tables/*
Action

HTTP Verb

URL Suffix

Create

POST

/TodoItem

Retrieve

GET

/TodoItem?$filter=id%3D42

Update

PATCH

/TodoItem/id

Delete

DELETE

/TodoItem/id
Data / Andmetabelid
 Dünaamiline või fikseeritud andmemudel
 Lihtsad tüübid (String, Number, Date,
Boolean)

 Vajadusel ligipääs SQL serverile ja
tüüpidele

 Õigused iga operatsiooni kohta
 Skriptid iga operatsiooni jaoks
Data Demo

Tabelid ja andmed
Push / Teavitused
Push / Teavitused
 Saab kasutada platvormipõhiseid lahendusi
 Võib kasutada ka Notification Hub varianti
 Võimalik kasutada ka muid teenuseid
(Pusher)
Native push
MPNS/WNS
APNS
GCM

DEVICE

PUSHER

MOBILE SERVICE
MPNS/WNS
APNS
GCM

DEVICE

MOBILE SERVICE

NOTIFICATION HUB

Notification Hub
Push Demo

„Toast“ ja „Raw“ teavitused
Auth
Auth / Autentimine






Microsoft Account (Live)

Facebook
Twitter
Google

Azure Active Directory
Auth Demo

Kasutaja tuvastamine
API
API
 Kasutada saab Node.js skripte
 Saab kasutada Node NPM teeke
 Tulevikus lubatud ka .NET tuge
API
 Toetab HTTP verbe (GET, POST, PUT,
PATCH, DELETE)
http://mobileservice.azure-mobile.net/api/*

 Õigused iga operatsiooni kohta
 Ligipääs muudele andmehoidlatele (Table,
Blobs, Service Bus, Mongo DB, jne)
API Demo
Scheduler
Scheduler
 Serveri poolel tegevuste välja kutsumiseks
 Ligipääs kõigele samamoodi nagu
Custom API puhul

 Algatamine kas käsitsi (vastavalt
vajadusele) või regulaarste intervallide
tagant (1 minut –
3 kuud)
Scheduler
Demo
Skaleerumine
Skaleerumine
 Free – jagatud ressursid ja 20 MB DB
500K API päringut kuus; ei saa skaleerida

 Basic
1.5 M API päringut kuus; 1 - 6 ühikut

 Standard
15M API päringut kuus; 1 - 10 ühikut
Skaleerumine
 Käsitsi skaleerimine
 Automaatne skaleerimine
 Eraldi skaleerimine andmebaasile
Skaleerimise
Demo
Diagnostika ja monitooring
Diagnostika ja monitooring
 Dashboard’i graafik ja kasutatud
ressursside ülevaade






Endpoint’i monitoorimine

Logid
SQL Andmebaasi ja serveri statistika
Lisamonitooring Add-on lahenduste abil
Diagnostika
Demo
Source Control ja Visual Studio
integratsioon
Source Control ja VS tugi
 Git tugi
 Visual Studio Server Explorer
 Projektimenüüdes abistavad käsud
SC ja VS
Demo
Aitäh!

Küsimused?

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Windows 8.1 äpipaev windows azure mobile services kui salarelv