Page 1 of 1

new framework attempt - DOM design

Posted: Fri Jul 25, 2014 4:40 am
by benoitcalmar
Hello,

I am new to this forum, and would like to show my attempt of making a PHP 'framework'.
It was inspired from the non-web frameworks such as Qt, VCL, ... My goal was to mask as possible that PHP is working in decoupled way (no connection persistence I mean).

So I used the HTML sources (I call it 'material') as a structured document, and I am using DOM manipulation on client and PHP side. This allow the application to make a hierarchy between HTML materials, and avoid any PHP code mixed with the HTML documents. This way the framework can work on standard HTML (some attributes need to be added), so designers and developers can work with less dependence to each other.

Then I added session management, control system, the ajax automation, and a database layer. This is now functional, but some parts need to be improved (like javascript generation that must be made an other way).

You have a project home here to see live examples and links to documentation: http://cmc.calmarsoft.com

I would be happy to have some feedback on it, directly by contacting me from the website, or in this topic!