Windows phone development
-
Upload
valdis-iljuconoks -
Category
Technology
-
view
331 -
download
0
description
Transcript of Windows phone development
Windows Phone DevelopmentOverview
Valdis Iljuconoks
Lead Technologist, Geta LatviaSoftware Architect
Member of Latvian Microsoft .Net User GroupMicrosoft MVP (C#), ECD
http://dotnet.lv/blogs/[email protected]
http://bit.ly/atmfinder
Agenda
• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources
Agenda
• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources
Lifecycle
• Type of application• Design and implementation• Resource management• Remote services
Type of application
• XNA or Silverlight?• User interface design• User input and controls• Styling
Design and implementation
• Design patterns• Storage• Phone capabilities• Deactivation and tombstoning• Connectivity• Components and frameworks
Resource management
• Memory• Graphics• Battery• Performance
Remote Services
• Data formats• Security• Push notifications• Data sync• Cloud integration
Lifecycle
• Type of application• Design and implementation• Resource management• Remote services
Agenda
• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources
Phone Interface
• Application frame, page and content area• Navigation services• Panorama• Pivot• Application bar• Launcher• Chooser• Context menu• Reminder• Toast notification• Live tiles
http://sdrv.ms/wpcheatsheet
Agenda
• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources
Phone Capabilities• Accelerometer• Camera and Photos• Contacts and Messaging• Device information• Location services and mapping• Media• Push notifications• Search• Sound recording• Sound playback• Touch and Gestures• Vibration Alerts• Local isolated storage• Local database• Web Browser• Windows Marketplace
Agenda
• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources
Application architecture
• MVVM (Model-View-ViewModel)
Model
• Domain object models (POCOs)• Base data structure classes• Data containers, DTOs• Service contracts
View
• Silverlight page, XNA frame• SL binding, behaviors and converters
ViewModel
• Supporting classes to connect Model with View
• DataContext of the view
demo
http://bit.ly/wp7skinswitcher
Project structure
• Base library(-ies)• Models (+ repositories and service
façades)• Views (~ View models)• Portable libraries• Unit tests
Agenda
• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources
Development Resources
• Prism (MVVM platform)• Silverlight for WP Toolkit• Ninject (dependency injection)• Parallel Task Library for WP• Reactive Extensions (Rx)• Moq (unit testing framework)
Agenda
• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources
Paldies!
Valdis Iljuconoks
Lead Technologist, Geta LatviaSoftware Architect
Member of Latvian Microsoft .Net User GroupMicrosoft MVP (C#), ECD
http://dotnet.lv/blogs/[email protected]