[Ironruby-core] Problem with IronRubyMvc and IR 0.9.1
lists at ruby-forum.com
Thu Oct 15 07:33:01 EDT 2009
here are same thoghts from me:
To integrate IronRubyMvc into Umbraco CMS a configuration file (e.g.
ironrubymvc.config) would be fine. In Umbraco is a subfolder "/config"
used for such settings files. Usual way for additional modules is a
reference from web.config to the location of this config file. For
example with module UrlRewriting.Net it goes from web.config:
<section name="urlrewritingnet" .../>
<urlrewritingnet configSource="config\UrlRewriting.config" />
Native access to config settings from IronRuby via MVC_ENV would be fine
Force one class per SomeController.rb and must contain SomeController
class sounds ok. But don't know what's the case with Helpers, no
experience from my side :-(
Current naming conventions SomeController.rb or some_controller.rb are
fine for me, may be via a setting in config? Also a setting for view
file name extentions (current ".html.erb")?
Ivan Porto carrero wrote:
> How do you want to provide different development environments for
> ironrubymvc ?
> I can either do it by creating the configuration section I've been
> this would be used to provide load paths for example for libraries
> of the web project.
> I can have a parameter there something like MvcEnv which will set the
> constant MVC_ENV
> based on the value of that constant it would then be possible to provide
> different behavior for the require statement, much like rails does.
> Would it be a good idea to enforce a single class per file for
> and helpers, or would it be better to leave that up to the judgment of
> user of the framework?
> Should there be validation for naming conventions. like a file
> home_controller.rb has to define the HomeController class?
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Blog: http://flanders.co.nz
> Twitter: http://twitter.com/casualjim
> Author of IronRuby in Action (http://manning.com/carrero)
Posted via http://www.ruby-forum.com/.
More information about the Ironruby-core