O'Reilly logo

HTML5 Data and Services Cookbook by Mite Mitreski, Gorgi Kosev

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 9. Client-side Templates

In this chapter, we will cover the following recipes:

  • Rendering objects using Handlebars
  • Rendering objects using EJS
  • Rendering objects using Jade
  • Rendering arrays using Handlebars
  • Rendering arrays using EJS
  • Rendering arrays using Jade
  • Simplifying templates with helpers in Handlebars
  • Reusing templates with partials in Handlebars
  • Reusing templates with partials in EJS
  • Using filters in Jade
  • Using mixins in Jade
  • Using layouts and blocks in Jade

Introduction

Modern service apps are often built for multiple platforms, where only one of those platforms is the Web. Other platforms may include iOS, Android, and other websites that need to use the service through an API. Some of those platforms might not support HTML. They might also ...

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