Skip to content
Archive of posts filed under the PHP category.

Beginners’ Corner: Learning Object-Oriented PHP

I often see PHP newbies (and even not-so-newbies) who are confused by the world of object-oriented programming (OOP). At least part of this confusion results from the vast majority of introductory books and tutorials for PHP beginning by teaching procedural programming techniques, treating OOP as an “advanced” subject with a chapter or two at the [...]

Implementing a Database-based Session-handler

While I’ve been using the database session data handler in the CodeIgniter framework for some time, upon reading this thread at PHPBuilder forums I decided it was time to write my own. In part I just wanted to gain a more thorough understanding of the process, and I also figured I could use it some [...]

Book List App: Using Auto-Suggest with CodeIgniter

I had a couple fields on the form for adding authors/books to the DB for which I wanted to use an “auto-suggest” feature via JavaScript; one of those things where after you start typing it pops up a list of matching choices from which you can select the one you want. After trying several different [...]

Book List Project: Using the “Template” Pattern

As part of my Book List project I am making use of the Template design pattern for my CodeIgniter database table models. The idea is that an abstract class contains the common processing needed by each class that will extend it, and it will have some number of abstract methods which essentially force each child [...]

Komodo Edit 5.2.0 Released

The 5.2.0 version of Komodo Edit has just been released. In addition to some bug fixes and UI features, the release notes indicate that support for PHP 5.3.0 has been added, including code completions for name spaces and syntax coloring of latest keywords (“namespace”, “use”, “as”, etc…).
(FYI, this is the editor I’m currently using, but [...]

Book List Application

As something I’m doing just because I want to and as a learning experience, I’m in the beginning stages of creating a web application where users can manage data on books: books they own, books they’ve read, and books they want to read. Assuming I stick with it, I figure I’ll post occasional articles here [...]

Upgrade WordPress to Avoid Potential Exploit

If you run any WordPress blogs, be sure to upgrade your software to the latest version (2.8.4 as of this writing) to avoid an exploit which may place your blog or web site at risk. See the article at “Lorelle on WordPress” for more info. Either use the upgrade link on your WordPress blog’s control [...]