No edit summary |
mNo edit summary |
||
Line 49: | Line 49: | ||
color: blue; | color: blue; | ||
</style> | </style> | ||
< | <br> | ||
<div id="video12"> | <div id="video12"> | ||
<iframe width="740" height="500" src="https://www.youtube.com/embed/4WqRP-2nytQ?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe> | <iframe width="740" height="500" src="https://www.youtube.com/embed/4WqRP-2nytQ?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe> | ||
Line 62: | Line 62: | ||
if(this.dataset.end) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&end=' + this.dataset.end); | if(this.dataset.end) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&end=' + this.dataset.end); | ||
if(this.dataset.start) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&start=' + this.dataset.start); | if(this.dataset.start) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&start=' + this.dataset.start); | ||
this. | this.stle.backgroundColor='rgba(0,0,0,.2)'; | ||
} | } | ||
} | } | ||
Line 68: | Line 68: | ||
</html> | </html> | ||
Raw subtitles text | |||
this is session 2 of turnkey | |||
MDriven turnkey, gonna continue with | MDriven turnkey, gonna continue with | ||
early model here to demonstrate types and gonna add a new class called | early model here to demonstrate types and gonna add a new class called | ||
brand and the relation, so that | brand and the relation, so that | ||
each car can have 0...1 Brand | each car can have 0...1 Brand | ||
Brands can have many cars, of course, gonna add some attributes to car | Brands can have many cars, of course, gonna add some attributes to car | ||
object to the car class to demonstrate | object to the car class to demonstrate | ||
that you could have data of different types | that you could have data of different types | ||
tire radius we will make double | tire radius we will make double | ||
gonna add an image to | gonna add an image to | ||
brand as well, so we could | |||
brand as well, so we could demonstrate blob types | |||
we set image on the blob type | we set image on the blob type | ||
in the EditOneCar we add these new possibilities, pick list, like that | in the EditOneCar we add these new possibilities, pick list, like that | ||
and let's make a new View Model | and let's make a new View Model | ||
to handle the brand manage, brands | to handle the brand manage, brands | ||
got that one make that ran and | got that one make that ran and | ||
like before we gonna do all instances of brand this time | like before we gonna do all instances of brand this time | ||
and have the column Name | and have the column Name | ||
and let's add image the grid as well to see what happens | and let's add image the grid as well to see what happens | ||
in this View Model would rather much like edited me | in this View Model would rather much like edited me | ||
on the brand in the same view | on the brand in the same view | ||
add a nesting self to go from many integrate to one single and then I add | add a nesting self to go from many integrate to one single and then I add | ||
columns for name and brand image again | columns for name and brand image again | ||
they will be rendered by the scalefolding engine as editable | they will be rendered by the scalefolding engine as editable | ||
for each select brand I could now set the name and brand image | for each select brand I could now set the name and brand image | ||
global action for show on the manage brands | global action for show on the manage brands | ||
and also view election for create | and also view election for create | ||
on new brands, so alright | on new brands, so alright | ||
you see them there, correct, let's go to the cloud | you see them there, correct, let's go to the cloud | ||
upload, we check status, untill it's done okay | upload, we check status, untill it's done okay | ||
sequence script has added the table for brand and staff | sequence script has added the table for brand and staff | ||
F5 we seed a new menu item show manage brands | F5 we seed a new menu item show manage brands | ||
I'm gonna add a brand, pick and set name | |||
I'm gonna add a brand, pick and set name Audi | |||
let's find image for each of these, like that and save | let's find image for each of these, like that and save | ||
one very common cases, of course that in the EditOneCar we will want to set the brand | one very common cases, of course that in the EditOneCar we will want to set the brand | ||
we are going to do that soon, just check the daytime picker in the different fields | we are going to do that soon, just check the daytime picker in the different fields | ||
and it seems to work and switch back to | and it seems to work and switch back to | ||
model and the View Models | model and the View Models | ||
for EditOneCar, here I want to add select to be able to browse to brands | for EditOneCar, here I want to add select to be able to browse to brands | ||
there's quick command for that, so in this case | there's quick command for that, so in this case | ||
brand all instances we want to pick one of the available to brands and assign to our brand relation in our class | brand all instances we want to pick one of the available to brands and assign to our brand relation in our class | ||
that will exist on Car object | that will exist on Car object | ||
gonna add the brand image behind there | gonna add the brand image behind there | ||
so we have a picker and the brand image, right | so we have a picker and the brand image, right | ||
let's do the model check, requiring error there | let's do the model check, requiring error there | ||
that an easy one because there is | |||
that an easy one because there is EditOneCar view | |||
needed to check that it required a root object | needed to check that it required a root object | ||
to show this one we need to have a car object | to show this one we need to have a car object | ||
F5 this and show all cars, View EditOneCar and we have the pick list, pick Volvo | F5 this and show all cars, View EditOneCar and we have the pick list, pick Volvo | ||
images updated of course and pick another one that we haven't set anything on | |||
images updated of course and pick another one that we haven't set anything on Audi | |||
let's set the registration number as well | let's set the registration number as well | ||
okay and that's pretty much | okay and that's pretty much |
Revision as of 19:01, 25 January 2017
Continue on introducing the MDriven Turnkey to demonstrate types, images, value stores and pick lists and how to manage
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.
Raw subtitles text
this is session 2 of turnkey
MDriven turnkey, gonna continue with
early model here to demonstrate types and gonna add a new class called
brand and the relation, so that
each car can have 0...1 Brand
Brands can have many cars, of course, gonna add some attributes to car
object to the car class to demonstrate
that you could have data of different types
tire radius we will make double
gonna add an image to
brand as well, so we could demonstrate blob types
we set image on the blob type
in the EditOneCar we add these new possibilities, pick list, like that
and let's make a new View Model
to handle the brand manage, brands
got that one make that ran and
like before we gonna do all instances of brand this time
and have the column Name
and let's add image the grid as well to see what happens
in this View Model would rather much like edited me
on the brand in the same view
add a nesting self to go from many integrate to one single and then I add
columns for name and brand image again
they will be rendered by the scalefolding engine as editable
for each select brand I could now set the name and brand image
global action for show on the manage brands
and also view election for create
on new brands, so alright
you see them there, correct, let's go to the cloud
upload, we check status, untill it's done okay
sequence script has added the table for brand and staff
F5 we seed a new menu item show manage brands
I'm gonna add a brand, pick and set name Audi
let's find image for each of these, like that and save
one very common cases, of course that in the EditOneCar we will want to set the brand
we are going to do that soon, just check the daytime picker in the different fields
and it seems to work and switch back to
model and the View Models
for EditOneCar, here I want to add select to be able to browse to brands
there's quick command for that, so in this case
brand all instances we want to pick one of the available to brands and assign to our brand relation in our class
that will exist on Car object
gonna add the brand image behind there
so we have a picker and the brand image, right
let's do the model check, requiring error there
that an easy one because there is EditOneCar view
needed to check that it required a root object
to show this one we need to have a car object
F5 this and show all cars, View EditOneCar and we have the pick list, pick Volvo
images updated of course and pick another one that we haven't set anything on Audi
let's set the registration number as well
okay and that's pretty much