2010/7/12 Torsten Schönebaum <[email protected]>:
> John wrote:
>
> [about configuration in RuoteKit]
>
>> All is good, but IMO, ruote's configuration is sufficiently easy and
>> convenient not to be hidden.
>>
>>   RuoteKit.engine = Ruote::Engine.new(
>>     Ruote::Worker.new(
>>       Ruote::FsStorage.new('ruote_work')))
>>   RuoteKit.engine.register do
>>     participant "alpha", MyAlphaParticipant, :flavour => 'vanilla'
>>     catchall
>>   end
>>
>> The convention here is that the engine is located in the RuoteKit.engine 
>> 'singleton'.
>>
>> The trick here is that I will port the register block configuration
>> from ruote-kit to ruote.
>>
>> Comments ?
>
> In my opinion, this is a great idea. I would suggest a default fallback
> if the user forgets to set RuoteKit.engine, though.

Hello Torsten,

for now, I was thinking about "letting it break fast".


Cheers,

-- 
John Mettraux   -   http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to