Streamlining Your Development
Now that you know what tools will be involved
throughout the project, let's look at some elements you can design
to streamline the development of the site and minimize the time it
takes to complete the project.
The first reusable tool would be the site
template. Developing a template for the page's layout not only
decreases development time by allowing you to reuse the same
template over and over, but it ensures that each page within the
site uses the same basic elements and code.
As you will see later on, using a template makes
it
especially
easy when you need to replace an image or object on
every page within the site. Templates are covered in more depth in
the Dreamweaver section of the book, but as you proceed, it's a
good idea to have the concept of a reusable template on your
mind.
Another reusable element that you can take
advantage of is called a
snippet
.
The
term
refers to a small "
chunk
" of code that you can
conveniently store and reuse over and over. For each project that
you create, it's a good idea to create snippets out of any code
that you might find useful on other projects. This saves you time
and energy re-creating code and ensures consistency across your
various sites. As you proceed through the project, I'll point out
areas where you might consider creating a code snippet for reuse
later.
Cascading style sheets
(CSS)
also speed the development of your site. A single
style sheet can contain all the various ways to format text and
objects within your site. This single document is then linked to
every document in your site, making those styles available in one
central location. The nice thing about style sheets comes when you
want to change a style. Instead of changing it on every single page
in the site, you just change it in the style sheet and the change
propagates out to every page that relies on the style sheet. Over
the past few
years
, Dreamweaver has really integrated CSS into the
development process, making it much easier to manage. With the
latest release of Flash, Macromedia has
continued
focusing on CSS
by improving the capability to use CSS to format Flash-based
content.
One additional set of streamlining tools that I
focus on are
library objects
. As
you will see, library objects enable you to store and reuse objects
such as images, sounds, movie files, and more by simply dragging
and dropping them into your pages. Another nice feature of library
objects is the fact that they are reusable in nearly every
application in the Studio suite. For instance, graphics created in
Fireworks can be used in Flash and Dreamweaver and can even be
quickly edited in any of these applications through the round-trip
features built in to Flash, Fireworks, and Dreamweaver. As I cover
each application, I point out situations where round-trip
functionality might apply.
With these reusable elements at your disposal,
the last issue you need to consider before you start looking at the
Studio tools
themselves
is that of supplemental software.
|