J3 Issue ?
avatar mbabker
mbabker
4 Feb 2017

Throughout the core API there are places where data is stored into an untyped stdClass object. This makes knowing what data is available somewhat difficult as it means tracing the object source plus in many cases this results in some sort of post processing on a data set (i.e. automatically converting a JSON parameters string into a Registry object).

We should create value objects similar to JMenuItem or JCategoryNode which allow the properties for objects to be typed. This also could allow us to implement lazy loading behaviors in front of some data, like the before mentioned conversion to Registry objects.

A good starting place for this would be the J<extension_type>Helper classes and their loaders which read out of the database and dump the results into stdClass objects with parameter conversion in some cases. Modules would be another strong candidate IMO.

avatar mbabker mbabker - open - 4 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - change - 4 Feb 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Feb 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category Feature Request
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Status New Needs Review
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar mbabker mbabker - change - 3 Apr 2018
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2018-04-03 12:05:27
Closed_By mbabker
avatar mbabker mbabker - close - 3 Apr 2018

Add a Comment

Login with GitHub to post a comment