Reply
Old November 28th, 2009 Top | #1
 
LordOfLA's Avatar
Godlike!
Joined: February 2004
Location: Maidenhead, Berkshire, UK
Posts: 7,031
Blog Entries: 5
Reputation: 4137
Power: 242

Default PHP MVC Tutorial series

Those of you looking to take steps towards MVC development with PHP may want to take a look at the following tutorial I found linked from nettuts:

CodeIgniter and Doctrine from scratch.Day 1 – Install and Setup. | PHP and Stuff

It details how to integrate Doctrine which is a database ORM much like ActiveRecord is in Ruby on Rails to the CodeIgniter MVC framework. Doctrine thereby replaces the M part of the CodeIgniter stack. From my reading around Doctrine appears to be one of (if not) the best ORM libraries for PHP at the moment.

Enjoy!




If HK-47 and GLaDOS had a child, the character they create would cause the video game world to overdose on awesome. -sheridanmovieguy: Dragon age forum user.
LordOfLA is offline   Reply With Quote
Old November 28th, 2009 Top | #2
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,498
Reputation: 2808
Power: 250

Default Re: PHP MVC Tutorial series

I personally prefer the Zend Framework for my PHP MVC development, check out the quickstart: Zend Framework

I find that it is cleaner, generally uses less resources and contains everything I need and I can leave out what I don't need. It doesn't have the same CRUD type of functionality but for most things I have found it unnecessary.
X-Istence is offline   Reply With Quote
Old November 28th, 2009 Top | #3
 
LordOfLA's Avatar
Godlike!
Joined: February 2004
Location: Maidenhead, Berkshire, UK
Posts: 7,031
Blog Entries: 5
Reputation: 4137
Power: 242

Default Re: PHP MVC Tutorial series

IMO Zend is too loose for people just getting started out in PHP MVC. A stricter framework such as CI may be better for starting out. It's not hard to adapt later on.




If HK-47 and GLaDOS had a child, the character they create would cause the video game world to overdose on awesome. -sheridanmovieguy: Dragon age forum user.
LordOfLA is offline   Reply With Quote
Old November 28th, 2009 Top | #4
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,498
Reputation: 2808
Power: 250

Default Re: PHP MVC Tutorial series

There is also CakePHP and Symfony both are also excellent MVC frameworks.
X-Istence is offline   Reply With Quote
Old November 28th, 2009 Top | #5
 
LordOfLA's Avatar
Godlike!
Joined: February 2004
Location: Maidenhead, Berkshire, UK
Posts: 7,031
Blog Entries: 5
Reputation: 4137
Power: 242

Default Re: PHP MVC Tutorial series

indeed. I prefer CI over Cake myself. There's also Kohana which is building on CI.




If HK-47 and GLaDOS had a child, the character they create would cause the video game world to overdose on awesome. -sheridanmovieguy: Dragon age forum user.
LordOfLA is offline   Reply With Quote

Reply

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
TUTORIAL: All About Resource Hacker in a Brief Tutorial Vishal Gupta Desktop Customisation 7 March 2nd, 2008 7:08pm
Photoshop tutorial toxicity Desktop Customisation 2 May 5th, 2003 12:19am
Waddys Tutorial Bman Desktop Customisation 3 January 29th, 2003 6:29am
C# tutorial Swi Web Design & Coding 8 August 4th, 2002 10:05am
A tutorial for Litestep ! ditCh Windows Desktop Systems 1 May 22nd, 2002 9:46pm