
Defining a Local Site
The first step of creating a Website—before you begin to create any individual pages—is
to designate or create the folder on your computer that will contain everything within your
site. This process is called defining a local site. The designated folder, known as the local
root folder,sets the boundaries of the local site that resides on your hard disk and mirrors
the remote site, which is the actual site on the Web server that your visitors will access.
Defining a local site enables you to maintain the same folder hierarchy between the local
and remote versions, which is crucial to creating and maintaining a functional site.
The creation of a local site, composed of the local root folder within which you set up the
structure of the site’s files and folders, prevents your site from storing any site files outside
of the local root folder. The files on your hard disk that are outside of the local root folder
cannot be transferred to the remote server. This restriction ensures that as you develop
your site, you won’t access files that aren’t available when the site is made available online.
Many Dreamweaver features, such as the potential to update all references to a file that
may have been moved to a different location in the site, require the definition of a local
site to fully function. You should make a practice of always creating and working within
local sites. If you don’t, you might have problems with links, paths, and file management
(Dreamweaver’s tools for these features are covered in later lessons of this book).
The development of your site occurs in the local site on your hard disk, in which you
build and initially test your pages.
Setting up a site is not required, although it is recommended. Dreamweaver
will allow you to quickly edit, connect, and transfer files without setting up a site.
You’ll learn more about managing your site in Lesson 14.
1. Copy the DW8_YogaSangha folder from the CD-ROM to your hard disk.
The DW8_YogaSangha folder will become the local root folder of your site. This folder
contains all the files and folders for the Yoga Sangha project site that you will re-create
portions of as you work through the lessons in this book. When you begin work on your
own sites, you will need to create an individual local root folder for each site.
The name of a local root folder can be the name of the respective site or any name you
choose. If you develop multiple sites, it is helpful to use names that are descriptive and can
be distinguished easily from one another. The name of the local root folder is simply for
file management purposes and is not visible to the visitors of the site.
Save your local root folder in a location on your hard disk that is outside the Dreamweaver 8
application folder. If you ever need to reinstall Dreamweaver, your work will be lost if it is
located inside the Dreamweaver 8 application folder.
10 LESSON 1
01_DW8 tfs(1-38).qxd 03/06/2006 12:20 PM Page 10
ISBN: 0-558-13856-X
Macromedia Dreamweaver 8: Training from the Source, by Khristine Annwn Page. Copyright © 2006 by Adobe Systems, Inc.
Published by Peachpit Press, a Pearson Company.
Kommentare zu diesen Handbüchern