MVC and web apps: oil and water
MVC = Model View Control
- Model—those functions that wrap calls to your db
- View—the templates / scripts that output HTML
- Controller—the stuff that examines variables like $_GET and $_POST and works out what to do next.
Very interesting article on code architecture, languages and programming techniques.
http://www.sitepoint.com/blogs/2005/12/22/mvc-and-web-apps-oil-and-water/
- Model—those functions that wrap calls to your db
- View—the templates / scripts that output HTML
- Controller—the stuff that examines variables like $_GET and $_POST and works out what to do next.
Very interesting article on code architecture, languages and programming techniques.
http://www.sitepoint.com/blogs/2005/12/22/mvc-and-web-apps-oil-and-water/
0 Comments:
Post a Comment
<< Home