Hi, I'm new to PHP and WEB site development, but have coded in C/C++, Java, and multiple shells for over 20 years. So far I've found this stuff really neat (and challenging). Anyway, I have a few questions dealing with file locations, [de facto] directory structures, etc., when designing a WEB Site whose content will be managed, for the most part, using PHP. BTW, I've read Welling and Thompson, a lot of the docs on www.zend.com, and various other useful PHP web sites. I've also written some simple functions, played with templates (inc smarty), etc. About the only info I've been unable to find are suggestions as to how to layout the *.php files in a WEB Site.
I develop with Dreamweaver MX on Windows XP Pro using IIS. When complete, I upload to my WEB host. On Linux, I use a text editor (Visual Slick Edit) and Apache. Both systems have the latest stable MySQL and PHP releases. Sources are managed with CVS. 1) How do experienced developers layout their [dev] directory hierarchy? For example, is there an accepted place to put one's function libraries? On IIS (Windows XP), the default directory structure is c:\inetpub\ AdminScripts iissamples mailroot Scripts wwwroot\ myproject1 myproject2 ... myprojectN where the myproject* directories are my current WEB Site designs. 2) When using CVS, I should think that the PHP files would be checked-out into a directory that IS NOT in a [local] WEB Site directory (i.e., to avoid littering the structure with CVS directories). When the files are ready to be uploaded to WEB site they would then be exported into the WEB Site directory for uploading. Is this how you guys do things? If one can point me to docs/books/webs that cover these (and other similar questions) I would be very grateful. Also, if you just want to tell me how you do it, I would appreciate that very much. Thanks, in advance. Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php