Login   Register  
PHP Classes
elePHPant
Icontem

OOCSS: Template engine for CSS style sheet files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-09-05 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 632 All time: 4,527 This week: 1,391Up
Version License PHP version Categories  
oocss 1.0MIT/X Consortium License4Templates
Description Author  
PHP Programming Innovation award nominee
August 2009
Number 5


Prize: One book of choice by Manning
This class implements a template engine for CSS style sheet files.

It reads a CSS style sheet template file that may have definitions of styles assigned to variables. The variables may be used in the definition of other styles.

The class expands the definition of all variables and stores the processed CSS style sheet in a cache file.

OOCSS creates a new way to write CSS files in a new Object style fashion. Using Parent/Child relationships and predefined variables, you will be able to produce rapid CSS that is not only easier to maintain and read, is more intuitive as well.
Picture of Corey Hart
Name: Corey Hart is available for providing paid consulting. Contact Corey Hart .
Classes: 2 packages by
Country: United States United States
Age: 26
All time rank: 1629215 in United States United States
Week rank: 1076 Up114 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file oocss.php Class Main Class
Accessible without login Plain text file control.php Appl. Central control class
Accessible without login HTML file index.php Doc. Documentation Page
Accessible without login Plain text file styles.oocss Data Style Sheet

Innovation Award  
PHP Programming Innovation award nominee
August 2009
Number 5


Prize: One book of choice by Manning
CSS is a relatively limited style definition language. When you need to create new styles by changing a little the definition of others, the solution is often nor trivial, nor easy to understand and maintain.

This package provides an alternative solution that consists in a language that allows defining CSS classes and use inheritance to define the new CSS classes changing only a few definitions.

Manuel Lemos
 Version Control Unique User Downloads Download Rankings  
 0%Total:632All time:4,527
 This week:0This week:1,391Up