如何为编码员开发一个制衡系统

发布于 2024-08-18 09:21:11 字数 141 浏览 5 评论 0原文

如何

  1. 让多个开发人员在同一个 WordPress 博客或其他类型网站的相同代码上工作
  2. 能够预览这些更改
  3. 控制实施哪些更改以及由谁实施
  4. 是否能够在更改破坏某些内容时撤消更改?

How do I

  1. Get multiple developers working on the same wordpress blog or the same code for another type of website
  2. Be able to preview those changes
  3. Have control over which and who's changes are implemented
  4. Have the ability to undo the changes if they break something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

野味少女 2024-08-25 09:21:11

您真正要问的是“我如何管理开发团队?”

您需要一个源代码控制系统(其中有很多,有些是免费的,有些是好的)。

但仅仅拥有这些并不能解决您的问题 - 您还需要遵循一个开发流程。还有许多开发过程(意识形态),其中一些比其他更好,但它们都不应该被整体使用(您最终将使用几个中的零碎部分,您使用适合您需要的东西)。

该流程规定了开发人员应该做什么。源代码控制系统可以帮助您了解如何完成它。使用源代码控制,您可以分支和合并代码,并指定哪些更改会使其成为产品的发布版本。

一旦您拥有了源代码控制系统,以及审查和审查对代码所做的更改的过程以及自动构建过程(如果适用),您的最终结果将更加清晰 - 如果实施正确,则不需要“如果更改破坏了某些内容,则撤消更改”,因为那些狡猾的代码永远不会将其返回到源代码管理系统中(但如果确实如此,您可以在源代码管理中将其回滚)。

编辑:请注意,我没有提倡任何特定的源代码控制系统或开发方法,最好由您决定哪个适合您的需求。对于某个特定系统的每个拥护者,都会有人因某种原因不喜欢它,因此很难得到明确的“这个系统是最好的”类型的答案。

What you are really asking is "how do i manage a development team?"

You need a source control system (of which there are many, some free, some good).

But just having that is not going to fix your problem - you also need a development process to follow. There are also many development processes (ideologies) out there, some better than others, but none of them should be used in totality (you will end up using bits and pieces from several, you use what fits your needs).

The process dictates what the developers should do. The source control system helps you with how it is done. Using the source control, you can branch and merge code, and dictate what changes make it into a release version of your product.

Once you have the source control system in place, and a process of reviewing and vetting changes made to the code, and an automated build process (if applicable), your end result will be much cleaner - if implemented properly there should be no need to "undo changes if they break something", because that dodgy code would never make it back into the source control system (but you can roll it back within source control if it does).

Edit: note that i have not advocated any particular source control system or development methodology, it is best left to you to decide which suits your needs. For every advocate of a particular system, there will be someone who doesn't like it for some reason, so it will be difficult to get a definitive "this system is the best" type of answer.

握住你手 2024-08-25 09:21:11

除了利用源代码控制之外,您还需要将其中一个人提升为团队负责人,并将这组目标交给他! ;-)

Besides utilizing source control, you need to elevate one of them to team leader and hand him this set of goals! ;-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文