Login   Register  
PHP Classes
elePHPant
Icontem

XCS Parser

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

  Author  
Picture of Ve Bailovity
Name: Ve Bailovity <e-mail contact>
Packages: 5 Browse all classes by Ve Bailovity Browse all classes by
Country: Serbia and Montenegro Serbia and Montenegro - PHP jobs in Serbia and Montenegro
Age: 32
All time rank: 4592 in Serbia and Montenegro Serbia and Montenegro
Week rank: 400 Up2 in Serbia and Montenegro Serbia and Montenegro Equal
Innovation award
Innovation award
Nominee: 4x


  Detailed description   Download .zip .tar.gz  
This class can be used to parse and compress regular and extended Cascading Style Sheet (XCSS) definitions.

It can parse XCSS definitions and process them by evaluating macros and expressions, including external XCSS files, evaluating the rules of inherited styles, and processing comments that start with // .

The class can generate regular CSS definitions from the processed XCSS files. The processed CSS definitions may be compressed by removing white spaces, or formatted to be prettified and human readable.

  Classes of Ve Bailovity  >  XCS Parser  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: XCS Parser
Base name: xcsparser
Description: Parse and compress XCSS files
Version: 0.1
PHP version: 5
License: BSD License
All time users: 438 users
All time rank: 5271
Week users: 2 users
Week rank: 1279 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
February 2008
Number 5

Prize: One downloadable copy of PhpED Professional
CSS is used to define the details of presentation of Web site pages, hopefully keeping separate the definition of content from the presentation details. However, CSS does not always provide the level of control over presentation details that Web designers wish.

XCSS is an extension of the CSS standards that allows using more complex definitions that involve macros and expressions.

This class implements a PHP parser that can evaluate XCSS definitions and generate regular CSS, so any PHP site can benefit from XCSS possibilities without waiting for browsers that support.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
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
Extended Cascading Stylesheets - the beginning The story behind XCS
XCS Syntax XCS Syntax description

  Files folder image Files  
File Role Description
Files folder imageetc (4 files)
Files folder imageexamples (7 files)
Files folder imagelib (1 file)
Accessible without login Plain text file LICENSE.txt Lic. Q&A on fair use
Accessible without login Plain text file README.txt Doc. Read this first

  Files  /  Files folder image etc  
File Role Description
  Accessible without login Plain text file advanced_syntax_1.css Data Advanced syntax (dollar) test style
  Accessible without login Plain text file advanced_syntax_2.css Data Advanced syntax (percent) test style
  Accessible without login Plain text file defines.css Data Basic test style - defines the values in style.css
  Accessible without login Plain text file style.css Data Main test style

  Files  /  Files folder image examples  
File Role Description
  Plain text file basic.php Example A basic test/demo file for XcsParser class
  Plain text file compression.php Example Compression test/demo file for XcsParser class
  Plain text file inherit.php Example Inheritance test/demo file for XcsParser class
  Plain text file noexpr.php Example Forbidden expressions statements test/demo file
  Plain text file norequire.php Example Forbidden external files access test/demo file
  Plain text file static.php Example Static loader test/demo file for XcsParser class.
  Plain text file syntax.php Example Advanced syntax changing test/demo file for XcsParser class

  Files  /  Files folder image lib  
File Role Description
  Plain text file XcsParser_class.php Class Main class file

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