Building an Extensible Menu Class

Building an Extensible Menu Class. Now, you may not know this, but my favourite language and yours, PHP, comes with some pretty powerful OOP capabilities. And over the course of this article, I'm going to demonstrate some of them by building an object to address a very common task – generating a menu tree on a Web site. That's not all, though – once I've successfully created a Menu object, I'm going to torture-test it with some of the most popular menu systems available on the Web to see if it does, in fact, offer any significant advantages.

Also covers using PHP and Javascript to created sophisticated pull-down menus and explorer style outlines.

[PHP Everywhere]

Leave a comment