Thursday, October 4, 2012

Erector 0.9.0


Developer:

Website:

License / Price:

Platforms:

Databases:

Language:

Last Updated:

Category:
Pivotal Labs | More scripts
erector.rubyforge.org
MIT License 

Windows / Linux / Mac OS / BSD / Solaris
N/A
Ruby
October 4th, 2012, 16:48 GMT [view history]
C: \ Development Tools \ Compilers

Instead of using templates like most other HTML generators, Erector uses objects, allowing anyone with any OOP skills to quickly put together a new HTML page.

Erector can also be used as a RoR plugin.

Here are some key features of "Erector":

· Support for inheritance
· Modular decomposition
· Encapsulation
· OOP-like programming

What's New in This Release: [ read full changelog ]

· 'scss' external type [needs tests]
· dot-class and dot-id-bang syntax
· Expanded widget hierarchy; now XMLWidget can be used as the base for a non-HTML widget (for XML formats that may not want the HTML tags and methods)
· 'emit' method as preferred synonym for to_html (since we now support non-HTML widgets)
· 'tag' macro to add your own tag types (esp. to XML widgets)
· :snake_case option to tag (if you want the method name to be nice for a CamelCase tag name)
· Removed dependency on rake gem
· Renamed 'render' method to 'emit' (to reduce confusion with Rails' "render" methods)
· Added missing favicon_link_tag and crsf_meta_tags helper methods
· Added #capture_content as an alias for #capture, so we can call it in a Rails 3.1 app


Download button

0 comments:

Post a Comment