Tuesday, November 1st, 2005p>
Ryan Asleson and Nate Schutta have released Taconite 1.0.
What is Taconite?
Taconite is an Apache-licensed open source framework that is based on concepts from the W3C DOM Level 3 Load and Save specification. Taconite aids in the development of Ajax-enabled applications by allowing the developer to specify new or updated content as XHTML.
Taconite automatically updates the current Web page’s DOM based on the XHTML supplied by the developer. As such, Taconite eliminates the need to write document.createElement and document.appendChild statements to update the DOM following an Ajax request.
Better yet, Taconite takes care of the quirks that exist among modern browsers. Have you ever tried to dynamically create a radio button in Internet Explorer? It can be done, but only if you know the correct work arounds. Taconite shields this and other browser quirks from the developer.
Unlike other frameworks, Taconite can be used with any server side technology, be it Java EE, .Net, PHP, and others. As long as the server can generate some XML, it can be used with Taconite.
Server Side XML Return
The client side world understands specified XML return types. This means that your server side code just needs to return something like this:
<taconite-root xml:space="preserve"> <taconite-replace-children contextNodeID="echoResponse" parseInBrowser="true"> <div> Your name is: [insert name] <br/>Your gender is: [insert gender] <br/>Your age bracket is: [insert age] <br/>The tools you use is/are: [insert tools] </div> </taconite-replace-children> </taconite-root>
Posted by Dion Almaer at 4:46 pm