Well Spry is the new JavaScript library from Adobe. I always had trouble working with AJAX and with Spry its so much easier to implement AJX calls and effects.
There are JavaScript library like jquery,moo tools etc that does the same job. The one huge difference between them and Spry is they all are object oriented design and Spry is tag based programming. Since I’m a Coldfusion programmer its easier for me to adapt to tag based then remembering all the methods.
Some features that I like about Spry:
- Paging
- Form validations.
- Supports HTML data sets as well. Makes it easier for me format the data in a table rather than XML and can be loaded along with the page. Spry makes any data region within the same page as invisible. Moreover this way we don’t have to make a AJAX call since the data is already available in the page. This method is useful for country,state list or any static drop list box that gets info from a DB.
Its still in beta and it has already bet my expectation hope they will come up with more goodies and make my life easier.
AL
Related posts:
It can’t do direct data access from the DB. I couldn’t find any javascript/ajax framework that can do direct data manipulation.
Its always through some form like XML.
Why?
Ahsan,
Its a security risk to allow a web client to access the DB directly man.
We need to have a service layer that does all kind of data validation and handles secuirty aspects.
Moreover the client side code is more susceptible to attack since its more easily available. Although this is security with obscurity but prevents rant developers from creating more bugs.