One of the most important features when creating a website is the ability to display dynamic content on an HTML page. The difference between dynamic content and static content is that dynamic content is typically generated via conditional statements and/or varying data (usually retrieved from a database). In order to generate parts of an HTML page during runtime, you will need some sort of rendering engine. There are many different rendering engines available that can be used with Node and Express. The particular engine we chose for this book is Handlebars.js—named for the syntax use of {{
and }}
that resembles a handlebar mustache!

Web Development with MongoDB and Node.js
By :

Web Development with MongoDB and Node.js
By:
Overview of this book
Table of Contents (19 chapters)
Web Development with MongoDB and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Welcome to JavaScript in the Full Stack
Getting Up and Running
Node and MongoDB Basics
Writing an Express.js Server
Dynamic HTML with Handlebars
Controllers and View Models
Persisting Data with MongoDB
Creating a RESTful API
Testing Your Code
Deploying with Cloud-based Services
Single Page Applications with Popular Frontend Frameworks
Popular Node.js Web Frameworks
Index
Customer Reviews