Re: What about components.

Richard Conroy
Thu, 13 Dec 2007 13:39:56 -0000

On Dec 13, 2007 1:29 PM, Laurent
<laurent.bois-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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.