The 24 PHP Tutorial book

php tutorial book for beginners Hey just wanted to let everyone know that my PHP tutorial book for utter PHP newbies is out now on the Kindle store. It covers a decent spread of material, introducing lots of core PHP concepts and techniques. No previous experience in web development is assumed, though some knowledge of HTML will help. usually overs more advanced PHP topics, but I was advised that we need some introductory material to refer people to, so here it is. For my more technical readers: don’t worry, there are some way more advanced technical things in the pipeline! Get it here.

Availability on other platforms

The 24 hour PHP tutorial book is currently exclusive to Kindle Select, but will be more widely available in early-mid October 2013. At this stage it will likely be published on iBooks, Smashwords, and Scribd. If you’d like to be notified of updates, join the mailing list.

raddir yii framework tutorial
I’ve already produced a first steps tutorial for total PHP newbies, and now I’m dying to get stuck into something much bigger and more challenging. So that’s why I’m introducing today this new project: A Yii Framework Tutorial. This tutorial is going to be massive and exhaustive. I’m going to build a full site in Yii Framework from nothing, and document the whole process.

When the main body of the development is complete it will be an actual PHP web app that you can download and install for yourself. The intention is to then implement the app at some hosting, make it live and populate it, and try to get people using it. This post-development stage is not strictly speaking part of PHP development, but it is critical to the success of any site and so may be of use to you. In any case it should make for a fun experiment! (more…)

The problem: measuring PHP performance

It’s not always easy to tell why your PHP is not running well. Sometimes you need to spend some time hunting through your code examining how well it is performing at various places, eliminating bottlenecks as you go. You probably also want debugging info to be visible and easy to read. Here’s how I’ve been doing it lately, using a new php class called GLPTimer… (more…)

url filtering: #83 filtered flareURL filtering is important: everyone from marketers to search engines loves nice, text-rich URLs. If you want to create keyword-rich URLs based on your dynamic content then you need to clean and filter the source text first. Here is a handy function that will generate text very much like WordPress slugs… You can use this pretty much anywhere. I’ve used it mostly in tagging systems, and in code that creates permalinks based on post titles or taxonomy terms. (more…)

Hey there

June 6, 2013 — Leave a comment

Hey welcome to This is going to be a place where I share information to help other people write great PHP code. If you are already a PHP programmer don’t let the ‘learn’ part put you off: I will be getting into some advanced techniques as well as tutorials for the beginner. Anyway feel free to add your comments and kick in with ideas and corrections!