Ajax Requests can also be made without a web-server (ie local file systems) via HTTP-Status-200 emulation.

Ext.lib.Ajax joins the Ext Event system (implements util.Observable). The following events added:

request - (cancellable) Raised just before any passed headers, post content have been serialized. beforesend - (cancellable) Raised just after all headers, parameters, and content have been serialized and just before the XHR.send occurs.response - (cancellable) Raised after any response is received, but before any of the success/failure callbacks are made. (Use this to intercept each response for debugging, etc) exception - (cancellable) Raised after any non-successful HTTP status is recieved, but before any of the other internal success/failure callbacks are made. abort - Raised any time a forceful abort is issuedtimeout - Raised any time an asynchronous request times out.readystatechange - Raised each time the XHR objects' readyState changesstatus:n - Raised anytime a specific httpStatus is returned by the requested server

onStatus/unStatus Event methods. Specific HTTP Status codes may be trapped via cancelable eventListeners. Returning false from an onStatus Handler prevents further function calls/events from being made by the Ajax request stack.

Code:

Ext.lib.Ajax.onStatus([403,401],sessionTimeoutHandler,myApp)

Alternatively, individual handlers may be assigned using the traditional Observable syntax:

Code:

Ext.lib.Ajax.on('status:403', sessionTimeoutHandler, myApp);

Note: Ext.lib.Ajax is still implemented as a singleton object, thus any event handlers defined at this level are global to all Ajax requests.

Replaceable Form encoder support. The Form-POST/Parameter encoding function may be changed at runtime to support non-standard (other than the default: encodeURIComponent) character encoding/encryption:

Then, any form serialized by Ext.lib.Ajax.serializeForm can use a custom encoding strategy.

Proper library placement is key. In order for lib.Ajax to get Observable support, ext-basex.js must be placed after the ext-base.js adapter and the Ext javascript module that provides Ext.util.Observable. For most installations, this will be either ext-all[-debug].js or ext-core.js. Including it before these modules (although fully functional) will not permit lib.Ajax to generate the events described above.

Note: In this version, the request method (GET, POST, PUT, DELETE, and other HTTP verbs) specified by the options.method config takes precedence over any method derived by the Ajax stack .

lib.Ajax Request Queues. Ajax requests can now be made with named queues; each with specific execution priority. See this post for more details.

Global forEach iterations:

Code:

forEach([1,2,3],console.log); or [1,2,3].forEach(console.log); //Gecko already has the later form.
forEach(object,console.log);
"This is a test".forEach(console.log); or forEach("This is a test",console.log); //character enumeration

license question

Does buying developer seats for one version give you access to the other versions.
For example, we recently updated to 3.0 of ExtJS, so updated to 3.X of basex. We need to buy developer seats before we make a customer delivery, but I see that basex vs. 4 is out. If we buy licenses to 4, do we by default also have licenses for 3?

Does buying developer seats for one version give you access to the other versions.
For example, we recently updated to 3.0 of ExtJS, so updated to 3.X of basex. We need to buy developer seats before we make a customer delivery, but I see that basex vs. 4 is out. If we buy licenses to 4, do we by default also have licenses for 3?

Thanks

@jpphillips --

basex licenses are perpetual (issued without regard to current/past/future releases).

When I try to use infovis which is in JIT JavaScript, I get this error:ReferenceError: $jit is not defined

I would like to use ExtJs 3 with JIT for making some nice visualization. I tried Raphael.js and it is very nice but there isn't many examples in the internet like InfoVis where I found so much stuff about this.