O'Reilly logo

Introducing Meteor by David Titarenco, Aaron Gray, Josh Robinson

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

CHAPTER 3

image

Using Spacebars Templates

Now that we have Meteor and our development environment all setup, it is time to introduce Clans.io, the app we will be building together through the rest of this book. Clans.io is a micro social network for creating online communities. To do so, we’ll need to learn about Spacebars, Meteor’s template language, which will be used to create dynamic templates. We will then look at handling events and adding helpers to the template component object. Finally we’ll use the Twitter Bootstrap package to add a simple nav bar to our app.

Creating the clans.io app

To get going, we will need a new app where we can play ...

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