Re: [ACFUG Discuss] File Organization for Mac Development

2012-03-05 Thread Forrest C Gilmore

Clarke:
A web site must be run using a web server, and that server will have a 
main or home directory referred to as the root folder of the website. 
It's possible to use a web browser to just view files in a directory 
that may have sub-folders, but that is not a true web site.


The file arrangement on a web site usually is not a critical issue. It 
depends on many factors, including the size of the site, the 
capabilities of the administrator or developer and who else will have 
access to the site. It may also depend on the particular editing 
software used to build and work with the site. For example, if FTP is 
used to transfer files to and from the site and several people do this, 
the administrator can control who can access particular parts of the 
site via FTP if the files are grouped into folders off the root.


If the site is small to medium size, say less that a few hundred files, 
and the developer is not well-versed in working with links and URLs, it 
usually is best to just put everything in the root folder. It may be a 
good idea to put graphics and photos in an images folder off the root, 
particularly if you have a large number of these files.


If this does not answer your questions, get back to me via email or phone.

Forrest C. Gilmore
391-5766
=
On 3/2/2012 3:05 PM, Clarke Bishop 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.

   Clarke

--

*Clarke Bishop**
Inbound Team *
770.642.1353
cbis...@inboundteam.com
Get my vCard here 
  
| Clarke's LinkedIn Profile 








-
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
-



Re: [ACFUG Discuss] File Organization for Mac Development

2012-03-03 Thread Douglas Knudsen
+1 for VirtualBox use, good stuff!  When I need a DB server, which is rare
these days, but it happens, I use a VM based on JeOS (
http://en.wikipedia.org/wiki/Ubuntu_JeOS ) and have Oracle or whatever
running in it.  Its a super small footprint and I don't have to add a bunch
to my system drive.  I usually run these on a FW drive or even flash
memory. Having a 128GB SSD is pure awesomeness, except in the size and
space department, kind of like Dio :)  ( kudos to A Powell for adding that
crack to my vocabulary! )


Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


On Fri, Mar 2, 2012 at 4:28 PM, Cameron Childress wrote:

> On Fri, Mar 2, 2012 at 4:23 PM, Frank Moorman  > wrote:
>
>> **
>> I generally prefer not to have my daily use machine running a web server
>> (and db server) constantly while I am using it.
>>
>
> I do kinda have a similar opinion, though I don't mind the WebServer and
> DB server running, it's CF and/or Railo that I don't want running all the
> time.
>
> So I guess on top of (or as an alternative to) Frank's way of doing
> things, I let Apache and mySQL run all the time, but I only start CF/Railo
> when I need to, at the command line.  This also gives me the
> added benefit of having some good debug output on the console for CF errors
> when and if they happen (we all write perfect code right?).
>
> -Cameron
>
> --
> Cameron Childress
> --
> p:   678.637.5072
> im: cameroncf
> facebook  | 
> twitter |
> google+ 
>
>
>


Re: [ACFUG Discuss] File Organization for Mac Development

2012-03-03 Thread Douglas Knudsen
For server based stuff, I usually put each project in a dir /servers with
each subir having a copy of Tomcat.  I'm a bit lazy here, I could play with
config files and have one instance of Tomcat, but I also like separating
things very well.  Note that if you are doing Java based server dev,
Intellij or Eclipse can point to a single Tomcat instance and deploy in
local project space ala WAR explosions :)

For non-server stuff I have a /projects folder where I put each project(
read client ) work.

SDKs like Flex and such I usually stick in a subdir of /Library, kind of
what Apple does. eg, /Library/Flex/SDK/4.1.0

I also make use of macports for managing/installing tools when I can.
HomeBrew or Fink are alternatives to this, but again, I'm lazy and rather
stick to what I know and get work done :)  Its rather nostalgically cool to
watch say Perl being compiled from source on your MBP.

While we are at it, I have to mention SuperDuper.  Great tool for complete
bootable backups.

and hey, welcome to Mac!


Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


On Fri, Mar 2, 2012 at 3: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 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.
>>
>>Clarke
>>
>> --
>>
>> *Clarke Bishop**
>>  Inbound Team *
>> 770.642.1353
>> cbis...@inboundteam.com
>> Get my vCard 
>> here
>> |  Clarke's LinkedIn Profile 
>>
>>
>
>
> --
> Cameron Childress
> --
> p:   678.637.5072
> im: cameroncf
> facebook  | 
> twitter |
> google+ 
>
>
>


Re: [ACFUG Discuss] File Organization for Mac Development

2012-03-02 Thread Cameron Childress
On Fri, Mar 2, 2012 at 4:23 PM, Frank Moorman
wrote:

> **
> I generally prefer not to have my daily use machine running a web server
> (and db server) constantly while I am using it.
>

I do kinda have a similar opinion, though I don't mind the WebServer and DB
server running, it's CF and/or Railo that I don't want running all the
time.

So I guess on top of (or as an alternative to) Frank's way of doing things,
I let Apache and mySQL run all the time, but I only start CF/Railo when I
need to, at the command line.  This also gives me the added benefit of
having some good debug output on the console for CF errors when and if they
happen (we all write perfect code right?).

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook  |
twitter |
google+ 


Re: [ACFUG Discuss] File Organization for Mac Development

2012-03-02 Thread Frank Moorman


  
  
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 
  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.



   Clarke
  
  
  -- 
  Clarke Bishop

  Inbound Team
  770.642.1353
  cbis...@inboundteam.com
  Get my vCard here 
  |  Clarke's
  LinkedIn Profile
  

  





-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
  facebook
| twitter |
google+


  


  

  



-To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserformFor more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/List hosted by http://www.fusionlink.com-




Re: [ACFUG Discuss] File Organization for Mac Development

2012-03-02 Thread Cameron Childress
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 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.
>
>Clarke
>
> --
>
> *Clarke Bishop**
>  Inbound Team *
> 770.642.1353
> cbis...@inboundteam.com
> Get my vCard 
> here
> |  Clarke's LinkedIn Profile 
>
>


-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook  |
twitter |
google+ 


[ACFUG Discuss] File Organization for Mac Development

2012-03-02 Thread Clarke Bishop
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.

   Clarke

-- 

*Clarke Bishop**
Inbound Team *
770.642.1353
cbis...@inboundteam.com
Get my vCard 
here
|  Clarke's LinkedIn Profile