PHP
  Home arrow PHP arrow Building a Site Engine with PHP, Part 5
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
PHP

Building a Site Engine with PHP, Part 5
By: James Murray
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 32
    2004-07-19


    Table of Contents:
  • Building a Site Engine with PHP, Part 5
  • Plug it in, Plug it in!
  • All your Modules Belong to MySQL
  • Improve your Blocking Skills
  • Build your very own Theme Park!

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Building a Site Engine with PHP, Part 5
    ( Page 1 of 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.

    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
     

       

    PHP ARTICLES

    - Getting Data from Yahoo Site Explorer Inboun...
    - Method Chaining: Adding More Selecting Metho...
    - How to Split a File During an FTP Upload Usi...
    - Expanding a Custom CodeIgniter Library with ...
    - Using the Yahoo Site Explorer Inbound Links ...
    - Building a CodeIgniter Custom Library with M...
    - Building an E-mini Trading System Using PHP ...
    - Completing the MySQL Class with Method Chain...
    - Building Dynamic Queries with Chainable Meth...
    - PHP Encryption and Decryption Methods
    - Building a MySQL Abstraction Class with Meth...
    - Completing a Sample String Processor with Me...
    - Mastering WHILE Loops for PHP and MySQL
    - Method Chaining: Adding More Methods to the ...
    - Method Chaining in PHP 5





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek