Adobe Dreamweaver CS3 Unleashed- P13: The good news is Dreamweaver provides numerous windows, panels, inspectors, and toolbars forstreamlining the way you build websites. The bad news, unfortunately, is that Dreamweaver providesnumerous windows, panels, inspectors, and toolbars for streamlining the way you build websites. Why somany windows, panels, and so on, Dreamweaver is unprecedented in the feature set it provides, allowingdevelopers complete control when building websites and applications....
Nội dung trích xuất từ tài liệu:
Adobe Dreamweaver CS3 Unleashed- P133. Within the Local Info category, well want to make one change. Well change the Local root folder to point to C:VectaCorpChapter11Local. After youve made that change, the screen will resemble Figure 11.3. Figure 11.3. Define the Local root folder within the Local Info category to point to the location where you want local files to be stored while in development. [View full size image] Tip If youre implementing the first model, where your local and remote files are located on two separate machines, your Local root folder would point to C:VectaCorpChapter11.4. With the Local root folder set, you can switch over to the Remote Info category. Select the Local/Network option from the Access list. More options will become available. Within the Remote folder text box, enter or browse to the path of the fictitious companys remote server. In our case, the remote files are located in C:VectaCorpChapter11Remote. Tip If youre implementing the first model, where your local and remote files are located on two separate machines, your Remote folder might point to the organizations web folder on the network using the following model: \. This path will work, assuming that your site is shared on the network. If its not, youll need to contact your system administrator for further details.5. Your next step will be to click the Enable File Check In and Check Out check box.6. With the check box enabled, we can now set other options for identifying the person checking files in and out. Specifically, we can enter the name and email address of the user (you). We can also click the Check Out Files When Opening check box. Doing this guarantees that whenever we open a file that has already been checked in on the local side, the file will automatically be checked out on the remote side. After youve finished setting the final three options, your Remote Info screen should resemble mine, shown in Figure 11.4. Figure 11.4. Set the properties to identify the person checking files in and out. [View full size image]7. Click OK to close the Site Definition for Vecta Corp window.8. Click Done to close the Manage Sites dialog.Youre now ready to start checking out files. Before we do, however, well want to synchronize the localfolder with the files contained in the remote folder. This will ensure that the files in the local folder are exactcopies of those within the remote. You can synchronize the files by following these steps:1. Select Site, Synchronize Sitewide.2. When the Synchronize Files dialog appears, select the Entire Vecta Corp Site option from the Synchronize menu. Also, choose the Get Newer Files from Remote option from the Direction menu.3. Click Preview.4. When the Synchronize preview window appears, click OK to proceed with the synchronization.Now you can click the Expand/Collapse icon in the Files panel to expand it, if necessary. As you can see fromFigure 11.5, the remote files (located in the C:VectaCorpChapter11Remote folder) appear in the leftpane, and the local files (located in the C:VectaCorpChapter11Local folder) appear on the right. Figure 11.5. Expanding the Files panel reveals the remote files on the left and the local files on the right. [View full size image]Youll also notice that the local files appear with small lock icons next to them. Because weve enabled CheckIn and Check Out functionality in the Site Definition process, these files will be locked by default. Andbecause we havent checked these files out, opening them in their current state would result inDreamweaver opening these files for viewing purposes in read-only mode. To edit these files, well have tocheck them out. Lets do that now.Checking Files In and OutNow that youve enabled the Check In and Check Out feature, you can begin using it for the defined VectaCorp site. To do so, right-click (Control+click) a file within the Local Files list and choose the Check Outoption from the context menu (see Figure 11.6).Figure 11.6. Select the Check Out option from the context menu of the file you want to check out. [View full size image]Next, Dreamweaver asks if you want to include dependent files when checking out the HTML file. Becausewe have read-only copies in our local folder, well select No. As you can see from Figure 11.7, the file ischecked out to you.Figure 11.7. The file is checked out to you. You can tell by the icon change and the users na ...