I’m always trying to learn new things. I get bored easily. One item on my list of things to learn that I can cross off is PHP.
Here’s what I did to go about getting my programming environment set up and the resources I used to learn PHP.
The PHP development environment I used is:
WAMP server – This installs PHP/MySQL/Apache all in one bundle. Much easier than installing and configuring each individual piece. It also installs phpMyAdmin, which is useful to view/edit/query a database. There’s also an XAMPP server that I wish I had known about before installing WAMP. XAMPP is geared more towards developing and also includes a few extra pieces, such as PERL.
PHP Eclipse – Helios – This is the tool I used for developing with PHP. The debugger is a little tricky. You can also use Netbeans, which I kind of prefer, but Eclipse has a nice searching option. Debugging in Netbeans is much easier though.
To learn PHP programming, I used these resources:
ed2go.com – This site offers online courses that run 6 weeks and have 12 lessons each. 2 lessons are released each week with a final exam released at the end. There is a discussion board where you can communicate with the professor and other class members. Each lesson has an assignment and quiz. Each course costs around $89. If you can afford it, it’s a good way to get started. They offer 2 PHP courses: Introduction to PHP and MySQL and Intermediate PHP and MySQL. The introduction course walks you through developing a recipe website. The intermediate course walks you through developing an online store. Taking these courses was easier, quicker and less expensive than going to an actual class at a college.
PHP and MySQL Web Developmentby Luke Welling, Laura Thomson – A must have. Good reference, very thick, great book. This is the book to get if you can only get one PHP book.
Programming PHP – O’Reillyby Rasmus Lerdorf, Kevin Tatroe and Peter MacIntyre – This is a good book to actually sit down and read through to get started learning PHP. Good reference, much shorter than the Welling/Thomson book.
PHP Solutions – Dynamic Web Design Made Easyby David Powers – Good reference for “how to do something” in PHP.
A few useful links:
http://www.php.net – PHP functions, manual
http://www.phpbuilder.com – tutorials, examples
http://www.phpfreaks.com/ – tutorials, examples
http://www.w3schools.com/php/ – beginner tutorial
http://www.jasny.net/articles/simple-single-sign-on-for-php/ – example to use as a baseline in creating a single sign on server, global login/registration site.
A few miscellaneous links: