Irish SEO,  Marketing & Webmaster Discussion

 
Chitika Malls

Do you have a local test environment?

This is a discussion on Do you have a local test environment? within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; Okay WD, so you're talking about developing on the live server, but in a test directory. So a remote test ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

View Poll Results: Do you have a local testing environment?

Yes 29 96.67%
No 1 3.33%
No comment 0 0%
Voters: 30. You may not vote on this poll

Reply

 

LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 20-02-2007, 01:04 PM
Frontpage User
 
Join Date: Dec 2006
Posts: 27
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Sparks will become famous soon enough
Default

Okay WD, so you're talking about developing on the live server, but in a test directory. So a remote test environment then. Which is a lot safer than what I thought you were saying (and which I've seen done commercially, without version control...).

What do you do then, if you make a mistake and the remote test environment crunches on the live database instead of a test database? (This can be prevented on a local test environment more easily than on a remote one). And what if you want to test the site on a new version of some part of your LAMP stack? And how do you guard against disaster in the server farm itself (a major fire, for example)?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #42 (permalink)  
Old 20-02-2007, 01:38 PM
Coder
 
Join Date: Dec 2006
Location: Ireland
Posts: 34
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
webdream will become famous soon enough
Send a message via Skype™ to webdream
Default

hi sparks,

We would also produce a DB clone for development purposes.

Fire in the Data Center? ... have a look at deg.ie , they probally have all the info there on fire suppression etc.

To be honest, the only real risk of using a live server as a test environment would be through sloppy or experimental coding. This could increase server load if you had multiple sql queries running in an eldless loop for instance. If there was any significant risk of our dev. work affecting live websites, we would indeed use a local machine.

Let's be realistic here, your clients web apps. are exposed to a greater risk from other sources.... being on a shared box for instance where you don't know who is doing what with other sites, or using a box where open source apps. are running (Joomla etc.). In terms of a discussion about risk reduction, these factors are of a far greater consequence.
__________________
http://www.webdream.ie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #43 (permalink)  
Old 20-02-2007, 01:42 PM
blacknight's Avatar
Web Slave
Recent Blog:
 
Join Date: Jan 2006
Location: Ireland
Posts: 6,521
blacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to behold
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

Quote:
Originally Posted by Sparks View Post
And how do you guard against disaster in the server farm itself (a major fire, for example)?
If you use a proper data centre, as opposed to a comms room in an office building, then fire isn't an issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #44 (permalink)  
Old 20-02-2007, 01:56 PM
Coder
 
Join Date: Dec 2006
Location: Ireland
Posts: 34
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
webdream will become famous soon enough
Send a message via Skype™ to webdream
Default

good point... wish someone would point that out to all these companies that buy local mail servers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #45 (permalink)  
Old 21-02-2007, 10:59 AM
Frontpage User
 
Join Date: Dec 2006
Posts: 27
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Sparks will become famous soon enough
Default

Quote:
Originally Posted by webdream View Post
hi sparks,
We would also produce a DB clone for development purposes.
Yes. The problem lies in that one time that you copy off the live site to a development directory, forget to change the configuration.php file (or its equivalent), and mangle the live database as a result.
With a local test environment, you can't do that (assuming your remote site database is setup in a sane way to only allow localhost access).

Quote:
Fire in the Data Center? ... have a look at deg.ie , they probally have all the info there on fire suppression etc.
Fire was the first thing I thought of, but there are many others that the data centre company can't prevent. Granted, we get few earthquakes here, but we do get terrorist attacks (or used to at least, but I'm a pessimist ), muppets with JCBs digging up cables, etc, etc, etc. And while the hosting company will try to prevent this sort of thing, you're still the one that suffers if they slip up. At least with local environments, you have your copy of the site in subversion, so you can get back up and running with somone else a bit faster.

Quote:
To be honest, the only real risk of using a live server as a test environment would be through sloppy or experimental coding. This could increase server load if you had multiple sql queries running in an eldless loop for instance. If there was any significant risk of our dev. work affecting live websites, we would indeed use a local machine.
And if there was any significant risk of me being in a car accident, I'd put on my seat belt just before the crash.


Quote:
Let's be realistic here, your clients web apps. are exposed to a greater risk from other sources.... being on a shared box for instance where you don't know who is doing what with other sites, or using a box where open source apps. are running (Joomla etc.). In terms of a discussion about risk reduction, these factors are of a far greater consequence.
First off, we're not talking about a shared box, but colocation. Or at least I was. Shared boxes, we agree on this, are a bit more risk than I'd like for something critical.

Secondly, I'll trust something that's open source like Joomla or PHP or Apache or Postgres or Linux (heck, even MySQL) long before I'll trust something closed source where I can't figure out what the heck just went wrong. And in terms of risk reduction, I'd put development on the live server by a new employee who's not yet up to speed and on whose job-specific training your uptime is depending as being about the biggest risk going.

Last edited by Sparks; 21-02-2007 at 11:11 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #46 (permalink)  
Old 07-08-2007, 03:46 PM
Coder
Recent Blog:
 
Join Date: Mar 2007
Location: Kildare Ireland
Posts: 59
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Ciarán Mc Cann will become famous soon enough
Send a message via MSN to Ciarán Mc Cann
Default

I sure do!! I couldnt live with out it, I use WAMP 5 , its very very useful. I develop all my PHP websites on it and also PHP and Mysql applications I develop also. Best piece of software I have ever downloaded!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #47 (permalink)  
Old 12-08-2007, 12:41 AM
Coder
Recent Blog: Silver skies?
 
Join Date: May 2007
Location: Dublin
Posts: 50
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ConorP will become famous soon enough
Default

VMWare is a wonderful thing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #48 (permalink)  
Old 10-10-2007, 09:48 AM
Frontpage User
 
Join Date: Aug 2007
Posts: 23
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
squibs will become famous soon enough
Default

I tend to develop on the server also. Most of my sites are for first timers, so I hide the real thing behind a holding page, and make it live once the client has signed off on it. I do versioning locally with copious use of copy/paste/rename locally. Not textbook I know, but it works for me.

I had too many disparities between the XAMPP environment and live servers - some down to windows/linux stuff and more down to the vagaries of hosting environments - php.ini and stuff. I couldn't justify dedicating a box to a linux install, and dual boot takes too much time to - well... reboot.

VMware does look like a a good solution, if you factor in that you will still have hosting environment differences. I installed a fedora image with the player version but never spent much time on it. Does it burn any resources when the player isn't running? Can windows browsers access sites served from apache within the player? If so what about browsers on another machine on the network?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
environment, local, test

Thread Tools
Display Modes

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 On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Local Weather Widget blacknight Forum Feedback, Development and Competitions 17 17-12-2006 05:20 PM
ID a Hosting environment EdenWeb Webmaster Discussion 13 11-11-2006 04:19 PM
Irish ISP Test - New look blacknight Site Reviews / Announcements 1 16-05-2006 09:55 AM
Provider Local Registry mowd Webmaster Discussion 1 14-04-2006 09:59 AM
Local Development Environment blacknight Webmaster Discussion 7 03-02-2006 11:55 AM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 11:47 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0