473,779 Members | 1,913 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Site(s) Architecture Help! (Multiple sites)

I have developed an engine that I use for all of my clients web sites.
They are all
the same type of site, some use features A, B, & C. Some web sites just
use features A & B.

My issue is that in order for me to make a new site, I am copying the
files and then adding in the design/unique look.
This makes developing new features and fixing old features a huge
hassle because:

1) Too many files to change
2) Custom content sometimes required but not managed
3) Unable to use CVS due to all of the different files
Solution:

I need to be able to have one set of files that ALL of my clients sites
will run off of.
Each site will still:

- Have custom templates
- Custom Database (Data in Database, Not Structure)
- Custom Content (Database)
- Unique Domain(s)
- Customize Features (My engine is custom, and not a typical web site
engine.)

The development work of making features customizable and that sort of
thing is no problem.
But getting my sites to all run off of one set of files is where I need
some input.
- How can I run all of my sites off of one set of files and have each
domain work individually?

- Does anyone have any examples of an architecture that would allow me
to run all of these sites off of one set of files?
Thank you very much!
Tim

Jul 17 '05 #1
1 1882
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

de*********@hot mail.com wrote:

| I have developed an engine that I use for all of my clients web sites.
| They are all
| the same type of site, some use features A, B, & C. Some web sites just
| use features A & B.
|
| My issue is that in order for me to make a new site, I am copying the
| files and then adding in the design/unique look.
| This makes developing new features and fixing old features a huge
| hassle because:
|
| 1) Too many files to change
| 2) Custom content sometimes required but not managed
| 3) Unable to use CVS due to all of the different files
|
|
| Solution:
|
| I need to be able to have one set of files that ALL of my clients sites
| will run off of.
| Each site will still:
|
| - Have custom templates
| - Custom Database (Data in Database, Not Structure)
| - Custom Content (Database)
| - Unique Domain(s)
| - Customize Features (My engine is custom, and not a typical web site
| engine.)
|
|
|
| The development work of making features customizable and that sort of
| thing is no problem.
| But getting my sites to all run off of one set of files is where I need
| some input.
|
|
| - How can I run all of my sites off of one set of files and have each
| domain work individually?
|
| - Does anyone have any examples of an architecture that would allow me
| to run all of these sites off of one set of files?
| Thank you very much!

What I have done on one server is to create a directory where all the
main working files reside. This is where all the generic code that the
sites start development with are held.

I use apache, so in my .htaccess file, I use:
php_value include_path
"/path/to/this/site:/path/to/site-specific/includes:/path/to/global/includes:/path/to/pear"

I can then simply say include 'myfile.php'; This will search the include
path in order and find the file I am looking for. When I create a custom
file for a site, I just put it under the /path/to/site-specific/includes
directory. Then when I change a generic file, all the sites that use
that are changed at once, and I'd only have to edit customized files.

HTH

- --
Justin Koivisto - ju****@koivi.co m
http://www.koivi.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFB2Wjtm2S xQ7JEbpoRAlFOAJ 9wKVFuCCS5rjvPS zmKo1U9QvzaUACf bJWT
W+Ighx5lq0J2/w9mP09ASPM=
=RvDg
-----END PGP SIGNATURE-----
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
3090
by: Me | last post by:
I would like to redesign my existing site into php using classes. I am not the most experienced developer with PHP, and would like to know if anyone can give me some input on a starting point for a class library. Basically, the idea is to have as much of the content served dynamically, using a mySQL database. My catalog site has grown to over 1,100 pages, and is continuing to grow. It's getting ridiculous to keep performing manual...
0
1098
by: Corinna K | last post by:
Hi. I have a 3-tier system where the presentation tier is the web. The site has login and enrollment functionality and I have the classes that any online store site would have (eg order, customer etc). I'm trying to come up with an overall architecture for the site and I'm having doubts whether I'm going the right way or not. For example, the login functionality: will login be a function of class SiteUtilities or of class Customer, or will Login...
25
4004
by: Dave Turner | last post by:
I know that its impossible to completely prevent somebody from ripping a site (or cracking software) if that person has the skills and the time/patience, but there are tricks that can be employed in software which slow crackers down, from things like self-decrypting code to anti-debug tricks, and most people have a breaking point - if you can slow them down and waste enough of their time they usually move on to easier targets (and as there...
2
1779
by: hans | last post by:
Hi! I am new to .NET (coming from Java). We have to implement a desktop application which extracts data from a database, does some analysis, filtering etc. and displays the results. I have noticed that in .NET applications Windows widgets like the DataGrid are often directly bound to a DataSet Object. For me this means essentially a 2 tier architecture instead of a 3 tier architecture. I am used to seperating the application into 3 tiers:...
3
3177
by: Mark Kamoski | last post by:
Hi-- Please help. How can one implement a simple site search for an ASP.NET site that consists of ASPX and ASCX content pages? I have a small site (of less than 100 content pages). The content pages are of type ASPX and ASCX.
3
1168
by: Griff | last post by:
Investigating possible architecture for an ASP.NET web solution. I am familiar with the architecture of two multi-site systems. Neither are by any means ideal. One is pure Classic ASP and the other is Classic ASP + VB6 DLLs. Pure ASP: This utilised a complete copy of the ASP code set for each customers' site. Mixed ASP + VB6 DLLs: This utilised a separate site for each customer's
3
1237
by: bmntech | last post by:
I want to create a client app, adding value to and building on my Web app. The user of this client app will be able to seamlessly access the public web site, but will also have additional functionality and content not available on the public site. The rational is to allow the user to work disconnected, to use the client's processing power, to remove the communications delay and to provide an additional layer of privacy.
0
1178
by: brown | last post by:
We started an asp.net 2.0 web site with the new login controls. It seems like the Membership and MembershipUser functionality is attached to the web site, so all the web pages for the site will have to be in the same project, in this correct? We are using the asp.net web application project model instead of the new asp.net 2.0 web site model based on folders. We'd like to just use the built in Membership and MembershipUser help and not have...
2
1696
by: localp | last post by:
what is a web site and file architecture ? why do we write it ? and what is its content ? plzz help me.
28
1620
by: parag_paul | last post by:
http://concentratedlemonjuice.blogspot.com/2008/06/about-c-puzzles-on-my-blog.html I actually am searching for more work done on C now, today there are many sites that will provide you college level understanding of pointers, buta time comes when in a software project you will have to go ahead and decide about using some feature of C++ that you never used some funda of C that you never saw ,and it adds to the cleanliness of code and...
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.