Top Banner
Windows Phone 7 in Blend and code Andreas Hammar & Håkan Reis – Jayway AB
27
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Windows Phone 7 in Blend and Code

Windows Phone 7 in Blend and code Andreas Hammar & Håkan Reis – Jayway AB

Page 2: Windows Phone 7 in Blend and Code

apps

Page 3: Windows Phone 7 in Blend and Code

overview

Page 4: Windows Phone 7 in Blend and Code
Page 5: Windows Phone 7 in Blend and Code

the app & platform

Page 6: Windows Phone 7 in Blend and Code

model-view-viewmodel

• Inbyggt

• MvvmLight

• CaliburnMicro

• UltraLightMvvm

Page 7: Windows Phone 7 in Blend and Code

Building

Page 8: Windows Phone 7 in Blend and Code

building an app

Page 9: Windows Phone 7 in Blend and Code

the sketch

Page 10: Windows Phone 7 in Blend and Code

sketching

Page 11: Windows Phone 7 in Blend and Code
Page 12: Windows Phone 7 in Blend and Code

viewmodel

Page 13: Windows Phone 7 in Blend and Code

coding the viewmodel

Page 14: Windows Phone 7 in Blend and Code

the view

Page 15: Windows Phone 7 in Blend and Code

creating a view

Page 17: Windows Phone 7 in Blend and Code

hooking up the backend

Page 18: Windows Phone 7 in Blend and Code

backend

Page 19: Windows Phone 7 in Blend and Code
Page 20: Windows Phone 7 in Blend and Code

getting up to speed

Page 21: Windows Phone 7 in Blend and Code

xml data contract binary

tim

e

device

emulator

serialization

Page 22: Windows Phone 7 in Blend and Code

perceived performance

• LowProfileImageLoader

• DeferredLoadContentControl

• LazyListBox

Page 24: Windows Phone 7 in Blend and Code

bag-of-tricks • Transitions - slow

• Jpg/png – jpg faster

• Gif – not out-of-the-box

• Dll splitting – faster load time

• Content/resource – prefer

content

• Startup – do heavy lifting later

• Alternating templates – not

lists in lists

• Serializers – prefer binary

• ContentControl eller

ListBox – välj ListBox

• Scroll in grid, why not

stackpanel?

• Opacity vs

Visibility.Collapsed

Page 25: Windows Phone 7 in Blend and Code

homework

design perfomance

Page 26: Windows Phone 7 in Blend and Code

resources • MSDN – Designing applications for Windows Phone 7 – ch2

• http://msdn.microsoft.com/en-us/library/gg490770.aspx

• MSDN – Performance considerations

• http://msdn.microsoft.com/en-us/library/ff967560(v=VS.92).aspx

• Jaime Rodriguez – Silverlight Firestarter 2010

• http://blogs.msdn.com/b/jaimer/archive/2010/12/02/windows-phone-application-performance-at-silverlight-firestarter.aspx

Mobile manifesto

Page 27: Windows Phone 7 in Blend and Code

Betygsätt sessionen Dina synpunkter är mycket värdefulla för oss. Ge ditt omdöme på den session som du just har deltagit i. Välj sessionen i mobilappen Event Board* eller på webben, techdays.se, och sätt ditt betyg. Your feedback is very valuable to us. Therefore, we are very grateful that you take a minute to rate the session that you have just attended. Tack! - Thank You!

* Event Board är en mobil applikation för evenemang och möten som bland annat erbjuder dig möjligheten att betygsätta de sessioner du besöker direkt i din mobil.