Source: Twitter / AdobeSpry
AdobeSpry: Documenting the undocumented, using the Spry.$ function: http://tr.im/FawjSource: Twitter / AdobeSpry
AdobeSpry: Adobe Spry has its first user group, Spry-it! http://tr.im/FadjWhile most parts of the Spry framework are well and intensively documented. There are some features and functions missing inside the documentation. For the new and upcoming website of Spry-it we are tackling this issue with a new search-able and re-documented database. But until than we are still stuck with the old documentation.. Or not?
In the upcoming blog posts, we will attempt to shine some light on these hidden functions. To kick it off, we will be starting with the SpryDOMUtils.js.
SpryDOMUtils
This part of the Spry framework provides us with tools to work with browsers DOM (Document Object Model) such as a CSS3 complaint element selector (Spry.$$).
You can this file by downloading the complete Spry library at: http://labs.adobe.com/technologies/spry/
Spry.$( arguments );
The Spry.$ is a wrapper for the native document.getElementsById function. It gets like the native function, elements by the id="" attribute. But the Spry function allows you to send multiple arguments to the function.
Syntax:
Spry.$( arguments );
Arguments:
arguments "String", one or multiple strings that represent the id's
Returns:
HTML Node or Array of HTML Nodes, depending on the amount of arguments you supplied.
Example:
<strong id="element">Strong</strong> <b id="another">Bold</b> Spry.$( 'element' ); // returns the HTML element with the id="element" Spry.$( 'element', 'another' );// returns a Array with both the elements
Welcome to the first and currently only Adobe Spry user group. With growing number of Spry developers the need for a community is growing. The Spry forums are currently the only good and high quality source of information for your questions. But because it's only one forum it limited to its boundaries.
Spry-it aims to solve those issues. We will providing users with more and in-depth information about the Spry framework. This is additional documentation, information, a more extensive and search-able API. And different channels of information, from RSS feeds to Adobe Wave notifications.
Adobe Groups and Spry-it.com
We are currently inviting beta testers to our platform. If you have signed-up already please do so at: http://www.spry-it.com. We will be using the Adobe groups site to distribute information and future paths of the user group. So its recommended to also sign-up for the Adobe groups site so you will always be up to date with the latest information.
Get involved!
Currently development and progress of the new site is low because its a one man crew. If you wish to contribute feel free to contact me. We can always work something out. We will be running on Jaxer ( serverside JavaScript and DOM ).