During a factor10 virtual coffee break, Niclas Nilsson and I had a chat about what’s going on in web app land, on the browser end of the landscape. So this is inspired by his observations and him ‘pushing’ me to write this.
In the early days of browser apps, everyone was trying to write fat desktop apps in HTML. And that went horribly wrong because the programming model was different. We eventually figured out page based, disconnected apps in the browser, then someone did the AJAX thing and we had out-of-bound HTTP requests and in-place DOM updates. Another small twist in the programming model. But we had already made the transition to a new programming model and AJAX was not a radical change.
But the part that really scares me is that the fat code I have seen so far reminds me of unmaintainable VB, Delphi or PowerBuilder code. And there are other scary things too. For example, the Cairngorm framework for Flex is based on a singleton pattern, but the underlying language does not make it easy to create singletons. Imagine all the code to create a singleton just to get the framework to work. And these frameworks are not very DRY either. Somehow, it seems like a new group of developers are writing these frameworks and they have not bothered to learn from 10+ years of web UI framework lessons. The good news is that code maintenance and framework quality issues are solvable.
But the game itself has changed. It’s not a case of new rules in an old game. That’s what caused the mess in 1999 with HTML.
By this time, most people either close their eyes or raise the other eyebrow at me.