Pages

Wednesday, August 04, 2010

Best free PHP learning resources for beginners

PHP is a web scripting language that powers many of the popular open source applications and websites. PHP was among the most used languages until recently, and although other languages like Ruby-on-Rails have been gaining users, PHP still remains useful.
I started learning PHP recently, with the aim of building my own web apps and CMS some time in the future. Finding ideal, free resources were not easy, and delayed the learning process quite a bit. This post serves as a one-stop-shop for resources that I found useful – if you have recommendations, please do so in comments.

Install PHP on your computer for local dev/testing

PHP.net has a detailed page on installing PHP for various OSes. On *nix systems, you only need to learn how to use PHP, as it is installed by default or easily available via package managers.








PHP beginner resources










W3Schools has detailed articles and even a quiz for PHP topics – describing everything from PHP language constructs and syntax to database access.
Zend Dev Zone has a beginners’ guide to PHP – categorized to 15 parts.





















I should admit, while reading through the above articles, I did hit brick walls quite a few times. On such occasions, the Diving into PHP video series by Themeforest blog helped greatly. Sometimes, a visual explanation makes sense of something that you couldn’t figure out even after spending several minutes on.
That page lists only the first 11 videos, you can view the remaining videos with this search page.
Bonus tips: Use PHP.netW3Schools forum and Google to lookup answers when you have doubts. It may seem obvious, but a lot of people waste their time thinking rather than trying to solve problems (myself included, in early days).

PHP books

These are not free, but I thought that they should be included due to one reason – if you have lots of time to spare, while on a commute to work or such, books can help. Reading books is not as effective as diving into code itself, but if you can spend more time on a book than on your computer, this might be useful.
















O’Reilly has books called Learning PHP 5 and PHP Cookbook (which contains practical problems and solutions).












Also, this thread on Stackoverflow has lots of recommendations and critiques of PHP books. Stackoverflow is frequented by knowledgeable programmers, so you can be sure they know what they are talking about.
This post discussed only websites and resources to get started with PHP. Soon, I will also be writing posts rounding up useful resources for those who know the syntax and basics, and are looking for intermediate/advanced tips, security tips and well-coded PHP applications that can help you learn best practices. Click the email/RSS link in the box below to subscribe for updates regarding the same.
Source : Designblurb

6 comments:

  1. I ADAMS KEVIN, a representative Aiico Insurance plc, we trust and respect for individual differences in day out a loan. We will provide 2% of the loan's interest rate. If you are interested in this business contact us by e-mail: (adams.credi@gmail.com) now transfer their loan documents issued properly. Do you need a loan to set up business or school if you are very welcome to Aiico Insurance plc. You can also contact us by e-mail: (adams.credi@gmail.com). We first week can request a balance transfer.

    DO YOU NEED LOAN FOR PERSONAL BUSINESS? IF YOU CONTACT YOUR EMAIL ABOVE TO PROCEED WITH YOUR LOAN TRANSFER IMMEDIATELY OK.

    ReplyDelete
  2. Its such as you learn my thoughts! You seem to know a lot approximately this, like you wrote the book in it or something. I think that you just could do with a few percent to pressure the message house a bit, but other than that, this is wonderful blog. An excellent read. I will definitely be back.

    ReplyDelete
  3. I got this web page from my buddy who informed me concerning this website and at the moment this time I am visiting this web page and reading very informative articles or reviews at this time.

    ReplyDelete