Object Oriented PHP

Discussion in 'Web Design and Development' started by odinsride, May 23, 2011.

  1. odinsride macrumors 65816

    odinsride

    Joined:
    Apr 11, 2007
    #1
    Hi all,

    I am fairly new to PHP and web languages (but not programming / OOP). I am wondering if anyone could recommend some good sites/books on developing PHP using OOP and MVC design.

    Currently I'm following this site:

    http://www.tonymarston.net/php-mysql/databaseobjects.html

    It's a good start, but I am wondering if there are any other good resources on the topic, especially since this guy himself says he does a few things his own way.

    Thanks in advance!
     
  2. digitalField macrumors regular

    Joined:
    May 21, 2004
    Location:
    portland
    #2
    heyo.

    im no professional developer by any means but i do like to dabble and make things..

    I have been using CakePHP, which is a oop/mvc php framework, for the last year or so and its been a blast. Pretty easy, solid community and opensource so if you wanna get in and see all the under workings you are more then welcome.

    http://cakephp.org/
    http://book.cakephp.org/

    and their are some great tuts out there for getting started.
    they are also getting ready for a big 2.0 release of the framework which is suppose to make it even more OOP ( personally not sure what they mean by it, but a couple peeps in IRC were all excited about it )

    m
     
  3. elppa macrumors 68040

    elppa

    Joined:
    Nov 26, 2003
    #3
    At the risk of stating the obvious, have you take a look here:

    Classes and Objects

    If you are familiar with programming then it will give a good idea of the php idioms and terminology.
     
  4. odinsride thread starter macrumors 65816

    odinsride

    Joined:
    Apr 11, 2007
    #4
    I actually played with CakePHP last night (before seeing your reply), and absolutely love it...it was just what I'm looking for, and the documentation is very good. I think I will stick with it for the time being instead of attempting to build my own MVC framework LOL
     
  5. Darth.Titan macrumors 68030

    Darth.Titan

    Joined:
    Oct 31, 2007
    Location:
    Austin, TX
    #5
    I much prefer CodeIgniter over CakePHP. It just seems more intuitive.
     
  6. Cabbit macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #6
    I found CodeIgniter allows to much sloppy code and has a poor structure, if your wanting to move on with PHP i would suggest Zend Framework with PHPActiveRecord, the code/file structure is very clean and documentation is 2nd to none.
     
  7. digitalField macrumors regular

    Joined:
    May 21, 2004
    Location:
    portland
    #7
    yea its a blast.
    lemme know if oyu have any questions about it, i am no expert but I have built a handful of sites with it now.

    also i highly recommend the irc room.

    M
     

Share This Page