From: Edwin C. <com...@gm...> - 2010-05-22 10:53:33
|
Hi Andrew, Great you are putting effort into the showcase. The showcase was put together a long time back and with the new MVP framework in GWT 2.1 I was thinking of trying that out, but you already have something going. One thing I would also like to put in the showcase is a working 'show source panel' that uses a syntax highlighting lib like http://alexgorbatchev.com/wiki/SyntaxHighlighter As you know, the showcase was not setup as a Maven project, but as a GWT Eclipse plugin project so it would easily run in Eclipse. Right now you can just open it as an existing GWT Eclipse project, possibly change the version of GWT your using and code away. However, I am a big fan of Maven and would be in faovour of Maven if it can work in such a way that is easy to run and debug the showcase using the GWT development mode. Having the showcase in the cloud would be a big plus! +1 for that +1 for the zero-arg constructor (if Javadoc explains the how and why) RPC of geometry objects would be possible if a) if we create a GeometryFactory which can take an OpenLayers geometry, copy all the content to a GWT-OL geometry object b) if we create geometries that do not wrap Javascript objects, but that are converted to OpeneLayers geometry objects when they are provided as arguments to GWT-OL functions. Option b) would be very nice. We should investigate if we can use the current objects and no longer let them extend OpenLayersObjectWrapper, but let them be native GWT classes implementing IsSerializable (all the implementations of the methods would change as well). Anywhere the objects would then be provided to OpenLayers as arguments there should be some GeometryConverter under the hood that copies all properties to an OL geometry. See also: http://code.google.com/webtoolkit/doc/latest/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable Greetings, Edwin On 22 May 2010 10:26, Andrew Hughes <ahh...@gm...> wrote: > Hi Edwin, > I'd really like to do some work on the showcase. What I would like is too... > > Take the GWT Showcase application source and replace their examples with > ours > (see http://ongwt.googlecode.com/svn/trunk/com.google.gwt.sample.showcase.Showcase/Showcase.html) > I'm close to getting this working but the (compile time annotations for the > generators are relying on gwt classes that aren't in the OEM jars - should > be able to get this working soon enough). > Deploy the GWT-OpenLayers Showcase to the google app engine. I took the > liberty of registering "gwt-openlayers" (and I need to find out how I can > share this with you). > Populate the showcase with examples.... > > This might be just me but I really do feel this should also be a maven > module. I find it very difficult to work with the showcase project in it's > current state. > Just a few other things... > We need client/server rpc serialization of geometry objects. I know you said > you had been working on this, any chance I could see how you're trying todo > this? > We use the UiBinder heaps in our app, the way it applies styles and layout > means that the MapWidget should offer a zero arg default constructor. I > don't believe there is any requirements from OpenLayers for width and height > on init. I think a zero arg constructor might be a good idea (I do have a > workaround) > Cheers. |