Create simple php mvc app. Work plan

Главная » Tutorials » PHP+MySQL » Create simple php mvc app. Work plan

In last lessons we considered basics principles of OOP in PHP. To summarize this topic, I decided to make simple web app with using of OOP paradigm. Besides our app will be based on modern, actual approach in app design – MVC (Model-View-Controller).

Our app will be a user cabinet with users management, view products and orders. Login form will be on the main page of our app.
MVC design template means separation of app into three key components – Model, View, Controller. Each of it decides its specific task:

  • Model works with database directly.
  • View shows data to user.
  • Controller gets requests from user (actions) and calls specific model or method in model.

MVC is basic for many modern php frameworks.

Подписаться на рассылку

Будьте в курсе - получайте последние статьи на свой email

Ваша подписка успешно оформлена

Pin It on Pinterest

Share This