How to convert hard code to PHP MVC website?

I would like to convert our hard college website.

Do I have to follow any pattern to achieve an efficient and quick conversion?

kindly advise me.

+3
source share
2 answers

MVC is one thing, but why not try moving it to two parts?

For example, think of it as two parts interacting with each other, there is a client and a server.

The client part is what contains the elements to display and passes the user's actions to the server.

"" , . "" - , V (iew).

, , "" M C, "" , , C-.

, , .

+2

, PHP- ... PHP , , CMS.

+1

Source: https://habr.com/ru/post/1759772/


All Articles