Technomancy proto-typed

So at Dave Thomas's closing RailsConf keynote, he talked about the dangers of cargo culting and how we need to be aware of how those kinds of things affect our thinking. This made me feel somewhat vindicated considering I was committing what amounts to serious heterodoxy in the Rails community: playing with software written in Java.

JAVASCRIPT OBJECT PLZ

Anyone who listened to me rant during that weekend probably heard me talk about Helma. Most people gave me funny looks, which made me feel all the better about PragDave's keynote. ("Cargo-culters!") Helma is a web development framework I discovered during my time in Indonesia. The bulk of it's written in Java, but the apps you write with it are written in Javascript. I had seen it mentioned before and simply disregarded it, but now that Java is Free Software I figured it was worth a second look.

So I did what any curious web developer will do when confronted with a new tool: I wrote a blog app. I actually just ported this blog over to it. (This brings the count to three systems that have powered it; four if you count a short-lived attempt at Hobix.) The port didn't take long at all since I'm fairly familiar with JS already, though there were a few disorienting moments.

Anyway, I think it compares pretty favourably to Rails in several aspects. Obviously it doesn't have the benefit of thousands and thousands of contributors, and it shows in places. But in other places I think it has a few core ideas that make it stand out and are arguably superior. So without further ado: my (mostly uninformed and surface-level) thoughts.

KTHXBAI

So I'd love to dig into the meat of Helma, but I'll have to wait until I can find a new project that would be suitable for it. It seems that due to its flexibility it would allow you to put together the initial stages of a project very quickly, but I suppose the jury is still out on keeping the project maintainable. It is more ad-hoc and allows for more deviation from convention, so that might cause maintainability to suffer. Still, I'm looking forward to being able to give it a shot.

« 2007-10-13T00:00:01Z »

Phil2007-06-17T15:55:32Z
Spam check on commenting is in place. It is slightly annoying (you have to submit twice) if you don't have Javascript enabled, but considering that I had over 200 spam comments from a month or so, it's necessary.
riffraff2007-06-18T02:16:00Z
this is really cool thanks for pointing it out : )


But isn't the hierarchy-ish persistence layer a little bit awkward to work with ?
Phil2007-06-19T09:06:22Z
riffraff: it's not awkward to work with for a blog. For stuff that's more complicated: I'll have to get back to you on that. I have a feeling it's like REST: feeling constraining at first, but actually pretty liberating once you go with the flow and let it dictate the structure of your app.
robert2007-07-17T10:37:49Z
Jala (of which the unit testing framework is a part of) recently moved to a different server due to the severe stability problems of opensvn.csie.org, it's now located at http://dev.orf.at/trac/jala. Reg. the the testing framework: could you elaborate a bit more on what you're missing resp. what makes it inconvenient to use? being the one who developed jala.Test i'm really interested in your opinion (i must confess that i have no experience with unit testing in rails, apart from skimming the docs).
Chris Zumbrunn2007-07-18T05:33:36Z
@riffraff: the Helma framework provides an automatic hierarchical default behavior, but there are various handlers like "onRequest" and "getChildElement" which can override the default and allow you to implement your own mechanism wherever the default becomes restrictive.
MasterOfDesaster2007-07-18T13:04:54Z
> Of course, to use them you need to leave the comfort of JS and write some Java, so it's a trade-off; as always.





not really:


http://helma.org/docs/guide/introductions/javapackages/

Name

URL

HTML will be escaped for now. Comments are currently moderated; sorry.