O'Reilly logo

Ember.js Web Development with Ember CLI by Suchit Puri

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. Rendering Using Templates

In the last chapter, you learned about Ember.js object-oriented design choices. In this chapter, you will learn about the Ember.js presentation layer. You will see how to use Handlebars.js, the default template processor in Ember.js.

In this chapter, we shall cover the following areas:

  • An introduction to JavaScript templates using Handlebars.js
  • HTMLBars and Handlebars
  • Defining a Handlebars.js template
  • Handlebars.js expressions
  • Handlebars.js conditionals
  • Displaying a list of items using Handlebars.js
  • Binding HTML tag attributes
  • Action event bubbling
  • Handlebars.js input helpers
  • Building custom Handlebars.js helpers
  • Using the concise Emblem.js templating language

An introduction to JavaScript templates using Handlebars.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