Sofia Event Center
Download
1 / 20

Sofia Event Center 14-15 May 2014 - PowerPoint PPT Presentation


  • 94 Views
  • Uploaded on

Sofia Event Center 14-15 May 2014. Build Connected Services. Dejan Dimitrovski, @ ddejan Technology Development Manager, Nextsense. About me. Dejan Dimitrovski New Technology addict Passionate hiker and runner email: [email protected] twitter: @ ddejan. The best apps are….

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Sofia Event Center 14-15 May 2014' - dawn


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

Sofia Event Center

14-15 May 2014

Build Connected Services

Dejan Dimitrovski, @ddejan

Technology Development Manager, Nextsense


About me

Dejan Dimitrovski

New Technology addict

Passionate hiker and runner

email: [email protected]

twitter: @ddejan



Connected apps challenges

  • Directory services?

  • Develop their own user database?

  • ODBC/JDBC?

  • Spring/ADO.NET?

  • REST/JSON?

  • SOAP/Webservice?

  • Custom serialization?

2. authentication and authorization

User Interface(HTML5/Native)

Data storage

Business logic

1. query, update

3. data access

5. async notification

4. processing logic

  • .NET/J2EE?

  • PHP/Python?

  • iOS

  • Android

  • Windows phone


Azure Mobile Service

Store data in the cloud

Windows Store

iOS

Android

Windows Phone 8

iOS

Android

HTML 5/JS

SQL

Table Storage

Blob Storage

Mongo DB

Scripts:

Table

Scheduled

Custom API

User authentication

Active Directory

Facebook

Microsoft

SDKs

Twitter

Google

Push notifications

REST API

Source control

Notification Hubs

WNS and MPNS

APNS

GCM


Getting Started

Building a backend in a minute


Data storage

Data

Node.JS Scripts

  • Powered by SQL Database

  • Same DB – Multiple Mobile Services

  • Data management in

    • Windows Azure Portal

    • SQL Portal

    • SQL Management Studio

    • REST API

Read script

Delete script

Insert script

Update script

REST over HTTP

Client

JSON Object{ firstName=“…”, lastName=“…” }


Server Logic

  • Automatic service REST API generated for storage

  • Dynamic Schema on/off

  • Ability to author server logic that intercepts CRUD operation pipeline

  • Rich querying capability

  • Node.js scripts

  • Intercept CRUD requests to tables

  • Fully customizable logic flow


Node modules

request

push.*

sendgrid

console

mssql

pusher

statusCodes

azure

twilio


Authentication & authorization

Authentication

  • Table level permissions for each CRUD operation

    • Everyone

    • Anyone with the Application Key

    • Only Authenticated Users

    • Only Scripts and Admins

  • 400 / Unauthorized response if a call doesn’t pass

  • More granular control with server side scripts

    • user.level: {admin, authenticated, anonymous}

    • user.userId: id or undefined if not authenticated


Authentication and server logic

Define who and how is using our app


Push notification

Notifications

WNS

MPNS

APNS

GCM

iOS

Windows 8

WindowsPhone 8

Android


Custom API, Schedules

Scripts & Svcs

Custom API Scripts

Get script

Post script

Put script

Patch script

Delete script


Push notification and Custom API

Add some logic behind the tables


Monitoring

Monitoring


Logging

Monitoring


.NET Support

  • Currently in preview

  • WebApi based service

.NET Support


Wrap up

  • Easy to setup and use

  • Backend as a service

    • Cloud based

    • Scalable

    • Manageable

  • Ready to use on different platforms

    • Android, iOS, Xamarine, Windows 8, Windows Phone, HTML/JavaScript, PhoneGap

  • More @ http://azure.microsoft.com/en-us/develop/mobile/


Time for Q&A and discussion

…if there is enough time


Questions???

Share your feedback for this particular session

and for the overall conference experience at

http://aka.ms/intouch

for a chance to win our prizes!


ad