VIVVO CMS - Web publishing at your Fingertips!
Experience the power of news content management solutions with unique simplicity and elegance.
Vivvo Template Engine was developed as a template engine for Vivvo CMS. Our main goal in design and development was to create a template engine that would be light-weight and easy to use, yet powerful and scalable. And of course high-performance, which is a must. The template engine that can do recursions, object calls, arrays, but still remain within a single class in less than 1000 lines of code! The main problem with many robust template engines (like Smarty) is that most developers use barely 20% of their power and that's exactly why our goal was quite the opposite - a template engine that most web applications will drive at 90% of its speed with a minimal learning curve.
Normally we would prepare the content for you in PHP and let you model it trough templates. That would mean that we have to prepare everything you might want to publish, disregarding what is in your templates.
But what if we turned the tables, what if your template told us what block of code to load, what SQL query to make, what RSS to fetch, etc. Well, that is what VTE does for you.
VTE language is XML-based and it consists of tags and attributes (more about individual tags can be found here). It uses VTE namespace and can be mixed with any other XML language (ie. xHTML). Each VTE template must be a valid XML document.
VTE has only 14 instructions for loading and manipulating data, assigning custom JS and CSS, building control structures.
You can make each template reusable by adding CSS and JS information (Vivvo framework keeps track of JS and CSS loading usage).
You can get a single template output through Vivvo for AJAX inclusion on other systems.
Developers can refer to VTE section of the Developer Manual that contains a comprehensive list of the modules/objects and primers for VTE usage, many of which can be downloaded for free in our Resources/Downloads section.
Vivvo Template Engine was first constusted as a light-weight template class written in PHP and completely PREG based.
This version of VTE was released under GPL 2.0 and can be found on Google Source Code.
![]()
Version: 0.1
License: GNU GPL 2.0
Source: Google Code