John, In answer#1, you mention workers outside of rails app. Is there any document or post explaining workers outside of an app (vs inside)? There is a snippet of code for workers outside of rails app in ruote document. But there is no explanation of what it is and what kind of impact it has on the app.
Also any document or post or open source project which may help us to better understand ruote and its integration with rails are appreciated. Best Regards -emclab On Wednesday, June 19, 2013 12:56:06 PM UTC-5, John Mettraux wrote: > > > On Wed, Jun 19, 2013 at 10:13:38AM -0700, emc_lab wrote: > > > > We plan to integrate ruote into our rails 3.2.12 engines. Our 3.2.12 > rails > > app consists of multiple rails engines. There are a few questions we > have > > now: > > Hello, > > others will probably chime in. Here is my first take at answering. > > Just to be clear: Rails engine != ruote engine. > > > > 1. Where to implement ruote? Can we add the ruote to each individual > engine > > which needs ruote? Or add the ruote to rails app and provide its > features > > to whichever engine who needs it. > > I'd add a ruote dashboard singleton to the Rails app via an initializer. > > I'd probably go for ruote workers outside of the Rails app, with the ruote > dashboard in the Rails app containing no ruote worker. > > > > 2. If implementing ruote in rails app level, can all the ruote engines > > share a single table for workitems? Or we have to create a unique table > for > > each and every ruote engine. > > OK, the conversation switches from Rails engines to ruote engines. > > I'd go for a single ruote engine for your Rails web application, with a > single db. > > If you implement a participant that stores workitems in a table, you can > sure > have this participant use the same table whatever the engine. Please note > that the Ruote::StorageParticipant does not store workitems in a dedicated > workitem table, it stores them in the common ruote table (ruote-sequel). > > > > 3. Is it possible to implement a workflow spanning over more than one > > engines? I guess this is related to how and where ruote is added to the > > rails app (with rails engines). > > No, it's not possible. A workflow instance is limited to one ruote engine. > > It's OK for a workflow instance to launch other workflow instances in > different ruote engines. > > > Best regards, > > -- > John Mettraux - http://lambda.io/jmettraux > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "ruote" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
