WP7 Architecture overview

5,170 views

Published on

WP7 Architecture overview presented at Mobile Monday Bangalore March 2011 event.

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
  • wow.. its wonderfull !!!!!!!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
5,170
On SlideShare
0
From Embeds
0
Number of Embeds
603
Actions
Shares
0
Downloads
145
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

WP7 Architecture overview

  1. 1. WP7 Architecture overview<br />Gowtham Prasad K N<br />Amar Nityananda<br />Developer Evangelist<br />Partner Technical Consultant<br />
  2. 2. Agenda<br />WP7 Architecture overview + Tools and IDE's for WP7 <br />Strategy & Philosophy<br />Application Platform + Framework & Tools<br />Architecture at glance<br />Q & A<br />Hands-On: Building LBS App on WP7 <br />
  3. 3. DESIGN: END USER COMES FIRST<br />PLATFORM: RICHER, DEEPER, EASIER APPS<br />HARDWARE:<br />FASTER TO MARKET, LESS HEAVY LIFTING<br />Changing our GameA new approach with WP7<br />
  4. 4. SMART DESIGN<br />INTEGRATED EXPERIENCES<br />
  5. 5.
  6. 6. Integrated Experiences<br />
  7. 7.
  8. 8.
  9. 9. DEMO<br />
  10. 10. APPLICATIONPLATFORM<br />
  11. 11. Platform goals<br />End User Customization<br />Cloud enablement<br />Developer profit<br />A wide variety of thousands of compelling apps and games<br />One stack of frameworks that can be leveraged across multiple devices, tied via cloud<br />Financial and otherwise<br />
  12. 12. Platform components<br />Code that executes on the client<br />Tools used locally<br />Client<br />Code that executes in the cloud<br />Tools in the cloud<br />Server<br />
  13. 13. Platform components<br />Runtime<br />Tools<br />Client<br />Phone Emulator<br />Sensors<br />Media<br />Data<br />Location<br />Samples<br />Documentation<br />Xbox LIVE<br />Notifications<br />Phone<br />Guides<br />Community<br />.NET Framework managed code sandbox<br />Packaging and Verification Tools<br />Cloud<br />Portal<br />Notifications<br />App Deployment<br />Registration<br />Marketplace<br />Validation<br />MO and CC Billing<br />Location<br />Identity<br />Feeds<br />Server<br />Certification<br />Business Intelligence<br />Maps<br />Social<br />Publishing<br />Update Management<br />
  14. 14. Client runtime & frameworks<br />
  15. 15. Silverlight<br />Modern application UI framework & runtime<br />Rapid creation of visually stunning apps<br />METRO themed UI controls, defined in XAML<br />XAML, C#, HTML & JavaScript<br />500,000 developers spanning Windows and Web<br />Rich media support<br />
  16. 16. XNA Framework<br />High performance game framework<br />Rapid creation of multiscreen 2D and 3D games<br />Rich content pipeline<br />Traditional update/draw/present frame loop model<br />
  17. 17. Common capabilities<br />Input<br />Touch<br />Hardware buttons<br />Media<br />Digital media capture & playback<br />Media library access<br />Data<br />Isolated storage<br />LINQ (Objects & XML)<br />Windows Communication Foundation<br />SOAP & REST services<br />Phone access<br />Sensors<br />Launchers & choosers<br />Cloud services<br />Notifications<br />Location & mapping<br />Xbox LIVE<br />
  18. 18. WP7 Architecture<br />
  19. 19. Cloud Integration Services<br />App Model<br />UI Model<br />Software Architecture<br />Hardware Foundation<br />WP7 Architecture snapshot<br />
  20. 20. Consistent hardware foundation<br />Capacitive Touch<br />4 or more touch points<br />800 QVGA<br />480 HVGA<br />Sensors<br />A-GPS, Accelerometer, Compass, Light Proximity<br />Camera<br />5 Megapixels or more<br />Multimedia<br />Commonly detailed specs, hardware accelerated CODECs<br />GPU<br />DirectX 9 Hardware Accelerated<br />CPU<br />ARM v7, Cortex/Scorpion required<br />480 QVGA<br />320 HVGA<br />
  21. 21. Cloud Integration Services<br />App Model<br />UI Model<br />Software Architecture<br />Hardware Foundation<br />
  22. 22. Applications<br />Your App UI and logic<br />Frameworks<br />Silverlight<br />XNA<br />HTML/JavaScript<br />CLR<br />App Model<br />UI Model<br />Cloud Integration<br />Xbox LIVE<br />Bing<br />Location<br />Push notifications<br />Windows Live ID<br />App management<br />Licensing<br />Chamber isolation<br />Software updates<br />Shell frame <br />Session manager<br />Direct3D<br />Compositor<br />Kernel<br />Hardware BSP<br />Security<br />Networking<br />Storage<br />A-GPS Accelerometer Compass Light Proximity<br />Media Wi-Fi Radio Graphics<br />Hardware Foundation<br />Software Architecture<br />
  23. 23. Windows Phone 7 SeriesFrameworks Details<br />Windows Phone Frameworks<br />Camera<br />Device Integration<br />Launchers & Choosers<br />Windows Phone Controls<br />PhoneApplicationPage<br />PushNotification<br />WebBrowserControl<br />Sensors<br />PhoneApplicationFrame<br />Silverlight Presentation and Media<br />XNA Frameworks for Games<br />Controls<br />Drawing<br />IsolatedStorage<br />Drawing<br />GamerServices<br />Navigation<br />Shapes<br />Markup<br />Media<br />Audio<br />Media<br />Graphics<br />Content<br />Input<br />Application Object<br />Common Base Class Library<br />Diagnostics<br />Reflection<br />IO<br />Runtime<br />Resources<br />Globalization<br />Text<br />Location<br />Net<br />Collections<br />ComponentModel<br />Configuration<br />Security<br />Threading<br />ServiceModel<br />Linq<br />
  24. 24. Cloud Integration Services<br />App Model<br />UI Model<br />Software Architecture<br />Hardware Foundation<br />
  25. 25. App Model: Concepts<br />Application<br />Uniquely identifiable, licensable and serviceable software product packaged as a XAP<br />Application Deployment<br />Steps include Ingestion, Certification and Signing<br />Windows Phone Marketplace<br />Windows Phone Marketplace<br />Application license<br />Crypto-verifiable object issued to grant rights to an application<br />
  26. 26. App Development & Testing<br />Tools<br />Phone Emulator<br />Windows Phone<br />Emulator<br />Samples<br />Documentation<br />Packaging & Verification Tools<br />Guides<br />Community<br />Windows Phone device<br />Packaging and Verification Tools<br />myapp.xap<br />
  27. 27. App & game deployment<br />Develop <br />& Debug<br />Submit& Validate<br />Certify<br /> & Sign<br />Windows Phone Application Deployment Service<br />Marketplace<br />
  28. 28. App Lifecycle<br />+<br />Phone only installs .xap packages signed by marketplace<br />Windows Phone Marketplace<br />Phone handles all aspects of .xap installation based on the manifest<br /><ul><li>Individual apps cannot make arbitrary changes to the phone during installation</li></ul>Users control install, update and uninstall, while the marketplace controls revocation<br /><ul><li>Individual apps do not control their own lifecycle on the phone</li></li></ul><li>Philosophy: 3 Screens and Cloud<br />Cloud<br />Windows Desktop<br />Xbox<br />Windows Phone<br />XNA Frameworks<br />XNA Frameworks<br />XNA Frameworks<br />Location Service<br />Silverlight Presentation and Media<br />Silverlight Presentation and Media<br />Windows Phone 7 Series Frameworks<br />Notification Service<br /> Common Base Class Library<br />
  29. 29. DEMO<br />Basic Application Development<br />
  30. 30. Cloud Integration Services<br />App Model<br />UI Model<br />Software Architecture<br />Hardware Foundation<br />
  31. 31. Application<br />UI and logic for functionality exposed through pages<br />UI Model: Concepts<br />Page<br />A single screen of user interaction elements<br />Session<br />An ordered workflow of user interactions spanning applications<br />
  32. 32. Pictures<br />Take a look at recent photos<br />People<br />Look up the status for a contact<br />Active sessions<br />Pictures<br />Continue looking at recent photos<br />UI Navigation: Example<br />
  33. 33. Page UI<br />Describes the visual appearance of a page<br />Retained in shell frame to support resuming paused sessions<br />Discarded while the session is paused<br />UI and State Management: Concepts<br />Page State<br />Contains data that describes an instance of a page, analogous to browser cookie<br />
  34. 34. UI and State Management: Example<br />Running Applications<br />Dehydrated and rehydrated on demand from saved state<br />Apps restarted and UI rehydrated as the user navigates thru the phone<br />Shell Frame<br />Monitors resource usage to decide when to pause sessions<br />
  35. 35. Graphics Composition<br />Start Experience<br />System Tray<br />Direct3D Surface<br />AppPage<br />Notification<br />Volume<br />SIP<br />Incoming Call<br />App Bar<br />Shell frame composes all UI into a single screen<br />Central page management enables cross app UI transitions and other effects<br />
  36. 36. DEMO<br />Navigation + Tombstoning<br />
  37. 37. Cloud Integration Services<br />App Model<br />UI Model<br />Software Architecture<br />Hardware Foundation<br />
  38. 38. Cloud services<br />Your web service<br />Custom web service<br />App<br />Existing web service<br />Frameworks<br />Microsoft web services<br />Cloud client services<br />Push<br />Locate<br />
  39. 39. Location & maps<br />Radio<br />A-GPS<br />Wi-Fi<br />App<br />Frameworks<br />Location client service<br />
  40. 40. Push Notification Service<br />Windows Phone<br />Your Web Service<br />Custom Web Service<br />Existing Web Services<br />Notification Service<br />Microsoft Services<br />Microsoft.Phone.Notification<br />Push client service<br />Built-in support for efficient, battery-aware mobile push notifications<br />Managed APIs for notification-driven interaction with existing Web 2.0 sites<br />
  41. 41. Push notification service<br />14<br />Tile Notification<br />Raw Notification<br />Toast notification<br />New photos online!<br />Seattle, WA: Sunny and 85 degrees<br />
  42. 42. Windows Phone<br />Game specific web requests<br />Authenticated Xbox LIVE calls<br />XBOX Live<br />Your Web Service<br />Custom Web Service<br />Microsoft Services<br />XNA<br />Game Foundation<br />Gamer Services APIs for Xbox LIVE Profiles, Achievements, and Leaderboards<br />Game Foundation handles auth, caching, & partial connectivity for Xbox LIVE<br />Third party token allows secure integration with game-specific services<br />
  43. 43. Call to Action<br />Get started!! <br />Download the tools! <br />Read and understand the design guidelines<br />Start developing Apps!<br />Resources:<br />http://create.msdn.com/en-US/<br />Team blog: http://windowsteamblog.com/blog/wpdev<br />
  44. 44. A differentkind of phone<br />Designed for life in motion<br />So you can build integrated experiences& profit from it<br />
  45. 45. Q & A<br />

×