We designed Cell based widgets to be as fast as possible, even at the cost
of complexity.  Our goal is to significantly increase the number of records
that an application can show while still having the app feel snappy.  The
implementations are complicated because we optimize for various use cases,
especially in CellTree where there are many states to handle.  And of
course, all widget designs start simple, and then we have to work around
browser bugs.  And that's why I stare at the ceiling every night trying to
figure out ways to make CellTable faster and simpler (and then curl up in a
ball and mumble nonsense).

Still, I acknowledge that the API for CellTree is not as complete as the API
for CellTable/CellList, which have received an positive response from most
users.  After GWT 2.1 was released with the initial version of Cell Widgets,
we focused most of our widget efforts on CellTable because that has so much
more use than CellTree, so we have not yet addressed the API shortcomings of
CellTree.  If you have suggestions to make CellTree beautiful like a poem
(or even a haiku), please let me know and I'll consider them the next time I
do a pass on the API.  Suggestions in the form of patch files are preferred.

Thanks,
John LaBanca
[email protected]


On Tue, May 17, 2011 at 5:57 PM, dmen <[email protected]> wrote:

> Dear GWT team,
>
> Once again I feel this unbearable need to complain about your API
> design choices. I have been trying to implement a custom CellTree,
> delving into your sources and man I am left astonished with the level
> of over-engineering and IMHO horrible code organization! I think you
> often make a mistake of trying to fight complexity by throwing more
> code at it.
>
> I am in no way affiliated with the Sencha guys, but I'd urge you to
> take a good look at their architecture and equivalent widget
> implementations. They are beautiful like a poem! They are economical,
> clear to read and understand.
>
> This is a friendly message. I just want my GWT lean 'n mean!
>
> Dimitris
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to