Jump to content

OO PHP For Beginners


ostrox

Recommended Posts

I would probably experiment with OO PHP on your own for a little bit. Build out a personal project or two to make sure you have the basics down. Then, maybe consider checking out the Advanced PHP course (http://killerphp.com/tutorials/advanced-php/), which covers more advanced concepts, including autoloading, namespacing, etc.

Link to comment
Share on other sites

I would probably experiment with OO PHP on your own for a little bit. Build out a personal project or two to make sure you have the basics down. Then, maybe consider checking out the Advanced PHP course (http://killerphp.com/tutorials/advanced-php/), which covers more advanced concepts, including autoloading, namespacing, etc.

 

Well I've gone through the tutorials, but I don't see how i build any project with just the minimal OO PHP knowledge gained from this tutorial, that's why I wanted to ask the question on here to see what others who completed the same tutorial did afterword, is there a website to continue on top with basic OO tutorials that lead to more advanced things (actual project you can do? or perhaps recommend a PHP book that covers OO beginner to intermediate levels?

Link to comment
Share on other sites

I'm not sure that I can recommend a PHP book, since I personally tend to learn best from videos or personal experimentation. You may want to look at http://www.amazon.com/PHP-Object-Oriented-Solutions-David-Powers/dp/1430210117/ref=sr_1_43?s=books&ie=UTF8&qid=1291159865&sr=1-43 though -- I have another book by the same company that I like.

 

Other than that... Jason Lengstorf's article on NetTuts on OO PHP is excellent: http://net.tutsplus.com/tutorials/php/object-oriented-php-for-beginners/. Also, Jason and Chris Coyier did a series on creating a web application (that is object-oriented) that may be worth looking at: http://css-tricks.com/examples/WebAppFromScratch/. You may also do a general Google search for "PHP Object Oriented examples" or similar.

Link to comment
Share on other sites

  • 1 month later...

Well I've gone through the tutorials, but I don't see how i build any project with just the minimal OO PHP knowledge gained from this tutorial, that's why I wanted to ask the question on here to see what others who completed the same tutorial did afterword, is there a website to continue on top with basic OO tutorials that lead to more advanced things (actual project you can do? or perhaps recommend a PHP book that covers OO beginner to intermediate levels?

 

OOP is just a mindset and coding technique, it's no different from the regular procedural php coding you've been doing up until you encountered OOP. I'd recommend you to google and read up on OOP mindsets and thoughtprocesses as with many php OOP guides they focus more on the fact that this is only a different syntax over the more important fact that this is another thought process.

 

So what I would recommend is that you take some of your old projects, rethink how you best could solve the same project using OOP coding techniques and doing it, sure in almost all cases it will mean a lot more code and memory allocations, but hey you are learning so it's worth every singel frustrating rage that you will get doing it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...