-
1. Re: Need beginner advice on test server and site layout
SnakEyez02 Dec 18, 2010 6:16 AM (in response to TCarp)Yes, XAMPP works fine. I personally only have experience with MAMP and WAMP, but it's all the same.
As far as advice goes you can either use the default directory that XAMPP creates or you can have the program point to your current website parent directory (one level above the site(s) you define). Typically you will just use the address http://localhost/folder to connect to your site based on my previous comment. As far as mySQL goes you should know how to use phpMyAdmin which is distributed with the XAMPP package or you can always use the mySQL Workbench ( http://wb.mysql.com/ ) if you prefer a more graphical and traditional application-like interface.
With regards to the "test" server. Just set it up as you would an FTP server. The connection will be a local/network connection and the localhost address will work. Set the model to PHP/mySQL and you are good to go. If you don't use the localhost address and use the IP address of the computer sometimes firewalls can get in the way, so that is why it is recommended to use the localhost unless you know how to add a rule to your firewall to allow local connections.
I think that should cover it all. If you still have questions or have issues getting scripts to run feel free to post back.
-
2. Re: Need beginner advice on test server and site layout
MurraySummers Dec 18, 2010 6:51 AM (in response to SnakEyez02)You might also want to familiarize yourself with the Dreamweaver Applications Development forum - which is where questions about server setup and scripting are best placed.
http://forums.adobe.com/community/dreamweaver/dreamweaver_development
-
3. Re: Need beginner advice on test server and site layout
David_Powers Dec 18, 2010 7:02 AM (in response to TCarp)TCarp wrote:
Is the XAMPP distributor fine for my needs?Is there any advice on how to set up the directories? In other words, how to integrate DW and the test server?
Setting up with XAMPP and Dreamweaver: http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
Building your first dynamic website (3-part series): http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
For more in-depth material, you might also be interested in my book, "Adobe Dreamweaver CS5 with PHP: Training from the Source."
-
4. Re: Need beginner advice on test server and site layout
TCarp Dec 18, 2010 7:32 AM (in response to SnakEyez02)Thanks (and thanks Murray)
I do need a little more hand holding. I've never set up an ftp server (or any other for that matter).
I decided to go with WAMP Server (your wamp). It worked fine.
I'm assuming the next thing to do is to go to DW and set up the test site. I went to Manage Site for the site where I'm using PHP/MySQL and selected Servers and the plus (+) sign to add. This is where its asking for FTP, etc. info. I've done some reading and it's more advanced than I. So, with a priority toward understanding (not just getting it set up), I'd like to walk through the next steps
Remember that I used the default directory location for WAMP. Also the location of my DW web (on my laptop) is MyDocuments>MyWebs>the sites.
What info goes where?
Thanks
Tom
-
5. Re: Need beginner advice on test server and site layout
Nancy O. Dec 18, 2010 11:27 AM (in response to TCarp)For simplicity, I keep my Local Site in My WAMP www directory.
I see no point in keeping 2 local versions. Do you?
LOCAL INFO:
Local Root folder: C:\wamp\www\SiteName\
TESTING SERVER:
PHP/MySQL
Local Network
Testing Server Folder: C:\wamp\www\SiteName\
URL: http://localhost/SiteName/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
6. Re: Need beginner advice on test server and site layout
TCarp Dec 21, 2010 7:44 AM (in response to Nancy O.)I know I'm being dense but...
I just don't get what information is provided when setting up the test server.
Wamp is installed using default directory structure (wamp>www) and I've moved the code for one site (mysite) to the wamp>www folder.
I'm now setting up the test server. It wants these fields:
FTP address (??)
Port (assume stays 21)
User name (is it needed?)
Password (is it needed?)
Root directory (??)
Web URL (??)
The production site is www.mysite.com
Sorry again for not getting this. Should be simple.
Tom
-
7. Re: Need beginner advice on test server and site layout
TCarp Dec 22, 2010 7:34 AM (in response to Nancy O.)Found a good example. Figured it out.
Thanks
Tom




