Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Plugin-API
Curt Hibbs
11/20/2003 4:14:00 PM
On Thu, Nov 20, 2003, Christian Kruse wrote:
> Hi there,
>
> I'm writing an application in Ruby which should be easy to extend. One
> should be able to write a plugin for this application and should be able
> to load it with an entry in the config file, e.g.
>
> [snip]
> What's the "ruby way" to do this?
>
> Greetings,
> CK
You might want to look at the plugin system used by FreeRIDE which is called
FreeBASE and has been packaged as a separate download. See:
http://freeride.rubyforge.org/wiki/wiki.p...
The FreeRIDE IDE is completely (100%) implemented as a set of plugins, with
the exception of FreeBASE, which is the plugin manager. It has sophisticated
facilities for specifying dependencies between plugins (which affects the
load order of plugins) and includes a high-performance messaging engine (the
databus) that allows plugins to communicate with each other while minimizing
coupling.
However, if your plugin needs are very simple, this might be overkill.
Curt
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Plugin-API
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password