I try to seperate the php code from the html as much as possible. So, if a page is dynamic, have php figure out the dynamic parts first, put them into variables such as $html, or $pull_down_menu, or whatever. Then all that needs to replaced in the html is that section. HTML coders aren't dumb, so they can be trusted with a simple <?= $html ?> placement.
Additionally, I try to seperate php logic from php presentation as much as possible. This means creating as many variables as possible that affect how things look and then including a conf.php file that the coders can also change pretty easily with good documentation. Moving even further in this direction, my logic code calls many presentation functions which I find HTML coders can also decipher rather well. You can put these in another include file so your designers don't ever have to touch any of your precious logic. Then ... if you have time ... you can make an admin screen to change, edit, and preview the finished product. Jim >Hi There, > >I'm looking for some community feedback on being a coder working >with designers. Techniques that work that allow my php-inept >page/graphic designer comrade make changes to the layout of the page >without destroying my code, or requiring me to make any changes >whatsoever. > >Or what is the best process? Code the dynamicity (heh -- sad thing >is you know what i mean by it) of the site, then integrate a >designers HTML into your code, *or* the other way around.. have the >designer create the site using all static html files, then go in and >remove sample data to be replaced with dynamic data (pulled from a >DB, for example). > >I'm about to enter a very large project working with about 3 or 4 >designers and 2 other coders and any suggestions on making this >relationship work is greatly appreciated. > >Mike > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Jim Musil --------- Multimedia Programmer Nettmedia ------------- 212-629-0004 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]