Home » Archive

Articles Archive for April 2010

Featured, Headline, Life & Introspection »

[28 Apr 2010 | 2 Comments | ]
A Sanity Test

Are you out of your mind? Meaning are you mad? Or insane? and to what degree? Seriously, how would you know?
Consider the tool you’d be using to determine the answer could potentially be skewing the results, e.g. your mind if insane may not give the right answer.
So the question is relative. You need a frame of reference. An objective third party perhaps, such as a psychologist or psychiatrist. A neurologist could verify the physical construction of your brain but that will fall short in validating how the mind …

Featured, Headline, Web Development »

[11 Apr 2010 | 2 Comments | ]
A Simple Example of Deferred Binding in GWT

Deferred Binding in GWT lets you swap classes at compile time and have GWT generate the result into JavaScript as if you’d coded it that way from the start. Sort of like reflection but at compile time instead of runtime. It’s a bit of nonsense to allow extension of GWT beyond what the native compiler can do.
As a side-note, GWT’s big value add is that it generates JavaScript off of Java. It also does some things during compilation which will speed up the JavaScript it produces de-virtualizing methods and …

Featured, Headline, Web Development, Web Experiments »

[9 Apr 2010 | No Comment | ]
A Simple GWT Generator Example

Generators allow the GWT coder to generate Java code at compile time and have it then be compiled along with the rest of the project into JavaScript. They are a sort of similar to T4 Templates in the .NET world. I don’t recommend Generators because you end up writing a lot of code in printLn()s which is sort of the opposite of “maintainability”. However, there were so few examples available I decided to post a simple one here just for the sake of it.
My Use Case is I want …

Featured, Headline, Web Development »

[6 Apr 2010 | 5 Comments | ]
ExtJS, Metadata and GWT

Back around New Years I was looking for a way to simplify creation of cross-browser, DDA accessible HTML. Screens basically. They had to be very rich with lots of bells and whistles and they had to perform. Ideally this system had to be so simple to use that a non-technical person could create XBrowser, DDA compliant screens. I decided to take a second look at ExtJS and it has come a long way since I’d seen it last.
Using ExtJS you can create a screen programmatic-ally using classes and …