This project is a small framework design test to improve some of the modules to be implemented into WebContext, the other project I am leading, a full featured and industrial PHP framework.
To be able to follow work in progress , here are the list of the last features we are working on, in a day-by-day format.
HtmlForm to Entity
HtmlForm component send data through HTTP post operation. With the new loadFromPost()
method in the Entity, data save is enable.
Any PageManager must implement a save()
method to store data sent from the Form.
- HtmlForm bugfix about name and action attributes,
- Entity modified to support “POST” data update to entity attributes. Image attribute type is not supported right now. will be fixed soon. As it’s a prototype, transmitted data are not already sanitized about XSS or any SQLInjection. Data sanitizer will be soon implemented as a Singleton oriented “service”.
HtmlForm
To implement new Html components, HtmlComponent has been updated: now, enctype
attribute manage multipart form to enable File upload.
- HtmlFile support File html input and automaticaly add enctype to form.
- HtmlSelect manage new selectOptions parameter for the HtmlComponent.
Role Management
A new internal entity appear to support User Role.
Forms & Users
- HtmlForm and HtmlComponent ’s to provide easyway to create Form on Entity, following an automatic generation way, based on Entity Attribute description.
- Entity just modified to manage in a better way attributes and their types.
- Internal Entity for User management.
- User, Role , and UserManager is currently implemented, relying on HtmlForm work.
- Autoload functionality (no more “require” or include !) >> done.
- Debug and trace log (see debug.class.php) >> done
- Configuration purpose >> done
- Data Persistance in files (text format as temporary source, xml soon, and Database in near futur) with Entity management,
- MVC concept with PageManager and Router >> done
- Helpers concept >> done
- Javascript integration with JQuery and some plugins,
- Themes at (Page and Application Level) with templating >> done
- Internationalization (i18n) >> done
- Standard CMS Image management
- Image resizing with standard GD library >> done
- Multi level thumbnailer >> done
- Images storing following some entity defined rules >> done.
- …
And the list is growing every week !
A lot of features are experimental for now, and not stabilized. So if you want user these, it’s at yourown risks ;)
But if you want to contribute with your own knowledge to these, please feel free to contact me.
Have fun !