ALA-(GU)-KA-(NNA)-N

Past dies as we speak Future comes as we speak present is what we speak

I Vote for Spry 1.6

on February 11, 2008

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:

  1. How to avoid bots from filling up Online forms using Spry?


2 Responses to “I Vote for Spry 1.6”

  1. Mohammad Ahsan says:

    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?

  2. toalakan-web says:

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site