The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

annaajax (8) [Avatar] Offline
#1
Because nobody given a serious reply to my first message and because I note that due to the fact that Adobe says - SPRY is a AJAX proposal for graphic designers- many believes that SPRY does not have much to offer to the programmers I consider that it is necessary to add some explanations:
Because I belive the contrary-
Indeed so that it is developed for a graphic designers the program is internally more rigorous and more correct than many others Adobe try to offer a complete set of methods for manipulate data and not insist so much for the effects and other artifices.
Example:
• new Spry.Data.XMLDataSet("/xmlfile.xml", "/xpath/path");
• dsObj.setURL(/xmlfile.xml);
• dsObj.loadData()
• Distinct function: dsObj.distinct();
• Filter function: dsObj.filterData(Func);
• Current Row: .setCurrentRowNumber(5);
• Sort Function: dsObj.sort(column);

A complete documentation program download, articles demos here:
http://labs.adobe.com/technologies/spry/
In addition the language of spry intended to be very similar with flex and flash according to the general effort of ADOBE to unify these scripting languages that all emerging from the ECMA Script standard
(The apreciacion about flash technology was the only think that I disagree in "Ajax in action" smilie
Concerning the ECMA script Flash and Ajax this a very interesting article here:
http://www.mozilla.org/projects/tamarin/
(Also due to the fact that is developed by ADOBE the owner of Macromedia Flash now (the flash success was due to the fact that within it player it is independent of platform) SPRY is one of the libraries compatible with many modern browsers.
I choose this framework because it seemed to me interesting and unique between many other s Ajax frameworks.
But it also has disadvantages:
The files I am very great Due to the fact that the functions are methods of an object it is not always so easy to make flexible and to use one of them without concerning the standard syntax of Spry: region that ADOBE propose. ( But some examples- already exists patch that allows you to read a JSON file directly and can also be loaded text and html files using the response.Text method: (Spry.Utils.loadURL (method, URL) .xhRequest.responseText; )
Also other tricks can be used but in my opinion it is necessary have patience and good knowledge
I know that exist many libraries for Ajax the most famous it is prototype. But despite of its disadvantages SPRY it is my election due to it unique concept, to the fact that respect much the company; especially after reading the news on the Tamarin project.
Because my English can be difficult to understand I adds an excerpt about SPRY from an Internet Blog
(Sorry I don’t remember the link )
<<
Spry is one of the most unusual frameworks developed to date. It uses Adobe's Cold Fusion as a model for the page syntax, but unlike Cold Fusion, Spry uses its own namespace to declare XHTML tags within the body of the HTML itself. The Spry framework JavaScript files parse the Spry tags and run the Ajax and DHTML effects calls. Also unusual, but hardly unique, is Adobe's strict reliance on XML as the data source. Through XML and the client-side command tags, Spry is able to achieve remarkable results in dealing with database content and developing dynamic, Ajax-driven web pages. Spry was only pre-released in May 2006 and is still in the early stages of development, but all the demos I've tried so far have worked equally well in all browsers on both Mac OS X and Windows.
The Spry framework now has a rich set of demos, including a full suite of effects in the Scrip.aculo.us style, as well as decent documentation, some excellent tutorials, and some additional demo-like "samples." Spry has its own widget framework, which is likewise explained in detail, including a full writeup on the Spry Accordion widget. All in all, this is a very impressive new choice for Web 2.0 developers who want to build rich Ajax-enabled interfaces that work identically across browsers and platforms .>>
Pascarello (208) [Avatar] Offline
#2
Re: Again about spry