« Return to Thread: DWT - Dojo on GWT

Re: DWT - Dojo on GWT

by Gaurav Vaish-2 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Maulin,
 
Great response! I really appreciate that.
 
Here's what I intend to do:
 
1. Not have Dwt as a thin wrapper on Dojo as what it seems to me Gwt-Ext.
2. Dwt may turn out to be as large a work as Dojo itself, as I itend to port JavaScript code to Gwt-compatible Java.
3. However, there are scenarios where it may just be a thin layer... JSNI calls.
 
 
And here's how I intend to do:
 
1. I have so far written thin layer to work with JavaScript object and array (just getter & setter for properties)
2. I will be pushing some items in the "docs" section comprising of
 
    a) Overview
    b) Roadmap, as much as possible
    c) Architectural view - how will the classes look like, what will be ported, what will be passed on, what will be supported, what may not be supported.
    d) Try to lookup & resolve base issues first -- where JavaScript and Java do not match. Most common being "functions" - the heart and soul of JavaScript.
    e) How about mixins... I'm still looking for how to work with that. Any and all suggestions are welcome.
    f) And... I don't really know at the moment. :)
 
My phasewise approach is as follows:
 
    1. Take dojo and port it, but not be stuck because of whatever reasons. If stuck -- look for solution, alternatives or finally, put on back-burner :D
    2. Take dijit and port step by step. First step is to do a "dojo.require" natively and slow, try to remove all JavaScript files
 
 
--
Happy Hacking,
Gaurav
http://dwt.sourceforge.net
http://blogs.mastergaurav.com
http://eduzine.edujini-labs.com
---------------------------
 

 
----- Original Message -----
From: maulinpshah@...
To: dojo-interest@...
Sent: Monday, June 30, 2008 20:55
Subject: Re: [Dojo-interest] DWT - Dojo on GWT

This looks very cool. With GWT 1.5 JavascriptObject, it will not be too hard to make a simple wrapper for dojo, and expressly for dijit in GWT. However, to preserve the architectural underpinings of dojo, I think it may be quite a bit of work. For example, you will need to support things like dojo.connect, since that is everywhere, and that may be trickier. I think some open conversations about how the dojo api ports to Java should be undertaken before too much coding is done. And I would really like to hear the thoughts of Alex and the other Dojo folks on what they see as the biggest issues are.
 
The other major issue in integration is seeing if you can bring the performance improvements offered by the GWT compiler and the Dojo build tools together somehow. A solution that could use GWT compiler and treat Dojo as a library of tools that could be selectively included in the build, inlined where necessary, etc. would be great. Because otherwise you will, by necessity have to have all of Dojo (built with appropriate layers) and all of GWT together on the page. That being said, a quick look at GWT-Ext show that that is exactly what they do on that project. In other words they do not worry about optimization of build, but only about creating a shim between the Ext api and a Java Api. An example: you could provide an API to dojo.query, but have it pass through to GQuery to save some code (maybe...)
 
I think this could be a really cool project, but I do think the API would need to be really well thought through for it to succeed... I would be interested in helping out in whatever way I could...
 
just my $0.02
 
-maulin
 
On 5/29/08, Gaurav Vaish (www.edujini-labs.com) <gvaish.java@...> wrote:
Hi,
 
I've put a sample demo - Proof of Concept - application at http://www.youtube.com/watch?v=vofWWK0lrIk
The typical "Hello, World!"
 
Edujini Labs (from Bangalore, India) intends to support the project
 
 
We would require support from the Dojo Team and community for the success of the project.
 
 
Cheers,
Gaurav Vaish
www.mastergaurav.com
www.edujini-labs.com
---------------------------------------------------------------
Spoken Words Fly Away, Written Words Last Forever
---------------------------------------------------------------
 

 

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest@...

http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest




--
-maulin


_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest@...
http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest@...
http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest

 « Return to Thread: DWT - Dojo on GWT