Home

lonnieezell edited this page Oct 28, 2010 · 17 revisions

Ocular is a Layout Library for the CodeIgniter PHP Framework. It favors conventions to make your app organized and simple to get using, but maintains plenty of flexibility.

Features

  • Organized, conventions-based design that finds views based on controller/method names
  • Flexible ‘blocks’ with default views and easily changed at run-time
  • ‘Flash’ messages that work both on the current view and through a page redirect
  • Built for multiple themes, either automatically based on user-agent, or manually
  • Cache layouts, views, or both as an additional layer of caching that works with CodeIgniter’s full-page and database caching.

Documentation

Installation
Configuration
Layouts and Rendering
Dynamic View Data
Layout Blocks
Flash Messages
Themes
Caching
Menu Helpers
Breadcrumbs

Creative Commons License
Ocular Template Library by Lonnie Ezell is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.