1. Trang chủ
  2. » Công Nghệ Thông Tin

adobe dreamweaver cs5 on demand part 78 pps

6 238 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 6
Dung lượng 634,26 KB

Nội dung

ptg 478 Chapter 20 In order to publish your site, you will first have to define the remote site, and then upload the files to a remote folder on that site. A remote folder is where you store your files for testing and publication. Dreamweaver defines this folder as the remote site. You can define the remote server at any time during the development process. However, before you can define the remote site, you must have access to a remote Web server, such as your ISP's server, and you will need infor- mation such as: path, password, and login ID. You’ll also need to find out the best access method, either FTP (File Transfer Protocol), SFTP (Secure File Transfer Protocol), Local/Network, WebDAV (Web-based Distributed Authoring and Versioning), or RDS (Remote Data Services). Once you have this information, you simply add it to the setup for the working site. Defining Remote Info for a Site Define the Remote Info for a Site Click the Site menu, point to Manage Sites, click New, and then click Site, or select a site, and then click Edit. Click the Servers category. Click the Add New Server button, or select an existing server, and then click the Edit Existing Server button. Click the Basic tab. Enter or revise a server name. Click the Connect Using list arrow, select a remote server, and then specify the following information for the remote server: ◆ FTP or SFTP. Select if you connect to your remote server using File Transfer Protocol (FTP) or Secure FTP, which is useful for fast file transfer and working remotely. ◆ FTP Address. Enter the FTP address or IP address that calls the server, and then specify a port number as needed. ◆ Username. Enter your login name to access the server. 6 5 4 3 2 1 2 3 Use to add, delete, edit, and duplicate servers. 4 6 5 From the Library of Wow! eBook ptg Chapter 20 Managing a Web Site 479 ◆ Password. Enter your password to access the server. Select the Save check box to save it. NOTE Click the Test button to test the connection between the local and remote server. ◆ Root Directory. Enter the host directory name. The Host Directory specifies the exact folder on the server where the files will go (optional). ◆ Web URL. Enter the Web address URL to the server. ◆ For FTP Only, click More Options arrow to expand the dialog box. ◆ Use Passive FTP. Select if the server security requires the files to be transferred in passive mode. ◆ Use IPv6 Transfer Mode. Select if you are using an IPv6 (Internet Protocol version 6) enabled FTP server. ◆ Use Proxy, as defined in Preferences. Select if your computer is behind a Firewall. Click the Preferences link to set options in Site Preferences. ◆ Use FTP Performance Optimization. Deselect if Dreamweaver cannot connect to your server. ◆ Use Alternative FTP Move Method. Select if you get errors either when rollbacks are enabled or when moving files. Continue Next Page Site preferences 6 FTP/SFTP options Opens Site Preferences dialog box From the Library of Wow! eBook ptg 480 Chapter 20 Continued from Previous Page ◆ Local/Network. Select if the server lives on a local area network. ◆ Server Folder. Enter the path to the Local/Network folder, or click the folder icon to browse and select the folder on the server that you want to contain the site files. ◆ Web URL. Enter the Web address URL to the server. ◆ WebDAV. WebDAV (Web-based Distributed Authoring and Versioning) allows you to manage pages to and from a WebDAV server. ◆ URL. Enter the address for the WebDAV server. ◆ Username. Enter your login name to access the server. ◆ Password. Enter your password to access the server. Select the Save check box to save it. NOTE Click the Test button to test the connection between the local and remote server. ◆ Web URL. Enter the Web address URL to the server. ◆ RDS. RDS (Remote Data Services) allows you to work with live Web pages on the server. ◆ Settings. Click Settings, enter in the Host Name, Port, Full Host Directory, User Name, Password for the RDS site, and then click OK. WebDAV options Local/Network options 6 6 RDS options 6 From the Library of Wow! eBook ptg Chapter 20 Managing a Web Site 481 Click the Advanced tab. Specify the following information for the remote server: ◆ Maintain Synchronization Information. Select to automatically synchronize your local and remote files. ◆ Automatically Upload Files To Server On Save. Select to automatically upload files to the Web server each time the page is saved (not recommended). ◆ Enable File Check Out. Select to use the Check In/Out system to manage file development by a team. ◆ Check Out Files When Opening. Enter the address for the WebDAV server. ◆ Check-out Name. Enter your login name to access the server. ◆ Email Address. Enter your password to access the server. Click Save to save the server settings. To ena bl e or di sabl e a rem ote server, select or deselect the server check box under Remote. Click Save, and then click OK to cache files, if necessary. Click Done to close the Manage Sites dialog box. 12 11 10 9 8 7 Configure RDS server settings 7 8 9 10 11 From the Library of Wow! eBook ptg 482 Chapter 20 If you created dynamic pages in Dreamweaver, you need to define a testing server to try them out. Dreamweaver needs a testing server to generate and display dynamic pages during development. You can define a testing server on your local computer, a network development server, or a remote production server. For example, you can create a place to act like a public server to test the applications and connec- tions to the database. Before you can define a testing server, you need to define a local site folder and remote site server. Defining the Testing Server Define the Testing Server Click the Site menu, point to Manage Sites, click New, and then click Site, or select a site, and then click Edit. Click the Servers category. Click the Add New Server button, or select an existing server, and then click the Edit Existing Server button. Click the Basic tab. Click the Connect Using list arrow, and then select an access method: FTP, SFTP, Local/Network, or WebDAV. Specify the options you want for the selected Connect type; options vary depending on the type. Click the Advanced tab. Click the Server Model list arrow, and then select a server: ASP JavaScript, ASP VBScript, ASP.NET C#, ASP.NET VB, ColdFusion, JSP, or PHP MySQL. Click Save to save the server settings. To ena bl e or di sabl e a tes ting server, select or deselect the server check box under Testing. Click Save, and then click OK to cache files, if necessary. Click Done to close the Manage Sites dialog box. 12 11 10 9 8 7 6 5 4 3 2 1 4 6 5 7 9 8 From the Library of Wow! eBook ptg Chapter 20 Managing a Web Site 483 When you work in a team environment where many contributors make changes to site files, you’ll want to use a version control system to keep track of them. Subversion is a version control system that works along with Dreamweaver to help you maintain version histories of your site files. Subversion maintains a repository of the file and folder struc- ture of your site on the Subversion server, which is the normal installa- tion (available at http://subversion.tiggris.org ), however, you can set it up on your own computer. The files and folders are not actually stored on the server. Subversion maintains a database of changes, which allows you to view a file history and compare it with previous versions. Before you can use Subversion, you need to define server settings in the Site Setup dialog box. Defining Version Control Define Version Control Click the Site menu, point to Manage Sites, click New, and then click Site, or select a site, and then click Edit. Click the Version Control category. Click the Access list arrow, and then click Subversion. Click the Protocol list arrow, and then select a server protocol used by the Subversion server: HTTP, HTTPS, SVN, or SVN+SSH. Enter the URL address to the Subversion server. Enter the folder location for your web site files. This can be the root or a subfolder. Enter a port number as needed. Enter a username and password. Click Test to make sure your connection to the server is valid. Click Save, and then click OK to cache files, if necessary. Click Done to close the Manage Sites dialog box. 11 10 9 8 7 6 5 4 3 2 1 2 3 4 5 6 10 9 8 7 From the Library of Wow! eBook . where many contributors make changes to site files, you’ll want to use a version control system to keep track of them. Subversion is a version control system that works along with Dreamweaver. compare it with previous versions. Before you can use Subversion, you need to define server settings in the Site Setup dialog box. Defining Version Control Define Version Control Click the Site menu,. maintain version histories of your site files. Subversion maintains a repository of the file and folder struc- ture of your site on the Subversion server, which is the normal installa- tion (available

Ngày đăng: 02/07/2014, 21:20

TỪ KHÓA LIÊN QUAN