Home arrow PHP arrow Page 4 - Building PHP Applications With Macromedia Dreamweaver MX

Breaking Ground - PHP

Looking for a RAD tool to help you quickly and efficiently develop PHP-based Web applications? Or just new to PHP and MySQL in general? You might want to spend some time with Dreamweaver MX, Macromedia's latest revision of their venerable HTML editor, which comes with some nifty new ideas designed to minimize hand-coding of PHP scripts.

TABLE OF CONTENTS:
  1. Building PHP Applications With Macromedia Dreamweaver MX
  2. Hooking Up
  3. Test Drive
  4. Breaking Ground
  5. Naming Names
  6. Bringing In The Database
  7. Appearances Are Everything
  8. In And Out
  9. I, Robot
  10. Weaving The Web
By: Harish Kamath, (c) Melonfire
Rating: starstarstarstarstar / 32
December 18, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
Dreamweaver MX makes things easier by allowing you to organize the components of a Web application - static as well as dynamic - into a single entity called a "site". In order to begin, create a new site via the Site -> New Site menu and say hello to the wizard that appears.

First up, you need to specify your working directory for the site - the name of the site, the root folder for the files and the default folder to look in for images. These folders may be on your local machine, or on a different machine - Dreamweaver refers to this collection of data as the "local site".



You can also optionally tell Dreamweaver about a "remote site" - this is usually the location where your Web server is running, and where your files will ultimately go for testing and deployment. Dreamweaver allows you to also specify the access mechanism for such a remote site - FTP, LAN, SourceSafe and so on.



Finally, if you're developing dynamic pages, you should also specify a "testing server" - this is a folder which can be used by Dreamweaver to process your scripts and dynamically generate documents, either from a database or elsewhere. In an Apache+PHP+MySQL environment, this folder would be the same as the root folder for the application on the Web server. You can also specify a URL prefix, which is used when you try to access the application via a Web browser.



Here's a list of the values I specified when creating a sample site in Dreamweaver:

Local info: Site name: melonfire Local root folder: C:Apachehtdocsmelonfire Remote info: Access: FTP FTP Host: cerberus Login: me Password: ** Testing server: Server model: PHP MySQL Access: Local/Network Testing server folder: C:Apachehtdocsmelonfire URL prefix: http://localhost/melonfire/
In case you missed something, all this means is that I'll be doing all my development on my local machine (which has Apache, PHP and MySQL all talking to each other) in the folder "C:Apachehtdocsmelonfire", and will also be uploading copies of the files to a remote server named "cerberus" via FTP

 
 
>>> More PHP Articles          >>> More By Harish Kamath, (c) Melonfire
 

blog comments powered by Disqus
   

PHP ARTICLES

- 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...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap

Dev Shed Tutorial Topics: