Basically, I started working in a more mvc manner where I have my html, objects, executing code, seperated into views,module, code.
So for example, if I want to create a registration form, I create a folder called “Registration” and put three files:
Registration
— Views (contains html table and form)
— Module (contains a class that validates output and inserts the new user).
— Controller (executes the class in the module file).
My question is the way I work called MVC?
Another question how time saving are the existing frameworks in php eg. ruby on rails, zend framework..
I am a bit new to php and I am not sure if it is worth swaping to one of them 1?!?
The way you work is MVC but i think it would save you a lot of time, switching to a framework that is designed from scratch with MVC in mind. The learning curve is always a bit strange…a bit tough at start but time saving for as long as you will be a developer. If it is a big project i would suggest Symfony2 with Doctrine2.0