[gallery/gallery3] 70956e: Big update of how bootstrap and Module class load ...

GitHub <noreply-9UaJU3cA/F/[email protected]>
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <516448987a75e_4b53f9134342b0@hookshot-fe1-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/kohana_3
  Home:   https://github.com/gallery/gallery3
  Commit: 70956e28c6f07841f25ea3c85c79a7b164d46371
      https://github.com/gallery/gallery3/commit/70956e28c6f07841f25ea3c85c79a7b164d46371
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M application/bootstrap.php
    M modules/gallery/classes/Gallery/Module.php

  Log Message:
  -----------
  Big update of how bootstrap and Module class load modules
- changed bootstrap to load a preliminary list needed for initialization, then
leave the rest up to the Module class when Module::load_modules() is called,
which includes unit test and third-party modules.
- changed Module class to consider two special modules, set by $_first_module
and $_last_module variables (purifier and gallery, respectively).
- revised Module::_add_to_path() and Module::_remove_from_path() for K3.
- moved module loading in bootstrap before route definition so modules could
override our defaults.
- fixed/added some comments.


  Commit: 8f4469a63fb836702d3c314e6dfe5ea20944878e
      https://github.com/gallery/gallery3/commit/8f4469a63fb836702d3c314e6dfe5ea20944878e
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-04-09 (Tue, 09 Apr 2013)

  Changed paths:
    M application/bootstrap.php
    M modules/gallery/classes/Gallery/Module.php

  Log Message:
  -----------
  Merge pull request #279 from shadlaws/load_modules_20130409

Big update of how bootstrap and Module class load modules


Compare: https://github.com/gallery/gallery3/compare/fc12011f409f...8f4469a63fb8

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.