extjs – my favourite widget-rich javascript library de jour

extjs.com After looking at dojo/scriptaculous/yui/jquery and the like, I finally narrowed it down to extjs ( http://extjs.com ) as my favourite playground for a widget-rich browserindependent javascript library. Check out their examples to get excited quickly.

Of course there is no light without shadow: The API documentation is ‘somewhat terse’ (read: lacking links to examples) and the examples that exist outside of that are excellent for showing off what it will look like but leave out the essential pieces that would allow you to learn on how to make it useful for your own application.

I was lucky to find Sakis extjs examples website: http://examples.extjs.eu/ which does actually implement forms including the submit functionality and so I was able to glean from it how to use the ajax submit/load functionality.

Another interesting find is http://tof2k.com/ext/formbuilder/ which allows you to drag and drop forms together that you can then include in your apps.

Give it a try, if you are shopping for a javascript library that has commercial support and a free community (GPL) version, this is the way to go IMHO.


extjs / php4 on standard rhel4 requires installing json

I was playing with the extjs lib http://extjs.com/deploy/ext-2.0.1.zip on a standard rhel4 apache/php4 setup, and was wondering why the examples that use the jason encoding routines where not working. After sorting out all the misleading information that google came up with about json requiring php5, I finally have the solution for php4, and it is very simple:

1. Download php-json-ext-1.2.1.tar.bz2 from http://www.aurore.net/projects/php-json/

2. Extract and install: tar xfj php-json-ext-1.2.1.tar.bz2 ; cd php-json-ext-1.2.1 ; ./configure –prefix=/usr ; make install

3. Edit /etc/php.ini and add the line “extension=json.so”, then do a service httpd reload.

voila, it works: test.php can now do json_encode($arrayname), and all the extjs examples that use json to provide data to the tree-container drag and drop examples like /var/www/html/ext-2.0.1/examples/tree/two-trees.html now work.

I just confirmed it also works with the newer ext-2.1. Now all I have to do is figure out how to create proper trees from dmidecode output 😉

save flickr – save yahoo mail

Microsoft is going to attempt to incorporate flickr and the other yahoo services into its portfolio.



 http://www.linuxjournal.com/content/what-happens-if-microsoft-buys-yahoo points out that multiple important open source projects that are directly competing with microsoft technology like YUI


What can we do to prevent that?

Everybody buy yahoo shares to make it go up to $40 and vote against the merger?

Everybody pull their content out of flickr when the purchase happens?

If you have a creative and smart idea, please comment…