Spry 1.5 Preview

Big news in Spry-land tonight - the 1.5 Preview has gone live, and wow, there are some great things here. I won't cover everything new in the preview, check the Spry blog for that - but here are some of the high points:

  • JSON Support - probably the most requested new feature. Spry not speaks JSON. Yesterday I blogged about how JSON compared to XML. I am very happy to see Spry support JSON finally.
  • HTML DataSets - Now this is just plain sexy as hell. You can use Spry to suck in data from an existing HTML table - either on the same page or a different page. If for some reason you can't get access to simple XML or JSON, you can instead simply point Spry to an HTML table.
  • PagedView - The Spry team had released support for paging before, and this looks like an even nicer version of the last preview.
  • An API! Finally - a simple doc to help you use Spry. If you are like me and know that Spry can do something, but can't remember the exact function name, this will be a big help.

So again - this is just a preview and not the official release, but it definitely looks like great things are ahead. In the days that come I'll follow up this post with some additional examples. Enjoy!

Comments

Very happy to see JSON support- although it does mean that I have some re-writing to do.

Also too a quick look at the API. I have always said that one thing that Allaire/Macromedia did better than anyone else was easy to use documentation. Taking a look at the Spry 1.5 API, it's great to see that Adobe is following that tradition.
# Posted By Matt Osbun | 3/16/07 6:49 AM
I'm very excited about the session additions. I have a hand rolled similar one in an application but its not as user friendly and interactive as this one will be!
# Posted By DK | 3/16/07 9:30 AM
Thanks for pointing that out Ray. It's getting really exciting in Spryland. I hope that they'll produce a reduced file size at some point, but that's probably the last thing on their list.

The session additions intrigue me as well, but that will take some time to figure out.
# Posted By Dan | 3/16/07 10:14 AM
Hi Ray, Don't know if you have had time to try out
Spry's JSON. Well I have and it is a bit faster but the cfjson.cfc formats a query different from your queryToXML. As a result I modified your queryToXML. It is now queryToJSON. Here is my code: http://codeshare.ulatu.com/mar4be3e
Please, feel free to use as your own.
# Posted By Doug Laakso | 3/20/07 4:55 PM
Well my toXML CFC really is just for that - making things into XML. :)
# Posted By Raymond Camden | 3/20/07 7:03 PM
Ok do you have any recommendations as to where I should put a toJSON.cfc?

http://codeshare.ulatu.com/marc754d
# Posted By Doug Laakso | 3/21/07 2:48 PM
RIAForge. :)
# Posted By Raymond Camden | 3/21/07 3:02 PM