Archive for the ‘Javascript’ Category

Name space programming in Javascript

We all start javascript programming in a procedure way, the functions and variables defined in the way everything are global, global variables are evil some even claim, on the other hand when scripts getting bigger, and object programming concept is being used more and more, you are facing with a daunting task of maintaining and refactoring your existing scripts, developing new code is also getting more and more difficult. To organize the code into classes is the right way to go down, further than that how about modules or name spaces in javascript? The answer is yes. Read the rest of this entry »

Anatomy of JSONP Ajax in GWT

It is just a self study note from http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html Read the rest of this entry »

Tags:

Anatomy of JSON in GWT

Part 1: JSON Ajax Server

It is just a simple HttpServlet which streams back a json string Read the rest of this entry »

Tags:

Anatomy of RPC in GWT

When you create a new GWT project from sample code, you will get a widget with ajax capability, as GWT is meant to do javascript programming in Java language, what you see from this sample project are all Java code, if you want to understand this in a manner of client and server separation, there will be some miles to cover to get there. Read the rest of this entry »

Tags:

treeTable plugin recursive expand and collapse issue

treeTable is a very simple jQuery plugin that renders tabular data in a tree format, but it(latest version 2.3 at the time of writing) has a few bugs one of it is its expand and collapse function are not recursive as they were claimed. Read the rest of this entry »

Tags:

Page 1 of 512345