Understanding Write Behaviors of Storage Backends in Ceph ...
Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most...
-
Upload
katherine-hutchinson -
Category
Documents
-
view
218 -
download
2
Transcript of Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most...
Windows 8 applications with Azure
backendsMihai TataranGeneral Manager, AvaelgoMicrosoft Most Valuable Professional
Objectives
• Understand the basic principles to develop a Windows 8 application, with an Windows Azure (Mobile Services) backend
Agenda
• Modern UI applications• HTML5, WinJS, Controls• Windows 8 Platform• Windows Azure introduction• Windows Azure Mobile Services
HTML 5 and Javascript• HTML5• Indexed DB• App Cache• Web Workers• Canvas• SVG• FormData
• CSS3 animations & transitions
• XHR• FileAPI• Web Sockets• Geolocation• PostMessage
Modern UI apps
• Only the HTML5 DOCTYPE• Single window• All the device’s screen• Access to Windows Runtime
Modern UI apps: runtimeC:\Program Files\ Applications\...
HTML
CSS
JavaScript
Resources
Manifest App Container
HTML Host Process
App Code
App p
ack
age
Runnin
g a
pp
WinJS
• The library for Modern UI style apps• Matches the Windows Modern UI design style• Designed for touch as well as traditional input• Scales across form factors
UI Controls• Designed for touch, mouse, keyboard
• Everyday widgets
• Text editing
• Scrolling content
• Presenting data
• Commanding surfaces
Process states
Running Suspendedsuspending
Terminated
Low memory
Core runs
No code runs
No process
resuming
App has 5s to work after suspend
message App is not notified when
terminated
App is notified when resumed
Applaunch
Splash screen Code runs
Suspend state• No CPU, Disk or Network consumed• All threads are suspended• Apps remain in memory• Apps instantly resumed from suspend when brought
to foreground
• Exception: Background tasks
Termination
• System needs more memory• User switch occurs• System shutdown• Apps crash
• Application is not notified
Saving state
• sessionState in WinJS•Windows.Storage.ApplicationData to save application state
Saving / restoring state
Scenario You should….User is using your App Save user data incrementally
App switched away from (Suspending)
Save where the user is – what screen they are on, for example
Not running App launched by user (Activated)
Bring the user back and restore their session as if they never left
Suspended App launched by user (Resuming)
Do nothing
Charms
• Some kind of Start Bar• Ideal manner to use device’s settings• Or any other app specific settings
Share contracts
• Predefined contracts in Metro
Source App Target AppData Package
Demo
• Win 8 Apps
Agenda
• Modern UI applications• HTML5, WinJS, Controls• Windows 8 Platform• Windows Azure introduction• Windows Azure Mobile Services
Windows Azure introduction
• The cloud platform offered by Microsoft• Infrastructure as a Service• Platform as a Service• Run websites and applications in the cloud• Run (backend) web services in the cloud
• Storage: tables, blobs, etc.• SQL Database
What is Windows Azure Mobile Services?
Data
Notifications
Auth
Server Logic
Scale
Logging
Diagnostics
Demo
Upcoming Webinars
• Free Webinar: Java 7 Certification | JDBC & Related Design Pattern• Free Webinar: Transition | Microsoft Office 2003 to Office 2010 | Outlook & Access• Free Webinar: Microsoft Dynamics CRM | A New Way to Work Together• Free Webinar: Windows Server 2012 and Windows 8: Better Together• Free Webinar: Windows Server 2012 Review | Courses & Certifications• Free Webinar: Microsoft Windows 8 Apps (TBD)
• Free Webinar: Developing Apps for SharePoint 101
• Free Webinar: Windows PowerShell for SharePoint 2013 and SharePoint Online
Sign up for free at: www.netcomlearning.com/webinars
www.netcomlearning.com
Complimentary Azure Workshop
Workshop Agenda:• What is Cloud Computing and Why Would You Use It?• Microsoft and the Windows Azure Unique Value Proposition• Drill-Down on Windows Azure• Getting Started with Windows Azure
Windows Azure Architect / Evangelist | Gil Isaacs
If interested, Email us at [email protected]
Microsoft Corporation | New York City
June 19th - Full Day
By Invitation Only | 5 free seats for Webinar Attendees
------ Total of 40 seats ------
www.netcomlearning.com
MCSD Certifications
www.netcomlearning.com
MCSD: Windows Store Apps
www.netcomlearning.com
*Free Second Shot Exam is Back (Expires May 31st, 2013)
MCSD: Windows Store Apps Using C#Classes
MCSD: Windows Store Apps Using HTML5• 20480: Programming in HTML5 with JavaScript and CSS3
• 20481: Essentials of Developing Windows Store Apps using HTML5 and JavaScript
• 20482: Advanced Windows Store Apps Development using HTML5 and JavaScript
MCSD: Web Applications• 20480: Programming in HTML5 with JavaScript and CSS3
• 20486: Developing ASP.NET MVC 4 Web Applications
• 20487: Developing Windows Azure and Web Services
**Schedules are Open for Enrollment**
Locations: Attend in-class or Live Online Instructor-led• New York• Las Vegas (All Inclusive Travel Package)• Arlington VA• Philadelphia, PA
www.netcomlearning.com
Love of Learning
Your class enrollment at NetCom Learning will pay for a child’s education
for a year!
Empowering The Disadvantaged
www.netcomlearning.com
Q & A
1-888-5-NETCOM (563-8266)