Windows and Windows Phone Application Model Universal Apps What’s new in Windows Phone 8.1 3.
Windows Phone 7 in Blend and Code
Transcript of Windows Phone 7 in Blend and Code
![Page 1: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/1.jpg)
Windows Phone 7 in Blend and code Andreas Hammar & Håkan Reis – Jayway AB
![Page 2: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/2.jpg)
apps
![Page 3: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/3.jpg)
overview
![Page 4: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/4.jpg)
![Page 5: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/5.jpg)
the app & platform
![Page 6: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/6.jpg)
model-view-viewmodel
• Inbyggt
• MvvmLight
• CaliburnMicro
• UltraLightMvvm
![Page 7: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/7.jpg)
Building
![Page 8: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/8.jpg)
building an app
![Page 9: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/9.jpg)
the sketch
![Page 10: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/10.jpg)
sketching
![Page 11: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/11.jpg)
![Page 12: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/12.jpg)
viewmodel
![Page 13: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/13.jpg)
coding the viewmodel
![Page 14: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/14.jpg)
the view
![Page 15: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/15.jpg)
creating a view
![Page 16: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/16.jpg)
metro
http://www.jeff.wilcox.name/2011/03/metro-design-guide-v1/
![Page 17: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/17.jpg)
hooking up the backend
![Page 18: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/18.jpg)
backend
![Page 19: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/19.jpg)
![Page 20: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/20.jpg)
getting up to speed
![Page 21: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/21.jpg)
xml data contract binary
tim
e
device
emulator
serialization
![Page 22: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/22.jpg)
perceived performance
• LowProfileImageLoader
• DeferredLoadContentControl
• LazyListBox
![Page 23: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/23.jpg)
performance counters
https://blogs.msdn.com/b/ptorr/archive/2010/10/30/that-memory-thing-i-promised-you.aspx
![Page 24: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/24.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/25.jpg)
homework
design perfomance
![Page 26: Windows Phone 7 in Blend and Code](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/26.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060110/5560b482d8b42af93b8b4917/html5/thumbnails/27.jpg)
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.