This session compares and contrasts Windows 8 and Windows Phone 8 with a focus on understanding how developers can maximize code reuse when building for both platforms ("code sharing"). This Windows 8 Jump Start training targets developers with some experience developing for the Windows Phone and want to develop apps for both Windows Phone 8 and Windows 8. Through engaging demos, Ben dives into guidance, best practices, patterns and techniques that will help developers deliver apps for both Windows 8 and Windows Phone 8 with maximum code reuse.
Instructors | Introducing Ben Riga, a Senior Technical Evangelist for Windows 8 at Microsoft's who is passionate about sharing the compelling technical and business value of the Windows platform and how partners benefit when publishing apps to the Windows store.
Associated Exam(s) | Exam 70-599: Pro: Designing and Developing Windows Phone ApplicationsAssociated Course(s) | Course 10553A: Fundamentals of XAML and Microsoft Expression Blend
Windows 8 and Windows are not the same platform. This module will cover how they are different by going over the UI and XAML, Platform specific features and reviewing the data model and supporting code.
This session will go over Data binding basics and look further into Dependency object and property. It will review properties for binding specifically INotifyPropertyChanged and INotifyCollectionChanged, and include business logic to respond to user actions in the view.
This module introduces the user to MVVM (Model-View-ViewModel), the architecture and the Pros and cons. It will provide an overview for how to share code using MVVM, .NET portable class library as well as going over best practices and providing a wealth of resource information.
Ben creates live demos to show examples of how to maximize code reuse. This final segment will include an overview of reuse techniques such as portable library, shared source code, inheritance, conditional compilation, partial classes and methods.