Web developers - Is it better to do development on your local machine or on a remote host?

后端 未结 17 1523
予麋鹿
予麋鹿 2021-01-31 03:07

What are the pro/cons of doing web development on your local machine rather than on a centralized development server? For those that do dev on your local machine, how do you kee

17条回答
  •  情深已故
    2021-01-31 03:17

    Both. Do some integration and unit testing on your development server (which, ideally, should be as similar to your live server as possible, but local), then do some acceptance testing in a QA environment, which should either be the same machine as your live server, or exactly the same setup (hardware, software, etc.) and should be remote.

    When it comes to the database part of the question, you could either:

    • each have your own copy of the database OR
    • keep data/structure in sync by running a centralised script (maybe as part of your build)

提交回复
热议问题