Presentation is loading. Please wait.

Presentation is loading. Please wait.

Developing for Windows 8/WinRT Session 10 Kevin Stumpf Introduction to Interknowlogy’s WinRT MVVM Framework.

Similar presentations


Presentation on theme: "Developing for Windows 8/WinRT Session 10 Kevin Stumpf Introduction to Interknowlogy’s WinRT MVVM Framework."— Presentation transcript:

1 Developing for Windows 8/WinRT Session 10 Kevin Stumpf Introduction to Interknowlogy’s WinRT MVVM Framework

2 Agenda Framework Architecture Sample App Development – Blank App Setup – Navigation – View States – Q&A + Homework Assignment

3 ViewModel Services Interfaces uses implement Analyze implemented interfaces IoC (optional) IoC (optional) provides Adapter Generalizes access IoC View bridge Search Contract Search Contract Share Contract Share Contract Settings Contract Settings Contract Navigation Flow Navigation Service Sharing Service WinRT Framework Developer Legend Mapper View VM Managers (Framework Core) Managers (Framework Core) Navigation Manager Sharing Manager Settings Manager Settings Manager Search Manager WinRTContainer (Framework Entry Point) WinRTContainer (Framework Entry Point) consists of WinRT bridge use YOU instantiate ICareAboutXYZ IRequireXYZ ISupportXYZ

4 Interface Naming Schema ICareAboutXYZ: ViewModel wants to be informed about certain events (e.g. ICareAboutNavigationFlow, ICareAboutSuspendResume) IRequireXYZ: ViewModel requires Feature-Controllers (e.g. IRequireNavigationService, IRequireSharingService) ISupportXYZ: ViewModel supports a feature (e.g. ISupportSearchContract, ISupportSharingSourceContract)

5 Optional simplifying Default Classes DefaultApplication: Takes care of the initialization of the framework and offers several points you can hook into to customize behavior DefaultIoCAdapter: Rudimentary IoC Container DefaultViewViewModelMapper: Rudimentary View ViewModel Mapper DefaultViewModel: Rudimentary ViewModel which implements all Framework Interfaces and allows you to override their functionality

6 Homework Assignment Develop a diary application from scratch yourself which consists of a main entry page, which lists all diary entries, and another page, which allows you to read and modify a selected diary entry

7 Meet Danny May 6 th for our 11 th session! InterKnowlogy’s WinRT MVVM Framework Part II


Download ppt "Developing for Windows 8/WinRT Session 10 Kevin Stumpf Introduction to Interknowlogy’s WinRT MVVM Framework."

Similar presentations


Ads by Google