[Catalyst] OT: YUI v Ext JS

Ashley apv at sedition.com
Sat Jan 26 00:44:18 GMT 2008


I'm working with something that's using YUI's DataTable. It works  
nicely. It's pretty. It has a lot of features. It's marked "Beta,"  
though, and it does not, unless something has changed and is hidden  
somewhere, handle updating the data source at all.

   http://developer.yahoo.com/yui/datatable/

There are hooks for changes to the table itself so it would be easy  
enough to write some Ajax calls out of those to do the updates but  
then I also have to write in a table refresh, keep track of state,  
etc, and after walking through the excellent -- http:// 
catalyst.perl.org/calendar/2007/9 -- it seems like a poor way to  
handle it when Ext JS already does what I want and has, apparently 
(?), all the same features.

   http://extjs.com/deploy/dev/examples/grid/edit-grid.html

So, I'm leaning to redoing the thing with Ext JS (frankly, from what  
I've seen I think it blows doors on YUI) but this is for work so if  
I'm gonna do this I have to justify it or look like a *&^% for  
wasting a day or two switching libraries. We're just getting going  
though so a day or two now would really beat a couple weeks next year.

Is it justified? (If this were just for me, I wouldn't ask, I'd work  
it out but I would really like to get it done one way or the other  
this weekend and I think it's a good topic for everyone's edification.)

* Does Ext JS's grid have all the same goodies as YUI's DataTable?

* Is Ext JS completely stable across IE, FF, and Safari (Opera is  
sort of out of scope for this).

* Do YUI's considerable other offerings (I'm looking for a site-wide  
library, not just grids) outweigh the positive aspects of Ext JS?

* Would anyone, knowing *both*, pick YUI over Ext JS?

Tangent: I saw a webpage about 3 months ago that had a table of the  
JS libraries compared with speeds, errors, support for various DOM  
and browser aspects, the works. Color coded and, IIRC, you could run  
the tests in your browser from the page to see live errors and speed.  
I cannot remember where I saw the page. Does anyone know what I'm  
talking about and where the page is?

Thanks!
-Ashley




More information about the Catalyst mailing list