mNo edit summary |
No edit summary |
||
Line 92: | Line 92: | ||
Taking a closer look at the parts: | Taking a closer look at the parts: | ||
[[File:Image4.png|left|frameless|600x600px]] | [[File:Image4.png|left|frameless|600x600px]] | ||
We use Bootstrap to make the original UI responsive – that is why there are no table elements , only div elements. | |||
The data you have access to in your html page is strictly derived from the ViewModel. | |||
If your ViewModel is defined like this: |
Revision as of 22:17, 28 January 2017
Since MDriven Turnkey is like any other html javascript application there are no limits on what you can use the data for. You should think of MDriven Turnkey as a tool that does the heavy lifting for you – it will free up your time to work with creative things like modeling at one end of the spectrum and special UI design at the other end. The ambition of MDriven Turnkey is to swallow everything in between and thus removing the need for slow and low quality out-sourcing schemes. In Session 9 I show how to replace the auto generated UI with html of your own. I show how to include a google map and how to pick up the location of the device using your application.
To make your experience more comfortable, we set the main tags mentioned in the video to the right bar menu of this mini player. Choose the interesting subtitle on the list and immediately get to the exact theme timeplace in the video. Now you can pick any topic to be instructed without watching the whole video.
This is the original generic view we use – use this as a starting point when stirring things up:
@using Eco.MVC
@model AngularModel @{ Layout = null; } <no-wiki>
Taking a closer look at the parts:
We use Bootstrap to make the original UI responsive – that is why there are no table elements , only div elements.
The data you have access to in your html page is strictly derived from the ViewModel.
If your ViewModel is defined like this: