? Success

User tests: Successful: Unsuccessful:

avatar izharaazmi
izharaazmi
15 Dec 2015

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:

  1. Open installation page at first launch and until installation is done.
  2. Remove "Installation" directory without installing, it should show error message "... not found... exiting."
  3. After successful installation it should not allow site / administrator navigation unless "Installation" directory is removed.
  4. After removal of "installation" directory it should open site and administrator as usual with no difference.
avatar izharaazmi izharaazmi - open - 15 Dec 2015
avatar izharaazmi izharaazmi - change - 15 Dec 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Dec 2015
Labels Added: ?
avatar mbabker
mbabker - comment - 15 Dec 2015

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.

avatar Hackwar
Hackwar - comment - 19 Feb 2016

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?

avatar brianteeman brianteeman - change - 19 Feb 2016
Status Pending Needs Review
avatar brianteeman
brianteeman - comment - 19 Feb 2016

Set to Needs Review as requested


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8692.

avatar brianteeman brianteeman - change - 28 Mar 2016
Category Libraries
avatar wilsonge
wilsonge - comment - 13 Apr 2016

I agree about not really seeing the value too. So closing

avatar wilsonge wilsonge - change - 13 Apr 2016
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2016-04-13 08:49:52
Closed_By wilsonge
avatar wilsonge wilsonge - close - 13 Apr 2016

Add a Comment

Login with GitHub to post a comment