What about components

What is now privileged when we should implement reusable components :
Use components capabilities in Rails (but i understood it’s not so
popular) or write plugins?

Thanks

laurent

On Dec 13, 2007 1:29 PM, Laurent [email protected] wrote:

What is now privileged when we should implement reusable components :
Use components capabilities in Rails (but i understood it’s not so
popular) or write plugins?

For various (well discussed) reasons components are out. The Rails way
of doing
this generally involved combining partials and helpers. This doesn’t
get you 100%
of the way towards widget/component type behaviour though.

Merb has something similar though - Parts. However Merb and Rails are
addressing
different ecological niches.

Ok, but finally i should understand we should write plugins …
My question was effectively about some graphical components or
Widgets, that could be reuse from one project to another.

Laurent

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs