Wednesday, January 9, 2008

Ext js studies: part 1 Layout manager and general impressions

The example code (before whitespace removal) is almost unreadable due to the allergy of the Ext js example coder's stinginess with whitespaces and endlines.

Whenever I reformat a whole script to something that resembles javascript, I get more insights on how the architects built the library.

At this moment I'm using the debug script (ext-all-debug.js), so everything takes a while longer to load than the deployment script.

Ext.Viewpoint is truly impressive. No more monkeying around with css anymore, to achieve a balanced partition of your browser's viewable area (cross-browser! Heck, cross-platform even, see Adobe AIR ). Combined with XHR (aka ajax, XmlHttpRequest), noone need ever to reload the browser again. Very very powerful stuff. And stupidly easy to deploy.

Ext can get tiring for the eyes though, when one has to nest a bunch of objects, to configure a single Ext object.

Mental notes
:
  • What is the basic pattern that occurs when configuring an Ext obj?
  • How does one plug-in data dynamically, using XHR?
  • How do I do the backend?!
  • How do I use haxe to generate graphs/trends?
  • Heck, how do I program in haxe?

No comments: