Tag

Model-View-Controller

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Jan 7, 2022 · Backend Development

Understanding MVC: Common Pitfalls and Proper Separation of Concerns in Yii Framework

The article explains the MVC design pattern, describes how the author mistakenly packed all business logic into Yii controllers leading to massive, unmaintainable code, and outlines the correct responsibilities of Model, View, and Controller to achieve thin controllers and rich models.

BackendMVCModel-View-Controller
0 likes · 7 min read
Understanding MVC: Common Pitfalls and Proper Separation of Concerns in Yii Framework
Java Captain
Java Captain
Dec 12, 2021 · Backend Development

Why a Good Code Structure Matters and How to Design It: Models, Utils, Services, DAO, and Controllers

The article explains why a solid code structure is essential, outlines the principles of single responsibility, reusability and clear definitions, and details the roles of Model, Util, Service, DAO and Controller, while discussing their relevance to Web, Android and iOS development.

Backend DevelopmentModel-View-ControllerSoftware Engineering
0 likes · 9 min read
Why a Good Code Structure Matters and How to Design It: Models, Utils, Services, DAO, and Controllers