Linux user here so take this with a grain of salt...

For development, it is easiest to work in the webserver's directory. With the assumption of Mac (OS-X+) being loosely based on BSD/Linux, you can create a symbolic link on the folder. Take your ide default folder and than make a link to that folder in the webserver directory. That way it essentially is in both places; you store the code where it is easiest to access from your IDE, and changes you make there show up automatically through the link on the webserver.

As for what I personally do, (again, as a linux user, but this should work in all modern OS's)
I generally prefer not to have my daily use machine running a web server (and db server) constantly while I am using it. I create a virtual machine. (I use virtual box which is a free download) I can make the virtual machine a different environment (provided I have install disks) if I want. When I need a webserver, I start the virtual machine. I share my data folders with the virtual machine and I mount them under the web root. It takes a bit more to initially set this configuration up, but I find it very easy to work with on a daily basis. And if I get a new machine, I just copy the virtual machine's hard disk to the new computer and I can start right away. (The VM's hard disk is just a single file in the VM's data directory.) 

--Frank


On 03/02/2012 03:20 PM, Cameron Childress wrote:
I put CF projects all in the default Apache webroot dir:

/Library/WebServer/Documents/[projectname]

Non-web projects (Flex/AIR/Titanium) I usually just leave wherever the IDE wants to put them.

I create vhosts entries for each project in Apache and make entries for each in the hosts file (located at /private/etc/hosts).  Usually I use ".local" for these.  So if I am working on www.acfug.org, the local development entry would be www.acfug.local.

That's how I do it...

-Cameron

On Fri, Mar 2, 2012 at 3:05 PM, Clarke Bishop <cbis...@inboundteam.com> wrote:
A few weeks back I switched from PC to Mac.  A key reason was that I thought Mac's have now become better development machines!

Here's my question for anyone doing web development on a Mac. How do you organize your files for development. Do you put everything under Documents, create new folders inside of your home folder? What?

Thanks for any tips.




--
Cameron Childress
--
p:   678.637.5072
im: cameroncf

-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to