I woke up today morning with a mail alert from my tablet. Opened it only to see a newsletter from Spring source about the arrival of Spring Framework 4.0 next month. My Spring 3.0 book cover page flashed my mind […]
Functional fever is driving me crazy. I have been trying to write/convert every piece of code to a functional style. For the last couple of weeks, I have been writing tons of code in Scala using pattern matching. In a […]
I was discussing OpenAjax Hub which is an implementation of the publisher-subscriber pattern last week with my client. In the process, decided to quickly hand-toss my own implementation of the pattern. Here’s an example where there’is a textbox and a […]
I found some time last week to play with Sencha Architect 3. Two things that immediately caught my attention are Theming and IntelliSense. Gone are those days when you had to work with Sencha Cmd to create custom themes, create […]
Here’s an example to convert the following imperative style of coding in JavaScript to functional style. The code prints out a list of even numbers in an array. var imperativeStyle = function(){ var numbers = [1,2,3,4,5,6,7,8,9,10]; var evenNumbers = []; […]