Anwiki CMS

Anwiki CMS : the first wiki/CMS dedicated to multilingual contents
| Tasklist |

FS#71 - AnwComponent refactoring

Attached to Project: Anwiki CMS
Opened by anw (anw) - Wednesday, 24 February 2010, 21:44 GMT
Last edited by anw (anw) - Saturday, 18 September 2010, 14:40 GMT
Task Type TODO
Category Core
Status Assigned
Assigned To anw (anw)
Operating System All
Severity Medium
Priority High
Reported Version Anwiki 0.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 80%
Votes 0
Private No

Details

There are currently various components types (actions, contentclasses, storagedrivers, userdrivers...) which use redondant code for loading components, instanciating it and managing components mappings...

Such processes are implemented in various classes (AnwActions, AnwContentClasses, AnwStorage) in a static way, with many calls to AnwComponent main class which have lots of statics methods and is particularly ugly.

Such code has to be standardized and will be moved into one "AnwComponentsManager" per component type.
This way it will be easier to create new components types and to maintain.
Comment by anw (anw) - Wednesday, 20 October 2010, 21:43 GMT
We also need something to override the global component.

Loading...