Re: [gwt-contrib] About GWT opinion in thoughtworks technology radar july 2011

2011-08-03 Thread Miroslav Pokorny
The article is a poor source if one attempts to make a meaningful techincal assesment on any opinion. Sure theres a lot of buzzwords but almiost no technically minded examples to back any of the assumptions. Does it show you why X is better than Y at attempting Z. No, so what your basically left

Re: [gwt-contrib] RFC: Fixed width column support in CellTable

2011-01-05 Thread Miroslav Pokorny
Minor suggestion but would not ColumnWidthSource be a better name than ColumnWidths, after all it is a source of column widths given a column. When i see classes w/ plural names, i think of classes w/ static helpers java.util.Collections. Guice is another example of this naming style. --

Re: [gwt-contrib] delayTestFinish allowing the next test to begin before the previous one finishes (2.1.0.m3)?

2010-10-01 Thread Miroslav Pokorny
Translatable means the jsvacript translated equivalent. Your tests are running inside a jvm using pure java. Even your native methods are emulated js. On 01/10/2010, at 9:54 AM, Damon Lundin damon.lun...@gmail.com wrote: We are trying to upgrade from 2.0.4 to 2.1.0.m3 because of some bugs in

Re: [gwt-contrib] ImageResource to html

2010-08-13 Thread Miroslav Pokorny
Hi David What do you mean by IMG tag, do you mean IMG with a src=/somefile on the server ? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] GRIN scene graph for GWT

2010-07-27 Thread Miroslav Pokorny
Interesting can you make an official ready to go d/l available so we can skip the checkout and build step. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Another approach of HTML templating in GWT

2010-06-30 Thread Miroslav Pokorny
Hiho Taking a look at the demo its not clear what it actually does and does not do. Please elaborate. tya mP On Wed, Jun 30, 2010 at 7:27 AM, Radek r.oles...@gmail.com wrote: I would like to present a different approach to the HTML templating: http://gwtapp.org/ It's runtime HTML

Re: [gwt-contrib] proposing a hypothetically breaking change to gwt-servlet.jar: comments?

2010-06-24 Thread Miroslav Pokorny
Why not write a little tool with ASM which visits all class dependencies starting with the remote servlet class. Naturally one would need to add from a whitelist because of reflection etc. If your tool is accurate then one should be able to get an accurate list of whats actually used at runtime.

Re: [gwt-contrib] Command pattern and GWT.runAsync

2010-06-04 Thread Miroslav Pokorny
at 3:11 PM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: Why use a uber command pattern for all services. This only leads to some controller code to dispatch the command on the server which means everything gets funneled thru a single point with no real gain. Keep the services

Re: [gwt-contrib] Command pattern and GWT.runAsync

2010-06-04 Thread Miroslav Pokorny
give the ultimate approach that we all should be using ? Yes and discussed above sometimes things don't alwyas work out perfectly - that's life David On Fri, Jun 4, 2010 at 2:25 PM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: Does it really make sense to give all serivices the same

Re: [gwt-contrib] Command pattern and GWT.runAsync

2010-06-03 Thread Miroslav Pokorny
Why use a uber command pattern for all services. This only leads to some controller code to dispatch the command on the server which means everything gets funneled thru a single point with no real gain. Keep the services separate each w/ their own respective end points and service interfaces. That

Re: [gwt-contrib] GWT-Query - needs forking?

2010-03-16 Thread Miroslav Pokorny
Hi Richard, You do mean Ray Cromwell ? hes quite active here and should see your message. hth mP On Wed, Mar 17, 2010 at 2:18 PM, Richard Vowles richard.vow...@gmail.comwrote: Hi all, Not sure how to get a hold of the person responsible for GWT-Query, which was spoken of in terms of

Re: [gwt-contrib] Re: Make java.util.Collections.Empty{List,Map,Set} work with GWT RPC

2010-02-17 Thread Miroslav Pokorny
Bit petty but shouldn't Collections be final. Many (most) Collections inner classes can also be private rather than package private which should make life for the compiler that bit easier. Hth On 18/02/2010, at 6:14 AM, sco...@google.com wrote:

Re: [gwt-contrib] Re: Add the ability to change the default HandlerManager of a Widget

2010-02-11 Thread Miroslav Pokorny
Thinking outload... What about allowing ctors to take a HM. The other ctors use the default implementation. If you dont care for a HM then use the ctors without HM in the parameter list. That way you dont pollute the widget method list with gets/creates and sets which prolly dont make sense once

Re: [gwt-contrib] Request for comments: Really Simple Binding

2010-01-22 Thread Miroslav Pokorny
Take a look at gwt-pectin. I have only looked at the demo and general browsing but it seems quite and functional and achieves many of the objectives you describe. On 23/01/2010, at 10:28 AM, Jon jon.ner...@gmail.com wrote: Request for comments: Really Simple Binding IMO UiBinder is a

Re: [gwt-contrib] Re: Request for comments: Really Simple Binding

2010-01-22 Thread Miroslav Pokorny
, 2:59 pm, Miroslav Pokorny miroslav.poko...@gmail.com wrote: Take a look at gwt-pectin. I have only looked at the demo and general browsing but it seems quite and functional and achieves many of the objectives you describe. On 23/01/2010, at 10:28 AM, Jon jon.ner...@gmail.com wrote: Request

Re: [gwt-contrib] Re: now.. afetr GWT 2.0?

2010-01-22 Thread Miroslav Pokorny
What has protocol buffers got to do with gwt ? There's nothing stopping one from using it on the server ? What utility does it add to the clientside ? Where exactly does it fit in the grand ecoscape ? On 23/01/2010, at 2:19 PM, Allahbaksh Asadullah a.allahba...@gmail.com wrote: +1

Re: [gwt-contrib] Re: Custom element parsers for UiBinder

2010-01-08 Thread Miroslav Pokorny
In your ElementParserToUse annontation why not pass the class instead of classname which enforces some typesafety. On 09/01/2010, at 3:30 AM, ggeorg georgopoulos.georg...@gmail.com wrote: Hi Ray, Please have a look at: http://code.google.com/p/google-web-toolkit/issues/detail?id=4461

Re: [gwt-contrib] Re: now.. afetr GWT 2.0?

2009-12-19 Thread Miroslav Pokorny
like ? On Sun, Dec 20, 2009 at 6:29 AM, federico federico.mona...@gmail.comwrote: - clean EventBus implementation with transparents server-push events On 19 Dic, 00:29, federico federico.mona...@gmail.com wrote: - runtime modularity to avoid monolitic compilations On 16 Dic, 18:01,

Re: [gwt-contrib] Re: now.. afetr GWT 2.0?

2009-12-18 Thread Miroslav Pokorny
I would like more control over which classes/packages were actually sucked into a module for compilation. I appreciate there are workarounds like sticking diff java files under diff src dirs but that's ugly. I don't like how including a particular package also sucks in sub packages. I

Re: [gwt-contrib] Framework naming question

2009-12-17 Thread Miroslav Pokorny
Hi Toth I would suggest not to use gwt-from-x as it sounds like you wrote gwt. I would suggest either something dash / for gwt so it's named along the style log4j where log is your something etc. Hth On 18/12/2009, at 10:11 AM, Tóth Imre tothi...@gmail.com wrote: Hi All! Within a few

[gwt-contrib] Re: Trace that auto detects the calling class/method.

2009-11-09 Thread Miroslav Pokorny
traces on all browsers by default (IE requires an extra flag that generates a fair amount of overhead -- don't use lightly), but could help somewhat. On Fri, Nov 6, 2009 at 5:22 AM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: Why not just include the class.method name

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Miroslav Pokorny
It sounds like an alternative might be to have the compiler to spit out properties files full of key value pairs with one per locale. Naturally the compile would output shortened keys etc and record a mapping file. A tool would be made available to update just these text resources and the

[gwt-contrib] Re: Server side I18N

2009-10-21 Thread Miroslav Pokorny
wrote: On Wed, Oct 21, 2009 at 3:48 PM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: It sounds like an alternative might be to have the compiler to spit out properties files full of key value pairs with one per locale. Naturally the compile would output shortened keys etc and record

[gwt-contrib] Re: Any plans for supporting Scala ?

2009-10-02 Thread Miroslav Pokorny
The main hurdle remains that the compiler works on source and not bytecode, was there not a plan to change this sometime in the future. If it worked on bytecode one could use any language as it would not matter. Fir the moment it's too late got that now, unless some dies the work of

[gwt-contrib] Re: rpc and httpclient

2009-09-30 Thread Miroslav Pokorny
This is contribution group where the team talk about developments, the other group is for questions. Of course you can make another http request on the server. You can do whateer you want on the server, after all its all Java. On Thu, Oct 1, 2009 at 4:19 AM, jobzino jobfm...@gmail.com wrote:

[gwt-contrib] Re: Regarding Transliteration - Incorrect output

2009-09-01 Thread Miroslav Pokorny
Hi This group is not for general gwt help and questions - try the regular gwt group. Some suggestions: 1/ don't write java code inside a jsp. Move it into a real class and write up some tests. Write tests for all the main steps showing inputs and expected outputs. 2/ what do you

[gwt-contrib] Re: UiBinder first impressions

2009-08-25 Thread Miroslav Pokorny
Extras... Are there any plans to build a ui tool (maybe in swing) so designers can drag n drop available widgets and have the view instantly updated? Other kool features might include save the file etc. Some of the extra features in interface builder. Thoughts...? On 26/08/2009, at 2:14 AM,

[gwt-contrib] Re: Adding a DOM com.google.gwt.dom.client.Window class?

2009-08-17 Thread Miroslav Pokorny
Re/ Selections I have Selections for all the big 4 in my library. Ive implemrmted most of the needed functionality to mimic the w3c interfaces including: • creation by specifying end points ( Elements, offset) • testing if a selection exists. • expanding / moving either the start / end. •

[gwt-contrib] Re: DTO compiler optimization

2009-08-11 Thread Miroslav Pokorny
@Gary I have not seen the GoogleIo vid, why do you say wave uses json AND protocol buffers to talk between client - server...? On 12/08/2009, at 11:01 AM, Gary Miller miller.ga...@gmail.com wrote: I agree the problem is begging out for a more elegant solution. From the Google IO

[gwt-contrib] Re: insertPanel interface

2009-08-10 Thread Miroslav Pokorny
It's a difficult juggling act, balancing the need to have interfaces fir everything and the practical value in actually doing it. I recall rwading/listening to something Josh Bloch said about why there are not any read only collection interfaces Vs the way it was done and what we have

[gwt-contrib] Re: New GWT RPC project: gwt-rpc-plus

2009-08-09 Thread Miroslav Pokorny
@Matt I was just wondering if it were possible to specify a concrete substitute for an interface type - this would this help solve the too many serializer problem. By too many Serializers i mean of course the need for the generator to create Serializers for all concrete types implementing List

[gwt-contrib] Re: insertPanel interface

2009-08-08 Thread Miroslav Pokorny
As with all thi gs computer related each action has some kind of reaction of cost. Sometimes this cost is visible other times it's not as noticable. By introducing an Insertxxx interface and having all the right Panels implement it you are making your compiled JavaScript that much bigger.

[gwt-contrib] Re: Async interface black magic

2009-08-03 Thread Miroslav Pokorny
The Async interface is necessary because one does not want to use sync (blocking) rpc calls back to the server. When using blocking calls the entire browser freezes which is especially bad give responses arenot instantwous. Hth On 03/08/2009, at 1:10 AM, jd jdpatter...@gmail.com wrote:

[gwt-contrib] Re: Java source transformation

2009-04-23 Thread Miroslav Pokorny
To implement Interceptors in gwt one does just needs to follow the same general patterns that exist in real java and aop. I have already done interceptors / aop for gwt as part of my own di module in gwt. One does not need interceptors in gwt a lot of extra behind the scenes classes are

[gwt-contrib] Re: Java source transformation

2009-04-23 Thread Miroslav Pokorny
be inferred final, and this will lead to bloat. Perhaps future compiler hints like @DoNotInline could help, or maybe reusing 'volatile' some how, like if a method references a violate parameter, it can't be inlined or staticified. -Ray On Wed, Apr 22, 2009 at 11:41 PM, Miroslav Pokorny

[gwt-contrib] Re: Java source transformation

2009-04-23 Thread Miroslav Pokorny
be inlined or staticified. -Ray On Wed, Apr 22, 2009 at 11:41 PM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: To implement Interceptors in gwt one does just needs to follow the same general patterns that exist in real java and aop. I have already done interceptors / aop for gwt as part

[gwt-contrib] Re: Java source transformation

2009-04-23 Thread Miroslav Pokorny
Maybe the simpler answer is to have a read resolve / write object equivalent. I personally think coupling these value objects all the way from your database tier to the browser smells. The detached object problem seems like a symptom of the smell. On 23/04/2009, at 12:22 PM, Ray Cromwell

[gwt-contrib] Re: Java source transformation

2009-04-23 Thread Miroslav Pokorny
to do it, the answer is, maybe there is. I don't think it is helpful to just shutdown discussion over a particular pattern because one doesn't like it. On Thu, Apr 23, 2009 at 12:47 AM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: Too much extra nonsense adding annotations everywhere

[gwt-contrib] Re: Patch to add getElementsByClassName support

2009-04-17 Thread Miroslav Pokorny
Provide some tests and make sure it works on all officially supported browsers even if the implementation is suboptimal. There are many js libs out there so it's not hard to find the best way to do it fir the various browsers... On 18/04/2009, at 12:39 PM, Vitali Lovich vlov...@gmail.com

[gwt-contrib] Re: RPC HashSet HashMap deserialization bug/limitation

2009-04-16 Thread Miroslav Pokorny
If one were to serialize the entries rather than recreating the map via put alot of other things would need to be changed. For one the calculation of hashcodes in emulated jre would need to match those on the server otherwise look ups by string in a hashmap sent over the wire would never

[gwt-contrib] Re: GWT-RPC broken in GAE/J

2009-04-16 Thread Miroslav Pokorny
Another useful RemoteServiceServlet method would be soMething that allows the developer to coerse types into another compatible type. This would make it easy to send foe example the value object instead of the enhanced type instance. It might also potentially allow anonymous Lists to be

[gwt-contrib] Re: weak listener in GWT?

2009-04-06 Thread Miroslav Pokorny
Another option to assist with mass one step removal is to add said listeners to a container class that also implements the listener. Then add the listener to the widget. To remove all listeners in one operation simply remove the container. This and similar types of organisation do not

[gwt-contrib] Re: weak listener in GWT?

2009-04-05 Thread Miroslav Pokorny
Hiho The best thing to do is you implement the very feature yourself by wrapping the widgets you wish to target inside a composite and override the ondetach() etc. There are many simple similar strategies you could use to auto cleanup listeners belonging to unneeded widgets. Hth On

[gwt-contrib] Re: Add StyleInjector to GWT trunk

2009-04-04 Thread Miroslav Pokorny
example of how this would even be used and how the end user (not generally aware of CSS and cascade rules) would even decide what to do? On Fri, Apr 3, 2009 at 8:52 PM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: That's correct because they cascade. The benefit of specifying which

[gwt-contrib] Re: Add StyleInjector to GWT trunk

2009-04-03 Thread Miroslav Pokorny
This is probably the wrong time to ask -but updating styles via the addition of style tags seems very limiting. If I recall IE (cant recall which vetsion was probably 7) chokes when a page has more than thirty odd style elements. Why not add new rules using StyleSheet.addRule/insertRule or

[gwt-contrib] Re: Add StyleInjector to GWT trunk

2009-04-03 Thread Miroslav Pokorny
at once using text. If there is, it's certainly not part of the W3C DOM CSS OM. -Ray On Fri, Apr 3, 2009 at 8:21 PM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: One does not have to add the rules one by one. If I recall it is possible to get the entire content of a stylesheet using

[gwt-contrib] Re: eliminate dynamicCast for generics, or all?

2009-03-31 Thread Miroslav Pokorny
@mark Your trick as mentioned (using jsni to avoid casting ) was/is used by the generated rpc serializers to avoid / skip casts ... Mp On 01/04/2009, at 5:44 AM, Mark Renouf mark.ren...@gmail.com wrote: Got bit by this the other day. This is my current workaround for Comparable, since

[gwt-contrib] Re: Doing AOP, Dojo style

2009-02-08 Thread Miroslav Pokorny
Hello Jarrod I have implemented an IOC and AOP framework for GWT - rocket-gwt - everything is defined in a Spring like xml file and the factory realised at runtime via a generator. I am however after looking back not convinced of the need for AOP in a GWT environment because of the extra crap

[gwt-contrib] Re: How GWT/Ajax Image viewer/editor

2009-02-04 Thread Miroslav Pokorny
Wrong forum try the regular GWT forum. On Thu, Feb 5, 2009 at 9:17 AM, Sandeep Khanna sandeep.p.kha...@gmail.comwrote: Can someone guide me as to how one would go about to build a very very simple multi-page image (TIFF) viewer/editor using GWT. The interface would be similar to Adobe

[gwt-contrib] Re: r4419 - in trunk: . dev

2009-01-20 Thread Miroslav Pokorny
Your problem is because the jetty classes have been re-packaged under com.goolgle.gwt.thirdparty etc but somewhere there's some reflection code try to instantiate a jetty class using it's org.mortbay name. The class name must be coming from a string or text file which unfortunately did

[gwt-contrib] Re: Relax JSO restrictions?

2008-12-12 Thread Miroslav Pokorny
What about having two forms of the Jso class a regular .java which would be read by javac another under a super source source directory which would actually be used during a gwt compile aka like emulated JDk / junit etc classes. Any superclasses of jso would also need the same treatment.

[gwt-contrib] Re: Turning off runtime checks

2008-11-13 Thread Miroslav Pokorny
This problem could be solved by introducing the ability to remove methods marked with a particular annotation when some option was enabled and have them eliminated accordingly. Imagine the ClassCastChecking and ArrayIndexChecking were done by two methods on some imaginary helper class used by the