开发者

IDE for Web App development that keeps local code and Server code in Sync [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_运维百科 Closed 11 years ago.

All my 12 years of experience I have used Vi/Vim for programming because all IDEs are extremely bulky and causes the computer to run slow But for developing Web Apps in PHP/javascript, the major pain point has been to make changes locally and sync it with the code in server. I have been uploading files manually but soon I lose track of changes made in Server which needs to be submitted to my source code control system ( svn )

What would be the best IDE which is minimal and fast but has this functionality of allowing coding locally but allowing to upload the changes in the server or maybe even allow me to make the change directly only in server


Personally, I find the vast array of tools an IDE provides far outweighs the "bulkiness" of it.

As for your question, why not check-out your repository directly to the web-server, ensuring of course that the web server itself is configured to NOT serve up anything in a .svn folder?


VIM can access files directly on the remove server, so you can edit it just in place like you have asked for it in part of your question ("or maybe even allow me to make the change directly only in server"):

vim scp://user@hostname.example.com//path/to/file.txt

The path syntax can differ depending what you need (username, port etc.).

Most editors and IDEs have support for something like that btw.


IMHO, the best IDE is still Unix,

Keeping your development code and production code in sync would be a nightmare! The whole point of having a seperate development environment is to stage changes to your live system! Indeed as the level of sophistication grows, there are usually an increasing number of separate environments between where you do your development and where the code runs.

The best way to deploy onto your live system would be by checkout from SVN (having checked in the code from your development env). If your production system can't access the respository, then checkout locally and use rsync to deploy.


It may not satisfy the lightweight criteria, but Aptana Studio does allow you to automatically keep local and remote code in sync, and to edit files directly on the remote server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜