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.
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.
For detailed installation instructions, please see:
Add a view file with an extension .yiiml. This will now be rendered through the peml library.
Syntax reference is available at:
Total 1 comment
Chris you've done an invalueable job with bringing peml (haml) to the yii-framework..
My markup looks like a haiku now!
Leave a comment
Please login to leave your comment.