Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Consider consolidating several like files in the page load process

#234

In an effort to streamline the page load process to become more efficient and logical, we might want to:
* combine the exponent_common.php & exponent_bootstrap.php files calling them exponent_bootrap.php * move the loading of exponent_constants.php out of exponent.php and into exponent_bootstrap.php * move the loading of subsystems/themes.php out of exponent_constants.php and into exponent.php after sessions is loaded and initialized (current loading order is therefore maintained) * combine or streamline the files loaded by exponent_bootstrap.php; exponent_variables.php (which in turn loads) exponent_version.php and subsystems/config/load.php (which then in turn loads the global config, the theme config, then the default configs), exponent_setup.php and exponent_constants.php; since all establish the constants (defines) for exponent. (There has to be a more logical flow and grouping than current)

Reported by dleffler · July 14th, 2011 @ 07:09 PM

State: resolved
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja

    (from [9c51af40cdffb857ff0a9f49cd295545f4fa66ef]) Changed references to exponent_common.php to exponent_bootstrap.php since exponent_common was simple and also redundant of what was already in exponent_bootstrap.php. [#234 Consider consolidating several like files in the page load process] https://github.com/exponentcms/exponent-cms/commit/9c51af40cdffb857...

    July 15th, 2011 @ 11:02 PM

  2. expNinja
    expNinja

    (from [dbfcc88ba9163ed736416b22bde0798d9a67ce64]) Loading of exponent_constants.php was moved earlier into exponent_bootstrap.php for standardization. Loading of subsystems/themes.php was stripped out of exponent_constants.php and put into exponent.php where is was being loaded earlier. [#234 Consider consolidating several like files in the page load process] https://github.com/exponentcms/exponent-cms/commit/dbfcc88ba9163ed7...

    July 16th, 2011 @ 12:18 AM

  3. expNinja
    expNinja

    (from [c73b253790b4a49b8d240a483c821b0e88282fff]) A seemingly major change because of the filenames, but a Minor revision to the exponent "bootstrap" process to streamline it and give it a more linear flow. exponent_variables.php renamed to exponent_constants.php which was in turn renamed to exponent_constants2.php before it'll be deleted. Contents were moved into other file with config dependant constants being moved inot exponent_bootstrap.php
    exponent_setup.php was renamed to exponent_php_setup.php since that's it's function and the environment constants were moved into exponent_constants.php.
    [#234 Consider consolidating several like files in the page load process] https://github.com/exponentcms/exponent-cms/commit/c73b253790b4a49b...

    July 16th, 2011 @ 12:18 AM

  4. expNinja
    expNinja
    • Milestone set to Release Candidate 1
    • State changed from new to resolved
    • Milestone order changed from 71 to 0

    July 25th, 2011 @ 11:39 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.