Home arrow PHP arrow Page 5 - Building a Site Engine with PHP, Part 1

Build It and They Will Come - PHP

Content management systems are becoming very popular, but what if you took it a step further than that? Thatís exactly what I plan to show you how to do in this series of articles. Iím going to explain how to build a site engine. A site engine is a core code base and database that can run multiple sites that are completely different while all running in unison, using all the same code, yet separate from each other.

TABLE OF CONTENTS:
  1. Building a Site Engine with PHP, Part 1
  2. First Things First
  3. Better Than your Local Rental Security Officer
  4. The Template Got All GUI
  5. Build It and They Will Come
By: James Murray
Rating: starstarstarstarstar / 136
June 07, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Once you get the site engine up and running you are going to want to make a site with it. But wait! You should first build something that no one but you, or other site administrators, will see -- the administration site.

Of course you're not going to want to update two database tables every time you make a new block; that's why you'll want to build a simple site that has the entire front end for doing that. When the site engine is all finished, it's pretty much just some HTML here and there to make your admin site. Then when you're ready to run another website off the site engine, all you have to do is make the template and block files, upload them to the server and then simply go to your admin site, login, fill out a form to add the site, then fill out the forms to initialize the plug-ins and modules (which can be reused for each site so you don't have the have duplicate plug-ins and modules), fill out a form to add the blocks and that's about it -- the site's up running and ready to go.

Now that I've hopefully explained what the site engine does, how it does it and why, I think you'll have a good understanding of what's to come in the following articles. They'll go into further detail and explanations on each of the four previously outlining sections. However if you're kind of lost on the whole subject, I still encourage you to keep a look out for the next four parts to this series, as I'm sure they'll shed a bit more light on the subject of how to create a site engine.



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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

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

 


Dev Shed Tutorial Topics: