• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Building Dreamweaver Web Sit... > Implementing Source Control with Vis...

Implementing Source Control with Visual SourceSafe

As you saw in the beginning of this chapter, Dreamweaver exposes functionality that allows you to use file Check In and Check Out within its framework. The functionality and implementation is simple; you check out a file from Dreamweaver and the program automatically locks it by creating a duplicate of the file name with an LCK extension.

This LCK file contains the username and email address of the user who has checked the file out. This way, when someone else defines the same site, the LCK file is read into Dreamweaver and the user is alerted of the file's checked-out status in the Site Management window. Although this process works fine if your organization exclusively uses Dreamweaver, it wouldn't be the ideal solution when working in large, enterprise-level environments where different departments could potentially be using programs other than Dreamweaver. For instance, although the marketing and web development departments could be using Dreamweaver, the engineering group could be using something completely different in Microsoft Visual Studio .NET. Executives and admins could be making simple edits to web pages using Microsoft Word, while network administrators might wind up using FrontPage to edit web-based network documentation and FAQs. You can begin to see that a train wreck is imminent. A company executive might dislike the wording on his/her bio and instruct their admin to edit the page to their liking. With Microsoft Word in hand, the admin could open the page and make edits. Word, not recognizing the LCK file association, would proceed with the modification. Even worse, anyone with access to the web server could easily go into the folder that contains the LCK files and simply delete them.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint