且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Subversion的web开发

更新时间:2023-12-04 08:11:16

有是文件夹结构到你的储存库标准,通常由至少一个树干和分支的文件夹中。这是因为颠覆允许你创建一个分支(它复制了树干,并允许并发提交),这样你就可以说你的工作网站2版。

There is a standard of folder structure to your repository which typically consists of at least a "trunk" and "branch" folder. This is because Subversion allows you to create a branch (it copies off the trunk and allows concurrent commits) so you can work on say "version 2" of your website.

我个人不会造成在htdocs文件夹的回购协议,我会做它的外面。我认为一个好的结构可

Personally I wouldn't create your repo in the htdocs folder, I'd do it outside of that. I think a good structure may be

repo
  - trunk
    - htdocs
  - branch
    - htdocs

这样,你可以控制哪些存在htdocs文件夹以外的图书馆,东西是共同的主要之中网站系统停止向私人图书馆公共访问。 Smarty的,例如通过将库中的一个目录下的htdocs文件夹上面采用了这种方法。

That way you can control libraries which exist outside of the htdocs folder, something which is common amongst major web systems to stop public access to private libraries. Smarty for example employs this approach by placing the library one directory above the htdocs folder.