Forum: Rails Engines development mutliple engines with one authorization?

Posted by Peter Michaux (Guest)
on 2006-12-30 17:40
(Received via mailing list)
Hi,

Supposed I have both store and forum engines running in one app. I
want to have a single login for both running as an authentication
engine. Is this a big deal? I imagine that I can have the
authentication engine load first and then the other two engines. There
was talk of engines loosing control of loading order and then there
was talk of keeping loading order available in the same old way but as
a secret part of the engines API. Is this what happened?

Thanks,
Peter
Posted by James Adam (Guest)
on 2006-12-30 19:32
(Received via mailing list)
Hi again Peter,

Controlling the load order will still be possible with the 1.2
release; however, it's still a good idea to avoid any startup
dependencies if possible. In practice this means trying not to require
(explicitly or implicitly) any code from other plugins in your
engine/plugin initialization.

Once the application has started and controllers get loaded, all your
plugins will be in the load path and they can reference code without
any issues.

- James
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.