----- Original Message ----- 
From: "Pete" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 30, 2007 7:39 PM
Subject: [php-list] PHP and Dreamweaver



I don't use Dreamweaver, tried it once, and couldn't get it to
understand PHP! <G>

But a client wants me to create some PHP sites where his designers can
edit in Dreamweaver.  I don't think that this is possible, does anyone
know if it is?  Can you actually view the output from PHP in
Dreamweaver, and then edit the source, and see the changes in the PHP
output?  Of course, the designers will only be dealing with the
graphics, etc.

My PHP usually defines how the site will look, using includes and
databases.
------------------------------

Hello,
Dreamweaver can't do anything with PHP. However dreamweaver can work with 
files from the server via FTP: so it is possible for someone to work on the 
pages in Dreamweaver but none of the content from the PHP would be displayed 
in Dreamweaver.

It is far better to template the site and keep the HTML and PHP separate 
otherwise scripts are going to get broken.

You are probably using headers and footers for the HTML to be included. Here 
is what I would do.

Throw all the templates/CSS into one folder. In each template place a tag 
for where the content goes - ie <[content]> and use this tag to split the 
HTML into a header and footer so that the client can still use his 
dreamweaver. Keep your PHP generated content basic and bland and do the rest 
in CSS so the client can edit there.

Thanks Rob M.

Reply via email to