I have been having this debate with my boss for a long time, now I am having doubts about myself.
We work in a small team, with basically just me as a web developer and another assisting me when I need to do grunt work 😛
My boss is trying to make me work on code that is directly on a test server, so he can check up on my progress…
I am insisting on working locally then uploading it when it’s more stable, kinda like patches, because I don’t want testers (my boss or sometimes even clients themselves) to see errors that are bound to happen while i am coding… and I save very frequently so working remotely means slower saves <_< which I find annoying.
So any opinions guys?
Its best to code on a development server (bascially local) and once you are finished with your code and tested it push it to the live/test server.
It’s a very bad habit to develop directly on the live/test server as you are bound to get conflicts with other developers.
As you are working with another person you should also implement a revision control system. (Well basically even if you’re developing solo you should. I also got one for my private projects as ist just makes it easier to revert mistakes.)
If you got a revision control system you can agree with all developers to only chek in changes that has sucessfully been tested locally and then create a commit hook that will update all commits to the testserver automatically.
So every time the revision is updated the test server follows while between commits the testserver stays stable.