Login   Register  
PHP Classes
elePHPant
Icontem

OOCSS

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Corey Hart
Name: Corey Hart is available for providing paid consulting. Contact Corey Hart .
Packages: 2 Browse all classes by Corey Hart Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 25
All time rank: 1591213 in United States United States
Week rank: 1491 Up180 in United States United States Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Corey Hart  >  OOCSS  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: OOCSS
Base name: oocss
Description: Template engine for CSS style sheet files
Version: 1.0
PHP version: 4
License: MIT/X Consortium License
All time users: 621 users
All time rank: 4339
Week users: 1 user
Week rank: 2151 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image Templates Template processing engines and components View top rated classes


  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

  User ratings  
Not yet rated by the users

  Applications that use this class  
Link Description
codeNothing Blogging Site
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Demo Link Demon stration of OOCSS
Google Code Repo for OOCSS OOCSS has been uploaded to google code repo
Google Groups Group discussion for Object Oriented CSS project
Original Blog Original blog of Object Oriented CSS

  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

Download all files: oocss.tar.gz oocss.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.