Archive for the ‘templating engines’ Category

Quick Tip: Convenience Hacks for Passing Data to Views

Posted on: No Comments
In MVC based architectures, working with template engines is an inevitable part of the development routine. It usually goes like this: we prepare and pass the data to the view. In the view, we print them based on our layout design. Here is a basic exa...

Getting Started with Underscore.js

Posted on: No Comments
This article was peer reviewed by Agbonghama Collins and Ryan Chenkie. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! Underscore.js is a JavaScript library, written by Jeremy Ashkenas, that provides funct...

Transphporm – a Different Kind of Template Engine

Posted on: No Comments
If there is one thing the world needs, it’s definitely another PHP template engine! But wait, this one is different! Many PHP template engines (Smarty, Blade, Twig…) are little more than abstracted PHP code, making it easier to write loops, if/then...

An Overview of JavaScript Templating Engines

Posted on: No Comments
This article was peer reviewed by Chris Perry and Ritesh Kumar. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! In this article we’re going to give an overview of templating in JavaScript. We’ll first ...