Monthly Archives: April 2011

[HT] Here is an excellent symposium on intellectual property law. There are three speakers including one allied with the Mises Institute who provides an excellent argument against IP altogether. While the other two accept and support IP laws, it is interesting to note what all three do agree on […]

Intellectual Property Panel of NYU School of Law

Here is a solution for making simple JSONP requests in ExtJS 4 Ext.define('Ext.ux.JSONP', { extend: '', alias: 'ux.jsonp', createRequestCallback: function(request, operation, callback, scope) { var me = this; return function(response) { callback.apply(scope, [response]); operation.setCompleted(); operation.setSuccessful(); me.afterRequest(request, true); }; } });

Ext.ux.JSONP for ExtJS 4

Here’s a simple message bus/broker I wrote for Ext.js 4 Ext.define('Ext.ux.MessageBroker', { extend: 'Ext.util.Observable', statics: { instance: null, setInstance: function(i) { this.instance = i; }, sendMessage: function(msg, data) { this.fireEvent('message',{"msg":msg,"data":data}); } }, constructor: function(config){ this.addEvents({ "message" : true }); if(config && config.listeners) this.listeners = config.listeners;, config) } }, function() […]

Simple message bus for extjs 4