PHP IDE - 想要使用FTP同步本地存储 [英] PHP IDE--Want to sync local storage with FTP

查看:267
本文介绍了PHP IDE - 想要使用FTP同步本地存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前使用Notepad ++进行大部分开发。我一直在检查其他更全功能的选项,并希望切换(我特别是Aptana的粉丝到目前为止)但是有一件关于Notepad ++我真的很喜欢并且我无法获得至今。

I currently use Notepad++ for most of my development. I have been checking out other, more full-featured options and would like to switch (I'm in particular a fan of Aptana so far) but there is one thing about Notepad++ that I really like and I haven't been able to get so far.

我目前的工作流程是这样的:工作流程(我试图嵌入这个图像,它出现在预览中,但不在帖子中,对不起)
工作流程http://evanalyze.com/images/workflow.jpg

My current workflow is something like this: Workflow (I tried to embed this image and it showed up in previews but not in the post, sorry) Workflow http://evanalyze.com/images/workflow.jpg

流程如下:


  1. 从网络服务器下载文件

  2. 在NP ++中进行编辑

  3. 保存(这会自动保存我的默认目录中的本地副本,也是我使用带有Tourtise SVN的Subversion设置的文件夹)

  4. 当我想提交对SVN的更改时,请浏览具有最新版本

  1. Download file from web server
  2. Make edits in NP++
  3. Save (this automatically saves a local copy in my default directory, which is also the folder I have setup using Subversion with Tourtise SVN)
  4. When I want to commit a change to SVN, go through the local folder that has an up to date copy

我无法弄清楚如何处理Aptana会自动存储我下载的文件的本地副本从我的服务器,编辑并保存回服务器。有办法做到这一点吗?如果是这样,那将立即解决我的问题。

What I can't figure out how to do with Aptana is automatically store a local copy of a file I download from my server, edit and save back to the server. Is there some way to do this? If so, that would solve my problem immediately.

其他选项是建议更好地管理我的服务器,编辑器和我的SVN存储库之间的关系。我知道Aptana也可以访问我的SVN存储库。有没有一种简单的方法可以在我想要的时候从Aptana中提交更改(这意味着我可以将Tourtise从我的方程式中拿出来)?

Other options would be a suggestion for a better way to manage the relationship between my server, my editor and my SVN repository. I know Aptana can access my SVN repository too. Is there an easy way to commit changes from within Aptana when I want to (which means I could take Tourtise out of the equation I guess)?

任何建议都值得赞赏。谢谢。

Any suggestions appreciated. Thanks.

推荐答案

我觉得你做的事情有点奇怪。

I think you're doing things a bit strange.

您已经拥有SVN存储库中的所有信息,为什么不利用它?

You already have all your information in an SVN repository, so why not take advantage of that?

您在计算机上保留一份工作副本以进行开发和测试。保存并提交对SVN的更改。在您的服务器上,执行SVN export (或 checkout ,使用适当的服务器规则阻止对<$的Web访问c $ c> .svn 文件夹),你很甜蜜!

You keep a working copy on your computer for development and testing. Save and commit your changes to SVN. On your server, do an SVN export (or checkout, with appropriate server rules to block web access to the .svn folders), and you're sweet!


----------------------         ------------         ---------------
| Local Working Copy |  <--->  | SVN Repo |  <--->  | Live server |
----------------------         ------------         ---------------

这意味着您永远不必担心FTP,或者必须弄清楚哪些文件已在本地更改,因此需要更新。

This means you never have to worry about FTP, or have to figure out which files have been changed locally and hence need to be updated.

这篇关于PHP IDE - 想要使用FTP同步本地存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆