News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
The MVC Pattern and PHP, Part 2
March 12, 2013 @ 11:19:03

PHPMaster.com has posted the second part of their MVC series, introducing you to the Model/View/Controller design pattern. If you want to catch up, part one is here.

Welcome to part 2 of this two-part series discussing MVC and PHP, where we'll discuss some of the considerations one must make when using an MVC architecture. If you've come straight to this article without reading part 1 first, I encourage you to head back and have careful read as this one will assume that you've read and understand everything it discussed.

He talks about some of the things more involved in making a MVC framework including routing and URL formats and working with templates. Sample code is included for the route handling, model/controller relationship and view classes for the templates.

0 comments voice your opinion now!
mvc designpattern introduction tutorial model view controller routing view


blog comments powered by Disqus

Similar Posts

WebReference.com: Unary, Binary, and Ternary Operators in PHP

ZendCasts.com: Building a JSON Endpoint with SLIM (Part 1)

PHP Thinktank Blog: PHP-GTK with scottmattocks (IRC Talk Series)

SitePoint Web Foundations Blog: Quick Tip: Install Zend Server 7 on an Ubuntu 14.04 Vagrant Box

Oracle Technology Network: Installing PHP 5.2 for Oracle on Mac OS X 10.5 (Leopard)


Community Events





Don't see your event here?
Let us know!


opinion community language version framework release list composer laravel podcast threedevsandamaybe introduction conference interview voicesoftheelephpant series unittest symfony configure api

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework