Consider consolidating several like files in the page load process
Reported by dleffler | July 14th, 2011 @ 07:09 PM | in Release Candidate 1 (closed)
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)
Comments and changes to this ticket
-
expNinja July 15th, 2011 @ 11:02 PM
(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] https://github.com/exponentcms/exponent-cms/commit/9c51af40cdffb857...
-
expNinja July 16th, 2011 @ 12:18 AM
(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] https://github.com/exponentcms/exponent-cms/commit/dbfcc88ba9163ed7...
-
expNinja July 16th, 2011 @ 12:18 AM
(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] https://github.com/exponentcms/exponent-cms/commit/c73b253790b4a49b... -
expNinja July 25th, 2011 @ 11:39 PM
- Milestone set to Release Candidate 1
- State changed from new to resolved
- Milestone order changed from 71 to 0
(from [e7bbf799ccd2233027c37000f1b29475f556ad4e]) Removes some files no longer used in the "bootstrap" process [#234 state:resolved milestone:'Release Candidate 1'] https://github.com/exponentcms/exponent-cms/commit/e7bbf799ccd22330...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS