TODO in masterview-0.2.5 vs TODO in masterview-0.3.0

- old
+ new

@@ -1,64 +1,48 @@ -- put image, stylesheets, javascript relative path regex in initializer +TODO LIST - create install.rb for rails 1.1 plugin installs, it will create config/masterview and some sample configs - create namespace for mv and publish, update generated files - more videos -- allow multiple namespace prefixes for directives (allow custom directives to declare their own namespace) -- publish .xsd namespace definition for builtin directives to enable xhmtl docs using mv markup to validate +- publish .xsd namespace definition for builtin directives to enable xhtml docs using mv markup to validate - wiki for site - render from db - app for syntax - include additional stylesheets - ajax examples - ajax table component -- fix admin controller config page so it fits into admin layout +- improve directives info page in admin controller + - add link to directives rdoc from Loaded Directives page - documentation - update the plugin generator descr in installation.html: also installs config file templates in config - add tips in installation.doc about running gems rdoc server to view installed gems' rdoc - update admin controller description to point out that it installs public/stylesheets/masterview - run spelling checker on our html and release docs; retrofit to rdoc comments -- directive developer documentation and examples + - build utility to auto-generate directives reference doc from directive metadata and std. rdoc markup + - add doc on directive impl unit test helper and techniques/examples - more tests - build improvements - add release tasks to automate archiving trunk to tags/masterview-N.N.N, resetting tags/masterview - investigate mirror sites for obtaining gems (supplement primary rubyforge host) - improve RubyForge project site: include online docs; post release msgs in news -- internal code cleanup - - DirectiveHelpers ERB_xx constants to differentiate ' %>' and ' -%>' - - replace MasterView::NamespacePrefix+'<gen/import directivename>' concats in parser/analyzer with directive attr name constants - - run spell checker on doc/*.html, ripple typo fixes back in rdoc comment - reverse engineer legacy rhtml into masterview templates --#################### ??? can we tweak the admin controller for gem plugin so it puts its empty.rhtml in, say, config/masterview/admin?? => better loc than vendor/plugins/masterview/........ if users are going to customize that guy --#################### - make tidy installation easier -DSL for creating directives -maybe something like -event :stag do |e| - # these read args consecutively out of parse(attr_value) - e.attr_arg :object, :quote_if => true - e.attr_arg :foo { |t| t.upcase } # modifying case of foo - e.attr_arg :link_name { self.content } #overriding with different value - e.attr_arg :options, :optional => {} # specify that is optional but provide default if it is needed - e.attr_arg :html_options, :merge_common => true, :merge => [:size, :rows] # merge in common and specified attributes - - a = a+1 # do some other logic +- clean up rhtml files when switching from write rhtml files to filesystem to direct erb, otherwise written files will take precedence over MV internals. - old_content = e.content # retrieving content of tag - e.content = 'foo' # resetting content of tag - yield_contents = e.yield() +- build patch to send to rails core team improving hooks for template engines, removing file system dependency - e.erb_code_render 'a = a + 1' # render <% a = a + 1 %> - e.erb_content_render 'text_area' args(:object, :foo, :link_name, :options, :html_options) # render <%= %>, args handles joining the args with comma, and also takes into account if last args are not empty that other args are either provided also or defaulted. +- make admin pages localhost lockdown configurable rather than simple only available from localhost - e.render 'direct render' # direct render as is -end +- create DirectiveHelpers.parse_string_into_hash +- create DirectiveHelpers.serialize_hash_to_attributes # refactor attr directive code into here -- default generate to *.rhtml if nothing is specified +- liquid directives or other non-evaling safe mode which allows user created templates or parts - \ No newline at end of file +- handle all xml syntax including processing_instruction, attlistdecl, elementdecl, entitydecl, notationdecl