O'Reilly logo

Getting Started with Meteor.js JavaScript Framework - Second Edition 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

In an MVC or MV* model, the controller (in this case, the Blaze rendering engine) is sometimes called the glue. That's because it "glues" together all the view items, such as buttons or textboxes, to the model. Blaze does this reactively, using reactive contexts and reactive computations, vastly simplifying the "gluing" process for you, the developer.

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 keeps the model and the view together. Someone else invented the term, not us; so, let's continue without the Judgy McJudgerson viewpoint, mmmkay?

In this section, we'll go through all the changes that need to happen inside ~/Documents/Meteor/LendLib/LendLib.js ...

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