New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Setting up Web Development Environment on new Mac


Post Reply New Thread Subscribe

 
Thread Tools
forgueam
iNET Code Serf
 
Member Since: Aug 28, 2007
Posts: 6
forgueam is on a distinguished road

forgueam is offline
So, I've been a LAMP web developer for quite a long time and have always done my development on Windows machines. I've just made the switch to an iMac and am ready to delve back into programming.

I was wondering what your recommendations are for setting up a nice development environment in OS X. Some of the base things I would need:

Apache, PHP, MySQL, subversion, etc...

Do most of you Mac web developers install these apps independently, or do you recommend something like XAMPP? Also, what is your preferred editor? TextMate? Coda? Something else? Are there any development work flow best practices that I should be aware of?

Thanks! I can't wait to hear your comments and suggestions!!

Aaron
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
I'm somewhat of an oddball. There is method to my madness though. 10 years of experience, trials, errors, honing. I've been through MSSQL, ASP/.net, VB, PHP, PY, ColdFusion.
I found my groove about a year ago. And it goes a little something like this:

HOST
Server: Windows / IIS
Server Language: ColdFusion
Database: MySQL

WORKSTATION
OS: Mac (whatever's current)
Programming: Coda
Synchronization: Automator + Transmit + Time Machine
Database: Navicat

TESTING
VMware, XP+IE6
VMware, XP+IE7

What's possible with this combo?
http://www.WebVeteran.com/portfolio/
You should see the two sites I'm working on right now... ooooohhhh mmaann

If you use coda, DO NOT use it's built in preview. That uses WebKit. You'll want to develop with Firefox since it renders more like Windows IE. Then of course you need to test on a true IE. Thats where the virtual machines come in handy. Create an XP with IE6. Then duplicate the image and install IE7 on it. You can then go back and forth testing between IE6 and IE7.

schweb This has to be one of the best threads ever in MF history...
Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
If you're looking for an out-of-the-box server stack, then there's MAMP
http://www.mamp.info/en/index.php
Though you can do things "the hard way" if you like. I would, just to get things as similar as possible to my deployment server's configuration (whatever that may be.)

I use TextWrangler as my editor. Dreamweaver when I need something visual.
QUOTE Thanks
lifeafter2am

 
lifeafter2am's Avatar
 
Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
lifeafter2am is a jewel in the roughlifeafter2am is a jewel in the rough
Mac Specs: MacBook Pro Unibody

lifeafter2am is offline
I guess I am old school, I do all my php development in emacs on my Linux server.... then again, I came from Linux, and for the most part we didn't have them there fancy IDE's.

My host uses Linux servers, so my Linux server basically mirrors what they have, makes it really easy.

masakatsu agatsu

@lifeafter2am
QUOTE Thanks
jonnyd

 
Member Since: May 10, 2007
Posts: 502
jonnyd has a spectacular aura about
Mac Specs: Mac pro quad 2.66 / G5 1.8

jonnyd is offline
I have 2 different setups on 2 hard disks, which is a complicated way to keep things simple - one of then boots php4 and the other php5.

I run Apache2, mysql and aforesaid php. I did everything 'manually', rather than use one of the packages, primarily because I wanted to know/learn exactly what was happening so I could fix it when it broke.

I also installed all the toys, like GD support, imagemagick etc. That was a fair amount of work, as it also involved installing the compiler/xtools an so on.

For actual development I'm afraid to say I use Dreamweaver. As well as having the spiffy graphics, you can go hardcore and just code it, if you want. I like the choice, but I do acknowledge it doesn't force me to be as disciplined as a plain text editor would.

Lastly, grab a copy of diffmerge for whenever you want to splice in updated code / custome addins. rarely used, but for me the best of the crop.

Quite a lot of work in the end - as you'll no doubt already know 'installing' a lot of stuff like that involves a fair amount of headscratching and Googling.

Have to say though, the end result I'm pretty pleased with. The Mac makes a great webserver. Attach it to a UPS and it's rock solid. Mines a 4x2.66 mac pro, with just about everything that can be expanded stuffed to the gills.

Just as an aside - if you want to run Apache through a router, as I do, the httpd.conf file and port forwarding on the router take a little tweaking. If you need any help, holla.
QUOTE Thanks
stockup

 
Member Since: Mar 20, 2008
Posts: 1
stockup is on a distinguished road

stockup is offline
Different sites need different tools. Starting a new site, inheriting a mess from someone else, need speed or security, want to block hacker, how many languages, want to change CSS or graphics often?

For 2 sites that serve languages, PHP, MYSQL and Navicat, BBEdit and PHPmyAdmin:
http://www.cleanaireurope.com Note: language for every page can be switched instead of redirecting to the language home.
http://www.alpha.cleanaireurope.com


For a quick simple NEW site I use Site Assist or Coda:
http://www.cleanair.com/Equipment/Express/main.html
http://www.betterdata.org/

For HTML only, Dreamweaver and Coda:
http://www.rentals.cleanair.com/
http://www.cleanair.com/

For managing stats AWStats, PMWiki, Automator and iCal.

I generally have 2 versions of Dreamweaver open since one private site has 100,000 docs and take to long to cache. I also us both BBEdit and Text Wrangler simultaneously. BBEdit can Tidy, check code and Preview but Text Wrangler is faster for Find and Replace and I also use it for non web text.
QUOTE Thanks

Post Reply New Thread Subscribe


« Does anyone know? | .mac monthly bandwidth »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Web Development GulfVetSAF Web Design and Hosting 13 05-18-2007 11:33 AM
Apples History.. Bainzey Schweb's Lounge 3 01-11-2007 11:33 PM
Any Mac web broswer that actually works well with eBay? atomheartmother Switcher Hangout 25 09-17-2006 04:09 PM
new to mac + web developement ajthornton Web Design and Hosting 4 06-05-2006 01:08 AM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 11:57 AM

All times are GMT -4. The time now is 09:05 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?