The DWT project commenced about a fortnight back and soon hit some roadblocks.
Firstly, the Ajax communication to the server in Google Web Toolkit is asynchronous and as such retrieving the templates in template based widgets was an issue. For which the team wrote a quick-fix to query the server synchronously. A function getText was added to com.edujinilabs.dwt.client.dojo.Dojo class (see the code here).
Ok... that was an easy go. But then, we had the real fun!
In the Part 1 of the series, we learnt how to get started with creating custom UI widgets using Dojo Toolkit. In Part 2, learn to separate the UI from the business logic. Technically, we learn how to use templates to design the UI using simple HTML while keeping the functionality as separate JavaScript code.
Downloads
The downloads, as ever, are available in the downloads area.
Templated Widgets
Dijit sub-framework in Dojo Toolkit provides a support for templated widgets through the object dijit._Templated. Well, we do not inherit this but use as a mixin and choose dijit._Widget as the parent object.
Did you know that the Edujini Gang is working on Dojo for more than a year now! Surprising right? Since there has been not a single entry on Dojo until the recent the recent announcement of the Project DWT (Dojo on Google Web Toolkit).
Introduction
Dojo Toolkit offers a simple yet powerful architecture to be able to create custom widgets. In Part 1 of the series of articles, we look at how to create a custom widget - probably with minimal styling and functionality.
Downloads
Yo! Buddy. The downloads are available in the downloads area.
This is the updated version of the announcement - the License has been changed to New BSD
To take the development experience with Dojo Toolkit on to the next level using Google Web Toolkit, Edujini™ Labs plans to port Dojo Toolkit for GWT.
The project would soon be hosted at SourceForge under both GPL v2/3 New BSD and commercial license. We have sought for the project name "DWT" (applied under APT process, and may take 2-3 weeks for complete takeover).
The project would be led by Gaurav Vaish, initially supported by core team comprising of
Abdul Prodhani
Hair S Nair
Shake Sajan
To get started, a quick proof-of-concept demo has been created. It's not a very clean implementation - just a get started stuff.
You can support this project by spreading the word, to start with . Just "Digg It". Some people have reported problems with Digging the articles on Eduzine... if that's the case with you, "Digg This" - http://blogs.edujini-labs.com/2008/05/30/dwt/