Image for Instant Handlebars.js: learn how to create and implement HTML templates into your projects using the Handlebars library

Instant Handlebars.js: learn how to create and implement HTML templates into your projects using the Handlebars library

See all formats and editions

In Detail

Handlebars is one of the leading JavaScript templating engines and is quickly gaining widespread adoption by developers, as well as with frameworks like Ember.js and Meteor.

"Instant Handlebars.js" is a complete guide to the Handlebars library filled with internal concepts and practical examples that will help illustrate what's going on and take you from a complete beginner to a Handlebars expert.

"Instant Handlebars.js" begins with the very basics, requiring no previous knowledge about templating engines. Throughout the course of this book, you get a thorough tour of all the features available in Handlebars.js and you will learn how to organize your websites for both development and production.

In this book, we will cover how to create templates with both placeholders and helpers. We will then go into organizing your projects for rapid-development using Require.js and how to optimize and compile your projects for production. To finish off, you will learn how to annotate your code and leave debug points so that you can easily maintain and troubleshoot your code in the future.

Handlebars is a small library;, it is meant to fill a specific need and it does this well. "Instant Handlebars.js" takes a very methodical approach to cover every aspect of this amazing library with practical examples provided every step of the way.

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. This book is a step-by-step guide to installing and creating your own JavaScript templates using Handlebars.js.

Who this book is for

This book is aimed at people who have a general knowledge of JavaScript and HTML. No knowledge of templating engines is required.

Read More
Special order line: only available to educational & business accounts. Sign In
£14.98
Product Details
Packt Publishing
1783282665 / 9781783282661
eBook (Adobe Pdf, EPUB)
25/09/2013
England
English
49 pages
Copy: 100%; print: 100%