? Success

User tests: Successful: Unsuccessful:

avatar alex7r
alex7r
7 Jul 2016

Summary of Changes

Adding ability to use namespaces like
Components\MyComponent\Models\Item
if class in /components/com_mycomponent/models/item.php
and component overall uses namespaces

Full List

Admin <=> Administrator
Components
Libraries
Plugins

Added checker for admin and components for com_

Testing Instructions

creating simple test class that uses namespace
and call it anywhere in other place

covered by #11061

avatar alex7r alex7r - open - 7 Jul 2016
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jul 2016
Labels Added: ?
avatar gunjanpatel gunjanpatel - change - 8 Jul 2016
Category Libraries
avatar alex7r
alex7r - comment - 8 Jul 2016

@wilsonge , could you also look into this one?

avatar wilsonge
wilsonge - comment - 8 Jul 2016

I don't think I'm going to accept this as is. My reason is that whilst I'd like to see us support namespacing

  1. I'd like to see us move to the standard agreed by the Joomla 4 group https://volunteer.joomla.org/reports/115-joomla-4-architecture-sprint-odense-dk and find the section called "Use of namespacing". The intention there was to use PSR-4 rather than PSR-0 as well. If you want to go implement please do!

  2. Ideally but not quite as necessary as 1) if you could modify the MVC class finders to support the namespaced structure above it would be good :)

avatar wilsonge wilsonge - change - 8 Jul 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-07-08 17:31:52
Closed_By wilsonge
avatar wilsonge wilsonge - close - 8 Jul 2016
avatar wilsonge wilsonge - close - 8 Jul 2016
avatar alex7r alex7r - close - 8 Jul 2016
avatar alex7r
alex7r - comment - 9 Jul 2016

@wilsonge , I will be glad to, so will do my best.

avatar alex7r alex7r - change - 10 Jul 2016
The description was changed

Add a Comment

Login with GitHub to post a comment