-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alessandro_78 wrote:
>> Brenton Alker-3 wrote: >> This is expected behaviour. Bootstrapping is used to initialize the >> application and is performed before routing-- your archive module may >> even use its bootstrap to add routing rules. So, at this point it is not >> even known which module will be used. > Oh, that's clearer now for me, thanks for your reply! :-) > So it first will load the "global" bootstrap in the application directory > and then all those at module level, right? > What else, apart from routing rules, is best practice to include in a module > level bootstrap class? The only things I've personally used it for is routing rules and registering plugins (eg. an Auth module might initialize an ACL and register an authentication plugin). But it could be anything that is module specific. Maybe others could chime in-- what do y'all use module bootstrapping for? - -- Brenton Alker PHP Developer - Brisbane, Australia http://blog.tekerson.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoxme0ACgkQ7bkAtAithus/8ACgqMZM9o9FDdCFYUSFx7RcXdt0 9AcAoMcyrJ6mozjzW5MN5CJv/dAXcBV0 =H5gf -----END PGP SIGNATURE-----
