peml ¶
peml is an extendable parser that uses the general rules of haml to create a markup dependent on the whitespace indentation. This allows blocks to be automatically closed, and tags shortened into css-like declarations.
On top of this are added commands, that add features such as flow control and helper tags for common long-winded html.
YiiML ¶
YiiCL extends this core with some Yii specific commands for forms, widgets, and partials, and YiiML acts as a view renderer wrapper for peml with YiiCL.
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.1(?) or above
Installation ¶
For detailed installation instructions, please see:
Usage ¶
Add a view file with an extension .yiiml. This will now be rendered through the peml library.
Syntax reference is available at:
Change Log ¶
February 23, 2010 ¶
- Initial release.
Pretty amazing
Chris you've done an invalueable job with bringing peml (haml) to the yii-framework..
My markup looks like a haiku now!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.