Home arrow PHP arrow Building a Site Engine with PHP, Part 5

Building a Site Engine with PHP, Part 5

So you want to use your site engine that you’ve been working on? Okay, now is the time for me to show you how to add plug-ins, modules, blocks, and templates to your database so that they will work with your engine. It’s not that hard to do, and with just a few simple steps, you’ll be running your site off your new stylish site engine in no time.

TABLE OF CONTENTS:
  1. Building a Site Engine with PHP, Part 5
  2. Plug it in, Plug it in!
  3. All your Modules Belong to MySQL
  4. Improve your Blocking Skills
  5. Build your very own Theme Park!
By: James Murray
Rating: starstarstarstarstar / 32
July 19, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

What do you Need?

The easiest thing to do to install your components into your site engine is to get a GUI for MySQL. The one I use is called MySQL Front, which I’m not sure is available anymore. There’s also another one available from the MySQL website called MySQL command console. This will make it a lot easier to work with MySQL when doing the following things, mostly because there’s a lot to do when installing the components of your site engine when you try to do it through a command line interface.

First, you need to know what things are a must when using a site engine such as this one. Plug-ins aren’t dependant on anything other than themselves. Modules are dependant on plug-ins, therefore you must have a plug-in installed for the module to connect to. Blocks are dependant on both modules and plug-ins. So you must make sure that you have installed the plug-in and the module that the block depends on to load, or else you’ll get some nasty results. 

It’s also a pretty good idea to make a list of all your plug-ins, modules, and blocks so that way you can check them off as you install them because sometimes it gets a little confusing when you are working in the database and you no longer see the names of the files, only numbers relating to the ID of each component. I’ve been known to write it down on paper, along with the ID number of each, as I add them to the database, and yes, I do use a lot of paper. 



 
 
>>> More PHP Articles          >>> More By James Murray
 

blog comments powered by Disqus
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 



© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap

Dev Shed Tutorial Topics: