O'Reilly logo

Getting Started with Meteor.js JavaScript Framework by Isaac Strack

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Gluing it all together

The View-Model (MVVM) or controller (MVC) or presenter (MVP) is considered the glue of an MV* application model. That's because it "glues" together all the view items, such as buttons or textboxes, to the model.

Pretty fancy explanation, eh? Well, you try to come up with a better explanation for what it does. It really does fill in the cracks, and keep the model and the view together. Someone else invented the term, not us, so let's continue without the Judgy McJudgerson viewpoint, mmmk?

In this section, we'll go through all the changes step-by-step that need to happen inside of ~/Documents/Meteor/LendLib/LendLib.js in order to glue the template and the data model together.

Our items View-Model

In our data model that we created ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required