John Topley's Weblog
July 2003 Article ArchiveYour Patience Is AppreciatedMonday, 28 July 2003The more observant amongst you will have noticed that this site has been down since Thursday. Unfortunately my hosting company have been having problems with a rogue script running amok on their web server. This has now been fixed and they're working on restoring the MySQL database functionality, which means that the comments and feedback system are temporarily unavailable. Please accept my apologies for the ongoing difficulties. Hopefully things will be back to normal soon. Strutting My StuffMonday, 21 July 2003I've just returned from a week–long RAD workshop where I was involved in the initial development of a Java framework for internal use within the organisation I work for. The workshop was a first for me and a first for my employer. We achieved the objectives that we set ourselves, so the consensus is that it was a success. I got to experience pair programmming for the first time, which I found quite challenging because I like to produce code in my own time without the pressure of having somebody else watching me. I'm also a perfectionist, so I had to resist the urge to jump in when my colleague didn't produce code precisely as I would have done! It was good being able to bounce ideas off each other though. We were working on the Web UI for the framework, using Jakarta Struts. I'm still in two minds about Struts. I can definitely see the advantages of the MVC architecture it offers over standard Java servlets and JSPs, but a lot of it is confusing because the names it gives to things aren't necessarily the obvious ones. Its creators acknowledge as much and say it's this way because the framework “grew in the telling”. I'm keeping an eye on Tapestry, which seems to promise more and is now also a Jakarta project. I used the Struts Tiles package for the first time, which was a good learning experience. Tiles is a more powerful form of the server–side includes mechanism, which means that it allows blocks of markup (a “Tile”) to reused throughout an application. It does add another layer of indirection to the already indirection–rich J2EE ways of doing things but it's not too onerous to get to grips with. I'm learning lots. Design 101: Use WhitespaceWednesday, 09 July 2003I signed up for a couple of Java technology newsletters recently, courtesy of Sun Microsystems' Java Developer Connection programme. Notice anything odd about the registration form that confronted me?—
—It took me a good few minutes to work out that the form was asking for my password once and twice and my first and last names, not my name once and twice and the first and last part of my e–mail address! The form is arranged in such a way that the text field labels Once, Twice, First and Last draw attention to the text fields below them and not to the correct fields above. The designers of the form should have used whitespace to separate the different sections. Often the absence of content is just as important as its presence. |
![]() |



