New from DevShed.com, there's posted the continuation of their "Building a Site Engine with PHP" (part 2).
If you read the first article in this series, you'd know that we're about to start talking about the plug-in and module system for our site engine. Along with the plug-ins and modules, we're also going to be discussing some of the general functions that are needed to make site engine work correctly.
He continues on, steping you through the creation of a class to fetch the details of the site's pages, as well as creating the interface for the plug-ins, pulling both of these from a database. Once you have the plug-in system in place, adding in the modules is easy.
Once he combines these attributes, you can see how easy it would be to add each module/plug-in as your site progressed. Keep an eye open for the next part in the series when he will discuss the authentication system and the block system. I'll also show you how the database and directories should be set up so you can set up your first plug-in and module and give it all a try.




