One of the prominent features in HTML 5 is WebWorkers. WebWorkers provide the facility to run your JavaScript code in a background thread. All the code that we write in JS are executed in the UI thread. Hence performing a […]
The drag and drop examples in Ext JS4 look overly complicated that one keeps wondering if drag and drop implementation is very difficult. It’s actually pretty simple. Let’s drag a simple label into a panel as shown below. Before DnD […]
Local storage in HTML 5 lets you store data in the browser’s memory. Unlike cookies they don’t travel with the client request. Mobile applications make use of this facility extensively. Playing with local storage in the raw format using JavaScript […]
DSL, Domain Specific Languages is a fascinating subject. Reams of articles have been written on this topic. Groovy provides a fluent syntax to create DSLs. Let’s use the meta-programming and closure concepts and build a simple DSL. Say you have […]
Ext JS 4 makes you construct the UI by writing JavaScript code. You have to write few lines of JavaScript code to construct even a simple textbox or a button. So developers always try to look for a way to […]