User tests: Successful: Unsuccessful:
Converting /includes/framework.php from linear php file to use class structure. Simplifying the two separate files framework.php
in site and administrator each, using inheritance.
Introduce constant JPATH_ADMINISTRATOR_DIR
to eliminate hardcoding of the backend directory name everywhere. Not used anywhere yet, but strongly intended to.
TEST INSTRUCTION
Download Joomla with this patch. You should be able to:
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
I don't see a value in this either. It also adds additional lines of code instead of reducing the necessary code... Can we get a decision by the PLT on this?
Status | Pending | ⇒ | Needs Review |
Set to Needs Review as requested
Category | ⇒ | Libraries |
I agree about not really seeing the value too. So closing
Status | Needs Review | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-04-13 08:49:52 |
Closed_By | ⇒ | wilsonge |
What benefit is there to having the application bootstrap within a class structure? There are indeed ways to refactor the bootstrap to be a single source versus each app (site, admin, install) have their own logic and duplicated code, but I'm not convinced a class based approach is any good.