PHP/HTML Development And Version Control?
MadWhtHatter asks: "I work for a Web development company that is looking for a way to version control Web content, both PHP and HTML. I have been unable to find anything that meets my needs, which are: minimal developer retraining, security, it should be able to handle HTML and PHP pages. Unfortunately, most version control systems are designed to work with C++ code, and cannot deal with potentially live Web based code. They also severely impair the developer's ability to work with their favorite tools (Dreamweaver, Editplus). Any suggestions?"
I wouldn't mind finding something like that myself :-).
\\'
Probably the most popular are TeamSite and Documentum, but there are also contenders such as LiveLink and NetPerceptions.
My own personal opinion leans towards TeamSite, but because I've heard good things about rather than trying it myself.
No can do. Dreamweaver accomplishes this through a bunch of ungly .LCK files which is spatters through the whole directory structure at will.
I do have a little bit of an idea tho. I realize that most web developers prolly don't want to learn Unix or CVS if at all possible, but realistically that combo is the only viable option. With that in mind, you should explore ways to make CVS easy and convenient to use. There are a few good, intuitive GUIs for CVS available (LinCVS, more on freshmeat). Setup a combo CVS/X/file server and allow people to run the graphical CVS interface over X (there is a free X server for both PC and Mac called TNTlite, check yahoo) to check out HTML into their home directory. Then share the home directory via Samba (or Netatalk, if you're a Mac shop). Voila - people can checkout files over the network, edit them on the server w/filesharing, save the changes, and check them back in. It's kind of a roundabout way of doing things, but it works.
--
I think there is a world market for maybe five personal web logs.
Dreamweaver three has a rudimentary checkin/checkout system in place, if that's what you are looking for. I think it includes support for versions, but I'm not sure.
I do believe that quite a few commerical versioning packages may be designed for C++, but the plain vanilla Revision Control System (RCS) will work with basically any text file. Using RCS, to built on top of it, CVS, works very well for HTML and is quite common. I have seen $Id$ tags on very many web pages. I don't understand what you mean by "web based code" - if you mean stuff that resides on another server, then that is the least of your worries. CVS handles distributed projects like a champ - like every major software package available for Linux right now, pretty much. I would go with CVS.
--
I think there is a world market for maybe five personal web logs.
I agree with RG Ristroph's post -- the hard part is establishing version control -- the tool is not the most important part. That said, CVS is a pretty good tool. It works well over both LANs and WANs (unlike sourcesafe, for example), handles branching/merging about as well any as tool can, and bonus, is free. You *will* need someone who is dedicated to managing the system and answering questions. It may not (should not) be a full-time job, but until people are up-to-speed, they will make mistakes, and you need someone whose priority it is to fix those mistakes, and help the other developers learn how to accomplish what they need. (The above is true of any version control system, by the way, not just CVS.)
Before you install any VC system, you need to decide what you're trying to accomplish, and design the procedures to do that. CVS (or whatever) is a tool, not a methodology.
Finally, here are some hopefully useful links:
On his photonet site Philip has an article on Using CVS for Web Development. I haven't read it but I have read his Guide to Web Publishing and if that is any indication you'd be wise to follow his advice.
I think that you should have a look at CVS. I know that many companies use it for version control of web sites. It is available on many platforms and easy to use but powerful. I don't know if there exist a Dreamweaver plug-in for it, but I think that this would be something really useful as I don't know of any good CVS front-ends.
Martin May