Jeff Barczewski
2006-Jul-26 19:28 UTC
[Masterview-users] [ANN] MasterView rails-optimize (x)html friendly template engine - Release 0.2.4
MasterView is a rails-optimized (x)html friendly template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). The main idea is to provide a template engine that would provide all the power of layouts, partials, and rails helpers but still be editable/styleable in a WYSIWYG editor. It was also a major goal that the syntax of these attribute directives be very similar to rails helpers so that one could intuitively start using MasterView with little learning curve other than knowing rails. MasterView was inspired by Amrita, Kwartz, Tapestry, Zope/PHP TAL, Liquid, and Web Objects but designed with a fresh approach and specifically targetted for rails users. Release Notes Release 0.2.4 Fixed apache2 scgi problem where masterview was not being loaded at startup. Added Interactive template console to admin pages for testing/learning how masterview directives work. Release 0.2.3 Changed default development settings for enable_admin_pages and enable_view_rhtml = true (false in production) to make it easy for new users to get up and running. Added check_box, radio_button, select, collection_select directives. Refactor attr_value parsing to be more robust taking into account nested objects. Internal rework of directive handling to support alternate namespaces for directives. Std app directives dir at rails app/masterview/directives will be automatically added to MasterView load path if exists. Release 0.2.2 Fixes problem when rails encounters exception in either compiling or involving RuntimeError in the generated rhtml. The rails TemplateError class looks at the file system for the template contents. So when generate_rhtml is false (no file is generated) rails was not able to find source and was not outputting an error page. Rails TemplateError class was extended to look at MasterView store first and then fallback to file system. More details, screenshots, and video at http://masterview.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20060726/9a98fa77/attachment.html