→ back to New Admin Area Project
These are just the first proposals to develop the admin area in a well organized way. Please add your thoughts and improvements.
Extract as many reusable code as possible from ADMIN.php to helper classes methods
Build documentation using phpDocumentor for these files:
ADMIN.php
ENCAPSULATE.php
showlist.php
all helper classes
Group ADMIN methods by objects[1] and types[2] to analyse:
Conclusion:
report code needs and improvements
list needed classes and libraries
define some code standards
Define a complete list of actions performed inside the admin area
List possible behaviors for each action (on success, on fail…)
Group the actions by objects[1] and types[2] to analyse them
Conclusion:
report code needs and improvements
define a features set for the first version of the new admin area. once defined, don't add new features until the first version is complete
Define a complete list of screens used by the admin area
Describe purpose and necessary elements for each screen
Group the screens by objects[1] and types[2] to analyse them
Conclusion:
[1] 'objects' are: blog, item, comment, category, misc etc.
[2] 'types' are categories of actions/screens: 'list', 'add', 'edit', 'batch delete' etc.