There is a site with the following structure: index.php images / css / style /
Three-column site. Is it possible to make an MVC structure of it? If so, how?
There is a site with the following structure: index.php images / css / style /
Three-column site. Is it possible to make an MVC structure of it? If so, how?
If you want to learn, then Create a simple MVC system in PHP 5
And if it is fast and normal, then the Zend Framework
. And yes, do not be afraid, everything is pretty simple. Manuals on the same Habré a lot.
@Snow , In my opinion, the right way to start is to be able to select the architecture / tool for your task, and MVC for a three-column site is yes, strong. The guy probably thinks that the essence of MVC is in the routing and beautiful URLs in the address bar, looking at the videos on entering data into the controllers and opening them in the browser by the name of the same controller.
MVC is an architecture created for the simple scalability of a project (probably a subjective opinion), read more about its essence (because judging by the wording, you have no idea what you are asking), and only then proceed to practice. It is better to start with frameworks, and then write something of your own.
Source: https://ru.stackoverflow.com/questions/132131/
All Articles
Сайт трехколонный
andMVC
I immediately understood your knowledge, so early, it’s not what you think, read again what mvc is, or take a framework to learn right away, for example ci or kohana - johniek_comp