Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Best Practices and Testing

Best Practices and Testing
Thread Tools
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Aug 3, 2006, 07:01 PM
 
Hi, all. I've been doing web design for several years now and I'm really enjoying it. I hand-code in XHTML/PHP/CSS/JavaScript with a MySQL background and life is great!

One thing I know I could do better is adopting better practices for testing my code before it becomes part of my "live" (a.k.a., "production") website. Often I just edit my local files and upload them to the live server and if something goes wrong I don't always have a backup. So far I've been lucky. Sometimes I'll make a quick backup of the file I'm working on ("index copy.php" when I'm working on "index.php" in the same directory), but I know that's hardly adequate. I do make backups of my MySQL database using the built-in features of Navicat, and I rarely back up my whole drive.

I do have local MAMP installation and I'd like to start testing against that, but I'd be interested to hear from others about their approaches. Oh, and please keep the snide remarks to a minimum. For better or worse, I'm sure I'm fairly typical of most webmasters.
     
Junior Member
Join Date: May 2003
Status: Offline
Reply With Quote
Aug 11, 2006, 04:54 PM
 
I edit in BBEdit right out of Interarchy. Probably the worst practice you could ever do, other than opening the files and typing with your eyes closed then saving, I guess
www.jmarus.com - kicks by JM
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Aug 11, 2006, 04:56 PM
 
Originally Posted by jon31
I edit in BBEdit right out of Interarchy. Probably the worst practice you could ever do, other than opening the files and typing with your eyes closed then saving, I guess
Yeah, I'm pretty much editing in TextWrangler right out of Transmit, so I'm equally bad. But I want to change.
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 10:56 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2