Hey thanks a lot for this great points. :-) As a newbie I still got some questions though...
> ## Make it modular How exactly would you do that? If you have a model models/my_model.rb, where would you put the module's code? Maybe under models/my_model_module.rb or so? And then just use include 'my_model_module.rb' within my_model.rb? Can you please give me an example for this? > ## Document like your life depends on it That's a very good point. Is there further documentation how to document a Rails project/engine? > * Put your controllers into modules. Can you please give me an example for this, too? > * Provide a sensible set of routes for the user to use, and use them > religiously for redirects and link_to calls in your own views [2] Why no simply use the standard route? If I write other routes - won't this mean more configuration than convention? > * Try and provide a set of useful partials, rather than a smaller set > of views, as these are easier to reuse. You mean that someone who wants to alter the design maybe just can include some partials he likes and rewrites some he needs else? Thanks a lot for your great answer. :-) -- Posted via http://www.ruby-forum.com/. _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
