权限控制web开发_版本控制和Web开发

权限控制web开发

CVS, or the Concurrent Versions System, allows for a robust version control system to be in place to insure control over changes to a web site as it is being designed and developed during testing and QA, and post-production during content management and improvements.

CVS或并发版本系统允许使用健壮的版本控制系统,以确保在测试和质量检查期间设计和开发网站时进行控制,并在内容管理和改进期间进行后期制作,以确保对网站的更改进行控制。

While there are many web developers using CVS, it is mostly known for its use in software development projects. However considering the dynamics of the 21st century web site, and the proliferation of web applications, CVS should be a consideration even for the independent developer who occasionally uses sub-contractors for projects.

尽管有许多使用CVS的Web开发人员,但它在软件开发项目中的使用最为人所知。 但是,考虑到21世纪网站的动态以及Web应用程序的激增,即使对于偶尔使用分包商进行项目的独立开发人员,也应该考虑CVS。

CVS, found here, is generally already installed on your *Nix servers, including OS X. Clients are available for numerous platforms (Windows, Macintosh and *Nix), and are built in to some web development IDEs (such as Macromedia Dreamweaver). The CVS home also includes extensive documentation on how to use CVS on your server.

CVS (通常在此处找到 )通常已经安装在您的* Nix服务器(包括OS X)上。客户端可用于多种平台(Windows,Macintosh和* Nix),并且内置于某些Web开发IDE(例如Macromedia Dreamweaver)中。 CVS主页还包含有关如何在服务器上使用CVS的大量文档。

There are three pieces to getting started on a CVS project:

开始CVS项目需要三部分:

1) If starting a new CVS repository with existing files, you should do a master backup of the code, import it into a new CVS tree, and then delete the old directory. This insures you will not accidentally edit CVS and non-CVS files.

1)如果使用现有文件启动新的CVS存储库,则应该对代码进行主备份,将其导入到新的CVS树中,然后删除旧目录。 这样可以确保您不会意外地编辑CVS和非CVS文件。

2) If starting with a new project, decide on the structure of the filesystem first. For example, for a new client at www.newclient.com, you setup a development, staging and production environment. These would be on the filesystem as:

2)如果从一个新项目开始,请首先确定文件系统的结构。 例如,对于www.newclient.com的新客户,您可以设置开发,登台和生产环境。 这些将在文件系统上显示为:

A) /home/sites/www.newclient.com/htdocs/ (for www.newclient.com in production), B) /home/sites/staging.newclient.com/htdocs/ (for staging.newclient.com where all finalized code is tested prior to release to the production site, C) and /home/sites/devel.newclient.com/htdocs/ (for devel.newclient.com, where all of the true design and development takes place.)

A) /home/sites/www.newclient.com/htdocs/ (对于www.newclient.com生产),B) /home/sites/staging.newclient.com/htdocs/ (对于staging.newclient.com其中所有最终代码在发布到生产站点C之前和/home/sites/devel.newclient.com/htdocs/ (对于devel.newclient.com进行了所有真实的设计和开发),已经过测试。

3) Once setup and tested, insure those participating in the development work have a client properly configured. Clients for Linux, Macintosh and Windows can be found at CVSGui.

3)一旦设置和测试,请确保参与开发工作的人员已正确配置了客户端。 可以在CVSGui上找到Linux,Macintosh和Windows的客户端。

The key benefit of using CVS is obviously source code control, and that includes auto-version control, with version numbering (v 1.0, 1.1, 1.2 and so on) and the critical feature of rollback, which allows you to rollback changes that have been put into place but are failing to meet a standard, or if a hidden bug is discovered.

使用CVS的主要好处显然是源代码控制,其中包括具有版本编号(v 1.0、1.1、1.2等)的自动版本控制以及回滚的关键功能,该功能使您可以回滚已已安装,但不符合标准,或者发现了隐藏的错误。

翻译自: https://www.sitepoint.com/version-control-and-web-development/

权限控制web开发

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值