Datasheet
10
Part I
Laying the Groundwork in Dreamweaver CS4
FIGURE 1-7
This YUI calendar widget was added to Dreamweaver’s Insert panel and can be easily previewed in the
new Live view.
Just as CSS trumpets the separation of content and presentation, a movement known as unobtrusive
JavaScript is underway to separate interactivity from content. When a page employs unobtrusive
JavaScript, all of the code functions are removed to an external file and linked from the HTML source
file. Additionally, event triggers like
onClick are replaced with a combination of CSS classes and
DOM manipulation. Dreamweaver CS4 includes a command to either externalize your JavaScript or
replace the event triggers or both on a page-by-page basis. Although extracting JavaScript from a page
is not for everyone, its feasibility and ease-of-use is a big plus for many Web-page coders.
For coders who work on team projects—or even large-scale development projects by themselves—
the new support of Subversion is most welcome. Subversion is an open source version control system
that not only tracks changes made to any file, but also allows multiple developers to work indepen-
dently and collaboratively without stepping on each other’s toes. In Dreamweaver CS4 Subversion
support is integrated into the Site Definition dialog box and the Files panel with built-in features
like diff, for comparing two files, and revert, for rolling back your files to a previous version.
82523c01.indd 10 2/18/09 1:21:56 PM