Using the same Mustache templates for PHP and JavaScript

Mustache templates are great for creating reusable modular HTML templates. In this video, I’ll create a Mustache template for Twitter Bootstrap’s alert component. I’ll go over all of the basics of Mustache, and implement our new template via PHP and JavaScript.

Related Links

Mustache GitHub Page
Twitter Bootstrap
  • Vegetable Garden

    Excellent tutorial. Thanks!

  • Jaime Carrion

    Nice video Mike! Thanks for your effort!