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
http://mustache.github.com
Twitter Bootstrap
http://twitter.github.com/bootstrap
Composer
http://getcomposer.org
  • http://www.facebook.com/vegetable.garden.96 Vegetable Garden

    Excellent tutorial. Thanks!

  • Jaime Carrion

    Nice video Mike! Thanks for your effort!