Windows phone development

32
Windows Phone Development Overview

description

 

Transcript of Windows phone development

Page 1: Windows phone development

Windows Phone DevelopmentOverview

Page 2: Windows phone development

Valdis Iljuconoks

Lead Technologist, Geta LatviaSoftware Architect

Member of Latvian Microsoft .Net User GroupMicrosoft MVP (C#), ECD

http://dotnet.lv/blogs/[email protected]

Page 3: Windows phone development

http://bit.ly/atmfinder

Page 4: Windows phone development
Page 5: Windows phone development

Agenda

• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources

Page 6: Windows phone development

Agenda

• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources

Page 7: Windows phone development

Lifecycle

• Type of application• Design and implementation• Resource management• Remote services

Page 8: Windows phone development

Type of application

• XNA or Silverlight?• User interface design• User input and controls• Styling

Page 9: Windows phone development

Design and implementation

• Design patterns• Storage• Phone capabilities• Deactivation and tombstoning• Connectivity• Components and frameworks

Page 10: Windows phone development
Page 11: Windows phone development

Resource management

• Memory• Graphics• Battery• Performance

Page 12: Windows phone development

Remote Services

• Data formats• Security• Push notifications• Data sync• Cloud integration

Page 13: Windows phone development

Lifecycle

• Type of application• Design and implementation• Resource management• Remote services

Page 14: Windows phone development

Agenda

• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources

Page 15: Windows phone development

Phone Interface

• Application frame, page and content area• Navigation services• Panorama• Pivot• Application bar• Launcher• Chooser• Context menu• Reminder• Toast notification• Live tiles

Page 16: Windows phone development

http://sdrv.ms/wpcheatsheet

Page 17: Windows phone development

Agenda

• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources

Page 18: Windows phone development

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

Page 19: Windows phone development

Agenda

• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources

Page 20: Windows phone development

Application architecture

• MVVM (Model-View-ViewModel)

Page 21: Windows phone development

Model

• Domain object models (POCOs)• Base data structure classes• Data containers, DTOs• Service contracts

Page 22: Windows phone development

View

• Silverlight page, XNA frame• SL binding, behaviors and converters

Page 23: Windows phone development

ViewModel

• Supporting classes to connect Model with View

• DataContext of the view

Page 24: Windows phone development
Page 25: Windows phone development

demo

Page 26: Windows phone development

http://bit.ly/wp7skinswitcher

Page 27: Windows phone development

Project structure

• Base library(-ies)• Models (+ repositories and service

façades)• Views (~ View models)• Portable libraries• Unit tests

Page 28: Windows phone development

Agenda

• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources

Page 29: Windows phone development

Development Resources

• Prism (MVVM platform)• Silverlight for WP Toolkit• Ninject (dependency injection)• Parallel Task Library for WP• Reactive Extensions (Rx)• Moq (unit testing framework)

Page 30: Windows phone development

Agenda

• App development lifecycle• Phone interface• Phone capabilities• Application architecture• Development resources

Page 31: Windows phone development

Paldies!

Page 32: Windows phone development

Valdis Iljuconoks

Lead Technologist, Geta LatviaSoftware Architect

Member of Latvian Microsoft .Net User GroupMicrosoft MVP (C#), ECD

http://dotnet.lv/blogs/[email protected]