Presentation is loading. Please wait.

Presentation is loading. Please wait.

WINDOWS PHONE 7.5 “MANGO” ADVANCED Laurent Bugnion Director of UX Integration IdentityMine

Similar presentations


Presentation on theme: "WINDOWS PHONE 7.5 “MANGO” ADVANCED Laurent Bugnion Director of UX Integration IdentityMine"— Presentation transcript:

1 WINDOWS PHONE 7.5 “MANGO” ADVANCED Laurent Bugnion Director of UX Integration IdentityMine http://blog.galasoft.ch

2 Page: IDENTITYMINE © 2011 IdentityMine Inc. All Rights Reserved.2 http://www.identitymine.com WP7

3 Page: TODAY WE WILL © 2011 IdentityMine Inc. All Rights Reserved.3 Talk about MVVM Walk through an MVVM app Add persistence with a database Download large files “in the background” Add and modify Live tiles

4 Page: THE MVC PATTERN © 2011 IdentityMine Inc. All Rights Reserved.4 ModelView Controller

5 Page: THE PASSIVE VIEW PATTERN © 2011 IdentityMine Inc. All Rights Reserved.5 ModelView Controller

6 Page: © 2011 IdentityMine Inc. All Rights Reserved.6 THE PRESENTATION MODEL PATTERN ModelView Presentation Model (ViewModel) DataBinding MVVM

7 Page: MORE INFO ABOUT MVVM © 2011 IdentityMine Inc. All Rights Reserved.7 http://www.galasoft.ch/mvvmvideo1 “Understanding the MVVM pattern” http://www.galasoft.ch/mvvmvideo1 http://www.galasoft.ch/mvvmvideo2 “Deep Dive MVVM” http://www.galasoft.ch/mvvmvideo2 http://blog.galasoft.ch

8 Page: MVVM LIGHT TOOLKIT © 2011 IdentityMine Inc. All Rights Reserved.8 http://www.galasoft.ch/mvvm http://mvvmlight.codeplex.com Keep it small Keep it simple

9 DEMO © 2011 IdentityMine Inc. All Rights Reserved. 9Page: MVVM Walkthrough

10 Page: SQL CE FOR WP7.5 © 2011 IdentityMine Inc. All Rights Reserved.10 SQL CE (SDF) file in isolated storage No additional DLL needed LINQ to SQL as ORM Code first approach preferred Embedding SDF file also possible

11 Page: EMBEDDING SDF © 2011 IdentityMine Inc. All Rights Reserved.11 Create SDF file on PC Create entity classes with SQLMETAL Embed SDF in XAP file – Read-only access granted For read-write access, move the DB to isolated storage http://msdn.microsoft.com/en- us/library/hh286411(v=VS.92).aspx http://msdn.microsoft.com/en- us/library/hh286411(v=VS.92).aspx

12 DEMO © 2011 IdentityMine Inc. All Rights Reserved. 12Page: Adding DB persistence

13 Page: BACKGROUND TRANSFER © 2011 IdentityMine Inc. All Rights Reserved.13 Optimized multitasking – Alarms / Reminders – Periodic tasks – Background audio – Background transfer Download location must be within /shared/transfers (in isolated storage) – Can be moved after download completes

14 Page: BACKGROUND TRANSFER © 2011 IdentityMine Inc. All Rights Reserved.14 Some restrictions –GET/POST only –Maximum upload 5MB –Maximum download over cellular: 20MB –Maximum download on battery: 100MB – Maximum 5 queued requests per app – Maximum 2 concurrent transfers per device – Maximum 500 queued requests per device

15 DEMO © 2011 IdentityMine Inc. All Rights Reserved. 15Page: Background Transfer

16 DEMO © 2011 IdentityMine Inc. All Rights Reserved. 16Page: Adding and updating a Live Tile

17 FURTHER INFORMATION http://blog.galasoft.ch http://www.galasoft.ch/mvvm http://www.identitymine.com @LBugnion

18 THANKS!


Download ppt "WINDOWS PHONE 7.5 “MANGO” ADVANCED Laurent Bugnion Director of UX Integration IdentityMine"

Similar presentations


Ads by Google