From: <ma...@pr...> - 2004-08-01 13:49:28
|
Update of /cvsroot/meshdb/www/ipdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32625 Added Files: README Log Message: add README file for developers --- NEW FILE: README --- This is the draft mesh ip assignment application. It has been written using Macromedia Dreamweaver MX, and as a result has a Connections/ folder and a Templates/ folder. Both of these are dreamweaver "features" which encapsulate the database connection parameters and the single page templates for the whole site. While it would be nice if you could use Dreamweaver MX (versions before that just dont bother), it's just PHP after all so you could just use your favourite text editor. If you dont use Dreamweaver MX, please observer the following: 1. Don't edit the dreamweaver code sections at the top of each page 2. Do change the template *and* the target file to avoid problems. Dreameaver templates are not include files, they are design-time schisms which are used to automatically generate pages, and to automatically update many files when the template those files are based on changes. Pages based on a template have html to define the start and stop of editable region(s) of a file which are based on a template. These resions will not be changed when a file is updated due to it's template changing. Also, code before the first <html> tag should be treated with care as editing a macromedia generated php code makes that element uneditable except as plain old php scrpting, which screws up the UI somewhat. eg: <!-- InstanceBeginEditable name="doctitle" --> <p>Blah Blah</p> <!-- InstanceEndEditable --> The above sections will be unmolested by template updates, as will php code sections before the first <html> tag. I expect the whole template thing may be stripped out, but for the initial development i'd like to stick with the GUI so deveopment is faster. Dreamweaver produces reasonable php, so it's best just to leave it alone. Cheers Brett Maxfield |