I'm new to wampserver and have a vision of how i want to use it and am unsure :
(a) if its possible
(b) if its wise to do it this way
== My Current Set-Up ==
I have many, many existing projects. About a 30 overall and 4 projects that I deal with on a daily basis.
ProjectA is hosted for public access by Hosting Company A on ServerA (PLESK)
ProjectB is hosted for public access by Hosting Company B on ServerB (CPanel/WHM)
etc...
ProjectZ..etc...
All my projects are under version control in a subversion repository which sits on my local machine (Windows XP)
I use both Dreamweaver and PHPED to develop my projects.
On my local machine I have working copies of each project stored in a "projects" folder.
E.g The the web scripts of ProjectA are in:
"C:\Documents and Settings\Me\My Documents\projects\ProjectA\webserve\"
Each of these, local, project folders are structured similar to this:
My Documents/projects/
--ProjectA/
---.svn/
---my_project_notes/
----README.txt
---webserve/
----inc_library
-----MyApp/
------bootstrap.php
-----ZendFramework/
----public_html/
-----.htaccess
-----index.php
As you can see:
* the project folder also contains files and notes that are related to the project, under version control. But these are not necessarily hosted on the public servers. Only the files in the "webserve" folder are uploaded to the live servers.
* public_html/index.php includes scripts that reside in webserve/inc_library/MyApp/ include path.
== My Current Work Cycle ==
One day I'd build my apps using Phing, but for now my method is very direct:
* I tweak the code
* upload to live server
* then refresh the browser to run unit tests /or just see what happened
* back to tweaking code
* at end of day: commit to svn
== My Vision Work Cycle ==
I'd like some extra steps in the cycle like:
* I tweak the code
* test on dev server first,
* back to tweaking code, or
* upload to live server
* then test on live server
* commit to svn
* back to tweaking code
== My Vision Set-Up - Incorporating a Wampserver ==
I really DO NOT want to have move my projects folder into the "C:\wamp\www" folder becuase it would ruin my local file strucure/back ups processes etc.
I really DO NOT want create an extra subversion working copy of each project in that "C:\wamp\www" folder cos it would also be hassle to keep everything synchronised.
So, now i would like use Wampserver to test my projects on my local machine:
If i point my browser to, local, "http:// projectA"
I'd like to cause Wampserver to serve documents that have are stored in:
"C:\Documents and Settings\Me\My Documents\projects\ProjectA\webserve\public_html\"
Likewise, If i point my local browser to "http: //projectB" ...i'd like it to point to the apropriate folder that resides *outside* of the "C:\wamp\www" directory.
This would be very handy.
Also, because projectA and projectB are hosted on different servers, with different set-ups, i'd like to be able to ensure that Wampserver reflects these different configurations and flip between them easily.
Is this possible?
I have read the following tutorial but still can't seem to get them to work cos it shows the files residing within the "C:/wamp/client1" directory:
* [
www.trailheadinteractive.com]
How would YOU do it?
I'd love to see a STEP-BY-STEP tutorial that specifically outlines how to acheive these goals - i am sure others would find it useful too.
Any HELP much appreciated.
Edited 7 time(s). Last edit at 06/27/2009 06:47AM by ronnystalker.