Old 28-01-2008, 04:39 PM
  post #1
mmmaung
အရြယ္ေရာက္သူ
 
အသင္း၀င္ေန႔စြဲ: Nov 2007
တည္ေနရာ: korea
ေရးသားခ်က္မ်ား: 168
ေက်းဇူးတင္စကား: 0
ပို႔စ္ 28 ခုအတြက္ 73 ဦးမွ ေက်းဇူးတင္ေၾကာင္းေျပာပါသည္။
mmmaung is on a distinguished road
Adobe Spry Framework for AJAX Development

Adobe Spry Framework for AJAX Development

According to Adobe the Spry framework for Ajax is meant primarily for users who are Web design professionals or advanced non-professional Web designers. It is not intended as a full Web application framework for enterprise-level Web development. With that said, here's a look at getting and using it.

It Is Free

The Spry framework is currently at a prerelease version of 1.5. It is freely available from the Adobe Labs site; it does require registration with a valid e-mail address to complete the download. You download it in a single, compressed file. And, you can extract and install it to a directory on a Web server to be up and running in minutes.

As an example, we downloaded and installed it on a local development machine running Microsoft Internet Information Server (IIS) in the following directory:

Code:
c:\inetpub\wwwroot\spry_p1_5_051707
Using this directory, the samples included with the download are easily accessed via the following local URL on the machine:

http://localhost/spry_p1_5_051707/index.html

Three Easy Pieces

Spry is made available for use in your applications via the BSD License. The framework includes three main sections of functionality: Data, Widgets, and Effects.


* Data: The Data API includes various functions for working with XML-based data. Spry creates datasets by making calls to the XML data sources URLs. Datasets can be tied together in a master/detail relationship, as well as easily displayed by tying them to regions of a page.
* Widgets: The Widget API allows you to tie together HTML, CSS, and JavaScript code for user interaction. The HTML defines its structure, CSS defines its presentation, and JavaScript defines its behavior, such as responding to user actions.
* Effects: The Effects API provides the ability to easily apply visual enhancements to almost any element on an HTML page. The current iteration of the framework includes the following effects: fade, highlight, blind up/down, slide up/down, grow, shake, and squish. Spry uses the script.aculo.us library for some effects.

The APIs are available in the JavaScript library files installed with the framework. They are located in the includes subdirectory of the Spry installation.

Drawbacks

One of the most frustrating aspects of Web development is ensuring an application works in various browsers. This involves ensuring the application degrades gracefully to work in browsers with minimal capabilities, including a lack of JavaScript support. With JavaScript being a central player in the AJAX acronym, a lack of it means it just won't work.

This is where the application should be designed to work without Ajax, and the Spry framework has not been designed to gracefully degrade. In fact, it does not work if JavaScript is disabled in the browser; you must keep this in mind if you use Spry. The onus of graceful degradation rests with the developer.

Another concern with the Spry framework is the use of nonstandard attributes for HTML elements like the DIV tag. This type of design can cause pages using such code to not function in certain browsers. Adobe says the current version of Spry has been tested with Firefox 1.5, Internet Explorer 6, Safari 2.0.3, and Netscape 7.2. You can find more details on this point and other issues in the Spry framework FAQ.

Spry Gives You Another Option

Once upon a time it was hard to locate JavaScript libraries that simplified incorporating Ajax functionality in a Web application, but now the number of freely available libraries is a bit overwhelming. The niche aspect of the Spry framework for Ajax is that Adobe is targeting Web designers who are less technical. The framework does provide cool and usable features via its data support, as well as widgets and effects.

Conclusion

The Spry library a bit more complex than expected given its target audience of the less-than-JavaScript-savvy Web designer community. While it is easy to create data sources based upon XML, using these data sources relied upon my JavaScript knowledge. We did like the various features of the toolkit, but it makes us wonder how much a person with limited JavaScript knowledge will able to accomplish with Spry.

Have you worked with the Adobe Spry framework or any other freely available JavaScript libraries? Please share your experience here.

ဘ၀ကို ေပါ့ေပါ့ေလး နဲ႕ ပါးပါးေလး ၿဖတ္ခ်င္တယ္:23::23::11:
mmmaung is offline   Reply With Quote
Reply

တန္ဆာပလာမ်ား
ေဖာ္ျပမႈပံုစံ

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

ဖိုရမ္ေတြ ေက်ာ္ေရာက္ခ်င္ရင္ !

အျခားဆင္တူေဆြးေႏြးခ်က္မ်ား
ေဆြးေႏြးခ်က္ စတင္ေရးသားသူ ကြပ္ပ်စ္၀ိုင္း ျပန္စာမ်ား ေနာက္ဆံုးပို႔စ္
Adobe Dreamweaver CS3 Classroom in a Book aung myint E-books မ်ား 12 03-08-2012 12:29 PM
Adobe Dreamweaver CS3 zthet Softwares မ်ား 14 14-07-2011 12:50 PM
phython ေမာင္ဧက ေဆြးေႏြးခ်က္မ်ား 7 31-12-2010 05:12 PM
Adobe Flash Professional CS3 KTM Softwares မ်ား 7 05-10-2010 12:13 PM
Adobe Products Keygen Collection PyaitSone Softwares မ်ား 3 08-03-2010 06:26 AM


ဖိုရမ္၏ ပင္မအခ်ိန္သည္ ဂရင္းနစ္စံေတာ္ခ်ိန္ +6.5 ျဖစ္သည္။ေဒသစံေတာ္ခ်ိန္ 08:03 AM
Inactive Reminders By Icora Web Design