What needs to happen to transistion out of the current component model into the vendor/plugin model? 

I have heard the new routing code allows plugins to register named routes when they are loaded into a parent app.  This would allow for sidebars that could have more than one "content page". 

On 8/1/06, Piers Cawley <[EMAIL PROTECTED]> wrote:
"Steve Longdo" <[EMAIL PROTECTED]> writes:

> It is a funtion of the sidebar and textfilter controller where it
> dynamically loads all files in the directories into memory:
>
> Dir["#{RAILS_ROOT}/components/plugins/sidebars/[_a-z]*.rb"].each do |f|
>  require_dependency f
> end
>
> So it is cool because when new plugins are added they automagically load up,
> but unfortunate when, like Sparklines, they have a large overhead
> associated.
>
> As for knobs, you could have something that wrote a more specific regular
> _expression_ for the load instead of just [_a-z]*.rb...

This is something that could be helped by the mooted move of sidebar
plugins to vendor/plugins. Essentially you'd only need to install
those sidebars you use.

--
Piers Cawley < [EMAIL PROTECTED]>
http://www.bofh.org.uk/
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

--
Thanks,
-Steve
http://www.stevelongdo.com
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to