Using the Spry Framework

This help, which outlines how to use the Spry framework, contains the following topics: About AJAX and the Spry framework 7 About AJAX and the Spry framework This section contains the following topics: ? “About AJAX” on page 5 ? “About the Spry framework” on page 6 About AJAX Asynchronous JavaScript and XML, or AJAX, is a concept for how Web developers can use various techniques to update web pages without requiring visible refreshes and without the need for browser add-on technologies like Flash, Java, or ActiveX. AJAX is not a product, company, or trademark. Implementing AJAX features often requires knowledge of JavaScript, XML, and the Document Object Model (DOM). Spry provides a light-weight, HTML-centric framework that makes the task simpler. For more information about AJAX, see http://en.wikipedia.org/wiki/AJAX .
6 Using the Spry framework About the Spry framework The Spry framework is a JavaScript library that provides web designers with the ability to build web pages that offer richer experiences to their users. It is a light-weight framework designed to bring AJAX to the web-design community. The first release of the Spry framework is a preview of the data capabilities that enable designers to incorporate XML data into their HTML documents using HTML, CSS, and a minimal amount of JavaScript, without the need for refreshing the entire page. The Spry framework is HTML-centric, and easy to implement for users with basic knowledge of HTML, CSS and JavaScript. The framework was designed such that the markup is simple and the JavaScript is minimal. The Spry framework is meant primarily for users who are web design professionals or advanced non-professional web designers. It is not meant to be a full web application framework for enterprise-level web development (though it can be used in conjunction with other enterprise-level pages). How Spry pages work This section contains the following topics: ? “Anatomy of the Spry data set” on page 6 ? “Anatomy of the Spry dynamic region” on page 9 ? “Anatomy of the Spry basic master/detail dynamic region” on page 11 ? “Anatomy of master/detail dynamic regions that depend on more than one data set” on page 13 Anatomy of the Spry data set A Spry data set is a JavaScript object. With a few snippets of code in your web page, you can create this object and load data from an XML source into it when the user opens the page in a browser. The data set results in a flattened array of XML data that can be visualized as a standard table containing rows and columns. For example, suppose you have an XML source file, cafetownsend.xml, that contains the following information: Summer Salad organic butter lettuce with apples, blood oranges, gorgonzola, and raspberry vinaigrette.

7

Download Using the Spry Framework.Pdf

Leave a Reply

SEO Powered by Platinum SEO from Techblissonline