MVC - Any practical examples in PHP

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
playaz
Forum Newbie
Posts: 4
Joined: Tue Jul 19, 2005 8:02 pm

MVC - Any practical examples in PHP

Post by playaz »

Hi Guys,

I am trying to get my head around MVC (Model View Controller) but having difficulty as I seem to be unable to find many practical examples, ideally with code that I can download and test locally on my own machine - does anyone know of site that has some good tutorials for MVC including practical examples and downloadable code?

Thanks in advance
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: MVC - Any practical examples in PHP

Post by matthijs »

Seems like a popular subject. There are currently a few other threads running which you might find interesting. Also search in the archives of the forum: there have been many, many good discussions here.

As for code examples: in the other thread there's a link to a tutorial by Chris viewtopic.php?f=19&t=81192
There's a few other, like this on on phpit or one on phppatterns. But as you will discover, there's more ways to MVC and some are "better" then others.

You can also take a look at how some frameworks do it. The skeleton framework has a few examples which might be interesting to look at. Arborint, a frequent contributor to this forum, is the main developer of that framework. If you include his name in a search for MVC discussions on this forum I guarantee you'll find some good discussions.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Re: MVC - Any practical examples in PHP

Post by jmut »

framework.zend.com
Post Reply