FIGURE 2-18
With the Server Behavior Builder, you can create a new behavior from the ground up or modify an existing behavior.
The Server Behavior Builder is engineered to handle a wide range of circumstances. Some server behaviors
can be encapsulated in a single line of code repeated verbatim, whereas others require multiple blocks of
programming involving several user-supplied parameters??”you can construct almost any kind of code with
the Server Behavior Builder. After you create the custom server behavior, you can apply and modify it just
like any of the standard Dreamweaver server behaviors.
Commands and floating panels
Objects and behaviors are great ways to help build the final result of a Web page, but what about automating
the work of producing that page? Dreamweaver employs commands to modify the existing page and
streamline production. A great example is the Sort Table command, standard with Dreamweaver. If you??™ve
ever had to sort a large table by hand??”meticulously moving data, one row at a time??”you can appreciate
the power of this option the first time you use a command to alphabetize or otherwise sort a table
Commands hold a great promise??”they are, in effect, more powerful than either objects or behaviors combined.
In fact, some of the more complex objects, such as the Rollover Image object, are actually commands.
Pages:
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157