SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1067 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

js??? type=???text/javascript???>

To apply other Spry functionality, such as widgets or effects, requires other JavaScript files to be included.
One of the unique approaches of the Spry framework is that it is tag-based. Many other Ajax frameworks
rely solely on JavaScript function calls embedded in links. Spry uses tag attributes like spry:region to
indicate Ajax functionality, like this:

To ensure that such nonstandard coding still passes validation, Adobe maintains an XML document online that
exposes the proprietary code. Such a document is called an XML namespace and is defined in the opening
tag of each document, like this (bolded for emphasis):
xmlns:spry=???http://ns.adobe.com/spry???>
Again, Dreamweaver automatically adds this namespace declaration whenever Spry functionality is added to
the page.
NOTE NOTE
595
Powering Ajax Pages with Spry 18
The Spry implementation in Dreamweaver focuses on three distinct areas of Web page development:
n Data: Combines XML data with HTML pages, updating only the required portions of the page to
present new data.
n Widgets: Incorporates advanced JavaScript and CSS to enable sophisticated, interactive page
layouts elements and instantaneous form validation.


Pages:
1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079