Pushing the envelope

Darren's take on Java, agile methods, cool open source stuff, interesting technologies and other random wanderings through the land of blog.
Updated: 26/01/2003; 11:49:33.
Places to go
Apache Jakarta Project
c2.com
ExtremeProgramming.org
OpenSymphony
XProgramming.com
XP Developer

People to see
Russell Beattie
Eugene Belyaev
Tony Bowden
Mike Cannon-Brookes
Jeff Duska
Paul Hammant
Scott Johnson
Brett Morgan
Rickard Öberg
James Strachan
Joe Walnes

Things to do

Subscribe to "Pushing the envelope" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


That was the day
August 2002
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jul   Sep



Archives
December 2002
November 2002
October 2002
September 2002
August 2002

Listening To


Valid RSS

Click here to visit the Radio UserLand website.

  19 August 2002

If I hadn't seen it I wouldn't believe it: COBOL for .NET. Astonishing...

12:12:20 PM      comment []

Microsoft are offering a 60 day trial of Visual Studio.NET. Mine should be arriving early next week.

What I'm most interested in trying is the java language conversion assistant plugin. Although why they felt the need to make it require VS .NET is beyond me. A stand-alone conversion tool makes far more sense from the perspective of persuading java developers to at least evaluate .NET.

Note that I'm not trying to evangelise either platform here. Language is a tool. Java is top of the heap today. It won't always be so. I don't know if .NET is the thing that will topple java, I also don't know whether it isn't. Time will tell.


11:23:42 AM      comment []

I've been looking for a while for a decent composite view framework for java web apps. Most of the ones I've seen so far tend to focus on the view as being a single JSP / Velocity page etc, with dynamic bits inside the page doing conditionals etc. Using taglibs can push some of the logic out of the page itself, but the focus is still on simple pages where the iteration is limited to repeating rows in a table. What if I want the 'list' part of my page to contain an arbitrary number of heterogenous components, that have different data fields and need to be displayed differently?

Forgetting trivial things like 'can it be done', what I'm considering is to build up a simple composite object model, essentially a collection of beans, whose fields are either strings or other simple beans. What I'd like to do then is go through the collection, select a template for each bean, and insert the bean's field values into the template. When one of the fields is another bean, lookup the view for that bean, and recurse as necessary. When you get to the end of a bean's fields, append each populated template to the output stream.

In theory this should allow the designers to design each visual element independently (as a JSP for example), and the overall view would effectively assemble itself based on an object model in memory. No need for conditionals, iteration, or any of that other stuff on the page. Do all the logic in the code, assemble your beans, and splat them onto the page.

Its all a bit speculative at the moment, but I'll mull it for a while until I realise that it can't work or (even better) find one that someone prepared earlier.


12:35:31 AM      comment []

© Copyright 2003 Darren Hobbs