« IEBlog: IE7 to be distributed via Automatic Updates! | ^ Main | IE 7 + Internationalized domain names »
Spry Presentation Rocked!
First off, hats off the Ray Camden. He COMPLETELY impressed me with his preso. He was clear, energetic, and straight to the point…well…code, in this case. :-)
Spry is thoroughly sweet. I’m going to start toying with it more for client Ajax needs now that I see how powerful it is. The thing is TRULY amazing. You can do so much with so little code. Honestly, it is like the Ajax version of ColdFusion. IT ISN’T FOR COLDFUSION ONLY! I’m just saying CF is so easy to work with for some seemingly complicated tasks. Well, Spry is the same and can be used with ANY language. Let me show a quick example of what I mean.
I’m cutting out all of the html/body code and showing only the lines that are needed. This is also right off the top of my head so no bashing if I shorthand. :-)
{include 2 spry JS files}
var mydata = new Spry.XMLDataSet("xmlfile.xml", "/path/to/data");
//end JS
<div spry:region="mydata">
<span spry:repeat="mydata">
<strong>{name}</strong><br />
{phone}
</spry>
</div>
That’s it and we have a repeating list of user information from our XML file. Like someone asked last night, “Where’s the XMLHTTPRequest?” As Ray answered, “THAT’S THE BEAUTY!” He is right. You don’t have to touch all of the general/normal processing of Ajax work. You just create a new XMLDataSet and you are good to go.
The examples Ray gave were pretty eye-opening once you saw the code to do it. Also, Spry is still a beta product. This isn’t even a final version! I can’t wait to see what you can do with the final version.
Ray has posted his examples here.
You can view the entire Breeze preso here.
Posted by John C. Bland II on July 27, 2006 8:26 AM | Permalink
TrackBack
TrackBack URL for this entry:
http://mt.katapultmedia.com/mt-tb.cgi/197



