Code

ezTemplate, a CodeIgniter library

ezTemplate, a CodeIgniter library

Summary

In the traditional view system of CI one must embed frontend logic into each individual view. This library creates the same modular organization to frontend logic as exists in the backend.

Templating is done by layering the standard CI view system and extending it to asset management. The basic idea is that for every single CI view there are individual CSS and Javascript files that correlate to it.

As easy as:

$this->template
    ->set('title', 'Template Library for Codeigniter')
    ->set('view', 'welcome/index')
    ->set('template', 'basic')
    ->render();

Features

  • Organizes your frontend logic (css & js)
  • Reduces redundant coding
  • Supports AJAX output (no theme)
  • Well documented

Illustration of ezTemplate

Version History

Version 1.0.0

  • Initial release
by
by
by
by
by
by