Forum Captain'sLog Crewlist CrewWanted BoatForsale Classifieds Boat Sailor

ALL Boards
News And
Cruising &
Building &
& Gear
7knots FAQ
& General
Bug Reports
Misc & Other
Test Posts
ID: 27 Title: Debugging Is Done On-The-Fly On Production Version Replis: 0 Read: 1053 Author: 1
Name: Tom Yang  Posts: 110    Vancouver Time: 2003-1-30_4:49:32 Quote    Reply
Before the new server swapping, I took adventage of it and did a full-month wanton development. Once the new version takes over, I do live improvements on-the-fly directly on the production version. Of course this is wrong. Any non-personal internet website should have a production version running in front and a similar testing environment for development in the back. This is not the case in 7knots at this moment due to lack of resources. To minimize the risk, I test it right after very small changes. Users can be annoyed upon seeing crashed scripts or seeing testing data coming in and out. Sometimes, there is no such thing as small changes,e.g. typos. It can be scary. The emacs editor saves up to 10 copies of earlier versions and the sytem saves the bulk development every week so I can alwary revert it to a working sets upon catastrophe.

In the near future, I will have the Apache run two virture hosts, one is, one is with the apache document root mounting on a different location.