Top Banner
Chapter 7 Managing a Web Server and Files
63

Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Dec 18, 2015

Download

Documents

Lora Price
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Chapter 7

Managing a Web Server and Files

Page 2: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains “clean.”

Performing Website Maintenance

Page 3: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• You should use the Assets panel to check the list of images and colors used in your website.

• If you see images listed that are not being used, you should move them to a storage folder outside the website until you need them.

Performing Website Maintenance

Page 4: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Before and after you publish your website, you should use the Link Checker panel to make sure all internal links are working.

• If the Link Checker panel displays any broken links, you should repair them.

Performing Website Maintenance

Page 5: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Link Checker panel displaying no broken links

No broken links listed

Performing Website Maintenance

Summary

Page 6: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• If the Link Checker panel displays any orphaned files, you should evaluate whether to delete them or link them with existing pages.

Performing Website Maintenance

Page 7: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Link Checker panel displaying one orphaned files

Three orphaned files listed

Performing Website Maintenance

Page 8: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• You can use the Reports command in the Site menu to generate five different HTML reports that can help you maintain your website.

• You choose the type of report you want to run in the Reports dialog box.

Performing Website Maintenance

Page 9: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Reports dialog box

Report on list arrow

Scope of report choices

Performing Website Maintenance

Page 10: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Design Notes– are separate files in a website that contain

additional information about a page file or a graphic file.

Performing Website Maintenance

Page 11: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Design Notes– work collaboratively to design a site because

they can record notes to exchange information with other design team members about the status of a file.

– are a good place to store information about the source files for graphics, such as Flash or Fireworks files.

Performing Website Maintenance

Page 12: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• It’s important to ensure that the various language versions are compatible.

• To address this need, Dreamweaver can validate markup.

Performing Website Maintenance

Page 13: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• To validate markup, Dreamweaver searches through the code to look for errors that could occur with different language versions.

Performing Website Maintenance

Page 14: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• The Results tab group displaying the Validation panel opens and lists any pages with errors, the line numbers where the errors occur, and an explanation of the errors.

Performing Website Maintenance

Page 15: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• You should test your website using many different types and versions of browsers, platforms, and screen resolutions.

• You should test every link to make sure it connects to a valid, active website.

Performing Website Maintenance

Page 16: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• You should present the web pages at strategic times in the development process to your team members and to your clients for feedback and evaluation.

• You should analyze all feedback on the website objectively, incorporating both the positive and the negative comments to help you make improvements to the site and meet the clients’ expectations and goals.

Performing Website Maintenance

Page 17: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• A web server is a computer with software that enables it to host websites and is connected to the Internet with an IP (Internet Protocol) address so that it is available on the Internet.

Publishing a Website and Transferring Files

Page 18: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Before you can publish a site to a web server, you must first define the remote site by specifying the Servers settings in the Site Setup dialog box.

Publishing a Website and Transferring Files

Page 19: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Accessing the server settings in the Site Setup dialog box

Servers tab

Add new Server button

Publishing a Website and Transferring Files

Page 20: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• You can set up a server for testing purposes only and a server for the live website.

• The most common connection setting is FTP (File Transfer Protocol).

Publishing a Website and Transferring Files

Page 21: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• If you choose FTP, you need to specify a server address and folder name on the FTP site where you want to store your site root folder.

Publishing a Website and Transferring Files

Page 22: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• You can also use Secure FTP (SFTP), an FTP option, which lets you encrypt file transfers to protect your files, user names, and passwords.

Publishing a Website and Transferring Files

Page 23: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Once you have set up a remote server, you can then view the remote folder in the Files panel by choosing Remote view from the View list.

• If your remote site is located on an FTP server, Dreamweaver will connect to it.

Publishing a Website and Transferring Files

Page 24: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• After you set up a remote site, you need to upload, or copy, your files from the local version of your site to the remote host.

Publishing a Website and Transferring Files

Page 25: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• If a file you select for uploading requires additional files, such as graphics, a dialog box opens after you click the Put File(s) button and asks if you want those files (known as dependent files) to be uploaded.

Publishing a Website and Transferring Files

Page 26: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• If you are developing or maintaining a website in a group environment, there might be times when you want to transfer or download files that other team members have created from the remote site to your local site.

Publishing a Website and Transferring Files

Page 27: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• The Synchronize command instructs Dreamweaver to compare the dates of the saved files in both versions of the site, then transfers only copies of files that have changed.

Publishing a Website and Transferring Files

Page 28: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Synchronize with Remote Server dialog box

Instructs Dreamweaver to synchronize all files in the site

Publishing a Website and Transferring Files

Page 29: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• When you work on a large website, chances are that many people will be involved in keeping the site up to date.

• Different individuals will need to make changes or additions to different pages of the site.

Checking Files Out and In

Page 30: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Checking files in and out is similar to checking library books in and out.

• Using Dreamweaver’s Check Out feature ensures that team members cannot overwrite each other’s pages.

Checking Files Out and In

Page 31: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• When this feature is enabled, only one person can work on a file at a time.

• When a file is checked in, you cannot make edits to it unless you check it out again.

Checking Files Out and In

Page 32: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Check Out File(s) and Check in buttons on the Files Panel toolbar

Check Out File(s) button

Check In button

Checking Files Out and In

Page 33: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Another file management tool is Subversion control.

• A remote SVN (Apache Subversion) repository is used to maintain current and historical versions of your website files.

Checking Files Out and In

Page 34: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• It is used in a team environment to move, copy, and delete shared files.

• You can protect files from being accessed using the svn:ignore property to create a list of files that are to be ignored in a directory.

Checking Files Out and In

Page 35: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• There may be times when you want to exclude a particular file or files from being uploaded to a server.

• You can exclude such files by cloaking them, which marks them for exclusion from several commands.

Cloaking Files

Page 36: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• In addition to cloaking a file or group of files, you might also want to cloak an entire folder.

• For example, if you are not concerned with replacing outdated image files, you might want to cloak the assets folder of a website to save time when synchronizing files.

Cloaking Files

Page 37: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Cloaked assets folder in the Files panel

Panel options button

Red slash indicates folder

and files in it are cloaked

Cloaking Files

Page 38: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• When you move a site, you need to move its site definition.

• The site definition for a website contains important information about the site, including its URL, preferences that you’ve specified, and other secure information.

Importing and Exporting a Site Definition

Page 39: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• If you want to be able to access the site settings in a website that someone else has created, you can import the site definition file once you have the necessary .ste file.

Importing and Exporting a Site Definition

Page 40: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

Saving The Striped Umbrella.ste file in the su_site_definition folder

Importing and Exporting a Site Definition

Page 41: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Intellectual property is a product resulting from human creativity.

• It can include inventions, movies, songs, designs, clothing, and so on.

Evaluating Web Content for Legal Use

Page 42: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• The purpose of copyright law is to promote progress in society, not expressly to protect the rights of copyright owners.

• However, the vast majority of work you might want to download and use in a project is protected by either copyright or trademark law.

Evaluating Web Content for Legal Use

Page 43: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Copyright protects the particular and tangible expression of an idea, not the idea itself.

• Trademark protects an image, word, slogan, symbol, or design used to identify goods or services.

Evaluating Web Content for Legal Use

Page 44: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• A copyright owner has a “bundle” of six rights, consisting of:– reproduction (including downloading)– creation of derivative works (for example, a

movie version of a book)– distribution to the public

Evaluating Web Content for Legal Use

Page 45: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• A copyright owner has a “bundle” of six rights, consisting of:– public performance– public display– public performance by digital audio

transmission of sound recording

Evaluating Web Content for Legal Use

Page 46: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• By default, only a copyright holder can create a derivative work of his or her original by transforming or adapting it.

Evaluating Web Content for Legal Use

Page 47: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• The law builds in limitations to copyright protection.

• One limitation to copyright is fair use.• Fair use allows limited use of copyright-

protected work.

Evaluating Web Content for Legal Use

Page 48: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Work that is no longer protected by copyright is in the public domain; anyone can use it however you wish for any purpose.

• In general, the photos and other media on Federal government websites are in the public domain.

Evaluating Web Content for Legal Use

Page 49: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• A licensing agreement is the permission given by a copyright holder that conveys the right to use the copyright holder’s work under certain conditions.

Evaluating Web Content for Legal Use

Page 50: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Websites have rules that govern how a user may use its text and media, known as terms of use.

• The following figure is a page from the Library of Congress website stating clearly, the terms of use.

Evaluating Web Content for Legal Use

Page 51: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

The Library of Congress home page

Link to legal information

regarding the use of content on

the website

Evaluating Web Content for Legal Use

Page 52: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• The permissions process is specific to what you want to use (text, photographs, music, trademarks, merchandise, and so on) and how you want to use it (school term paper, personal website, fabric pattern).

Evaluating Web Content for Legal Use

Page 53: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• How you want to use the work determines the level and scope of permissions you need to secure.

• Your request should contain the following:– Your full name, address, and complete

contact information.

Evaluating Web Content for Legal Use

Page 54: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

– A specific description of your intended use.– A signature line for the copyright holder.– A target date when you would like the

copyright holder to respond.

Evaluating Web Content for Legal Use

Page 55: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• The familiar © symbol or “Copyright” is no longer required to indicate copyright, nor does it automatically register your work.

Evaluating Web Content for Legal Use

Page 56: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Before you present a website to a client as a finished project, you should do a final check on some important items:

Presenting a Website to a Client

Page 57: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

– Do all your final design and development decisions reflect your client’s goals and requirements?

– Does the website not only fulfill your client’s goals and requirements, but those of the intended audience as well?

– Did you follow good web development practices?

Presenting a Website to a Client

Page 58: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

– Did you check your pages against your wireframes as you developed them?

– Did you check each page against current accessibility standards?

– Did you run all necessary technical tests, such as validating the code, and searching for missing alternate text or missing page titles?

Presenting a Website to a Client

Page 59: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

– Did you verify that all external and internal links work correctly?

– Did your final delivery date and budget meet the timeframe and budget you originally promised the client?

Presenting a Website to a Client

Page 60: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Client communication, both at the beginning of a project and throughout a project, is critical to a successful web design and a solid customer relationship.

Presenting a Website to a Client

Page 61: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• To communicate with your client and ensure a mutual understanding of the project, you could also use BaseCamp, a web-based project collaboration tool that many companies use.

Presenting a Website to a Client

Page 62: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• To present the final project, consider publishing the site to a server and sending the client a link to view the completed website.

• Creating PDFs of the site and sending them to the client for approval is another possible method.

Presenting a Website to a Client

Page 63: Chapter 7 Managing a Web Server and Files. It’s important to perform maintenance tasks frequently to make sure your website operates smoothly and remains.

• Another communication option is to invite the client to your office and do a full walkthrough of the site with them, which offers them a chance to ask questions.

• This is probably one of the best options if it is feasible.

Presenting a Website to a Client