architecting
play

Architecting & Developing for Windows Phone Philipp Bauknecht - PowerPoint PPT Presentation

Architecting & Developing for Windows Phone Philipp Bauknecht CEO & Software Architect medialesson GmbH Session Outline WP7 Basics Design Patterns Unit T ests Application Lifecycle Localization Coming up:


  1. Architecting & Developing for Windows Phone Philipp Bauknecht CEO & Software Architect medialesson GmbH

  2. Session Outline WP7 Basics • Design Patterns • Unit T ests • Application Lifecycle • Localization • Coming up: Mango! •

  3. WP7 Basics

  4. Hardware Foundation Capacitive touch 4 or more contact points Sensors A-GPS, Accelerometer, Compass, Light, Proximity, Gyro Camera 5 mega pixels or more Multimedia Common detailed specs, Codec acceleration Memory 256MB RAM or more, 8GB Flash or more GPU DirectX 9 acceleration CPU Qualcomm MSM7x30 , MSM8x55 800Mhz or higher Hardware buttons | Back, Start, Search

  5. Development Platforms Apps • Silverlight 3.x • XAML UI Framework • .NET • Metro Design • Rapid Application Development Games • Performance for 2D & 3D games • Mature technology for PC & XBOX 360

  6. Design Patterns

  7. Why use design patterns?  Separation of concerns  Colaboration  Blendability  Lookless view logic  No duplicated code to update views  T estability

  8. MVVM – Model View ViewModel  It „ s just pattern!  Build into Silverlight & WPF  Can be extended with frameworks & helpers

  9. MVVM pattern Model View DataBinding ViewModel

  10. MVVM communication View DataBinding Commands Messages ViewModel Model

  11. MVVM communication View View Messages ViewModel ViewModel View Messages + callback ViewModel

  12. MVVM commands  “ Point of entry ” for a method  Can be data bound  ICommand interface  Execute method  CanExecute method  CanExecuteChanged event

  13. MVVM messaging  Communication between ViewModels and Views  loose coupling  Should be simple by default  Possible to open filtered channels  To a target Type (or an Interface)  With a Token

  14. Demo

  15. Unit T ests

  16. Demo

  17. Application Lifecycle

  18. Application Lifecycle - T ombstoning Back Button Closing Event User launches your appliation Running or Launching Launcher, Event chooser, start Deactivated button or lock Event screen User completes the launcher/ Activated chooser or Event presses the back button

  19. Demo

  20. Localization

  21. Demo

  22. Coming up: Mango!

  23. New Features

  24. XNA Silverlight Integration Complete the push notification Multitasking and Tile experience Marketplace Services Sockets Integration with the phone Performance Database Access Enhanced Phone Framework Image by bangdoll@flickr

  25. Multitasking Themes  Fast Application Resume  Ability to resume applications that the user has recently used  Apps stay in memory unless memory is needed for other apps  *Every* app should do this  Background Agents  Ability to run your code in the background  Audio, Timed or on Idle  Notifications  Ability to create alarms and reminders  UX and behavior is the same as the phone Alarms and Calendar items  Background Transfer Service  Application can queue up transfers in the background

  26. Integrating with the Phone Launchers Camera Sensors Data Controls Networking & Choosers Frame and GPS Bing Maps Page SQL CE Navigation Access to Sockets improvements the pipeline Accelerometer E-mail Phone Compass Performance Contacts Phone No need to Number capture the Connection Gyro image to Manager Open Phone flash control Source Address Spatial Calendar on CodePlex Chooser Framework

  27. Expanding the Phone Framework Push Tiles Phone Extras Notifications Signature user experience for Search Windows Phone Deep Toast Complete Music Framework More control over notifications Multiple Tiles Photos

  28. Silverlight Investments Performance International Silverlight 4 Memory RichTextBox Reading/Writing Management of all Mango Languages Input on Render Implicit Styles Thread Big deal if you are writing an app for Profiler Asia Clipboard API Instrumentation

  29. Better T ooling

  30. T ools Investments Tools Emulator .NET New Template Sensors and Location Performance for Multitasking in Emulator Generational GC Debugging Multi Touch in Background Agents Emulator Serialization Isolated Storage Screen shot Explorer SIMD – Vector Profiler Ingestion Tool Profiler

  31. Greater Reach

  32. Creation & Commerce Now supporting 16 more languages Γεια σου 世界您好 Moi maailma κόσμε Всем ハローワー Hej v ä rlden привет ルド Ol á mundo Hell ó vil á g Hallo mensen Cze ść ludzie Hallo, verden Hej verden 전 세계 Ahoj sv ě te 여러분 안녕하세요

  33. Creation & Commerce More countries for app creation…from 30 to 38 More countries for app creation…from 30

  34. Creation & Commerce More countries for app commerce…from 16 More countries for app commerce…from 16 to 35

  35. Q&A

  36. Let „ s stay in touch! • bauknecht@medialesson.de • @grillphil • facebook.com/philipp.bauknecht • de.linkedin.com/in/philippbauknecht

Recommend


More recommend