Skip to main content

Evan Summers

Evan Summers lives in Cape Town and plays Java, PostgreSQL and Linux. Most interested in crypto, systems monitoring and BI right now. Past interests include Swing, and future interests include mobi web.


evanx's blog

Trivial Templating

Posted by evanx on July 9, 2010 at 10:20 AM PDT

Notwithstanding the fact that anyone in their right mind (which rules me out) would use Apache Velocity or FreeMarker for templating, we present a trivial templating helper class, where for instance we have an HTML template as follows to send a confirmation email to a customer.

Swing Event Pump Redux

Posted by evanx on December 21, 2009 at 2:04 AM PST

Having blogged this hack some years ago (Event Pump DTs), today i actually used it.

Automatic Binding

Posted by evanx on September 1, 2008 at 10:55 AM PDT

In the Gooey MvnC prequel, we advocate an MVC-type architecture for programming a Swing UI panel, using convention-over-configuration to automate event handling, thread switching and beans binding.

On Computers, God, the Universe and UI

Posted by evanx on August 4, 2008 at 3:57 PM PDT

We gonna consider the definition and evolution of computer UI. But first, what is a computer? It's a number crunching machine that interfaces to a human being, innit. Actually, "data crud'ing" is probably a better depiction than "number crunching" in the world of business information systems.

An idea for a builder thingymajig

Posted by evanx on July 24, 2008 at 2:17 PM PDT

Gooey Event Proxy

Posted by evanx on July 21, 2008 at 1:02 PM PDT

In the Gooey MvnC prequel, we consider an MVC-type separation for programming a Swing UI panel, and convention-over-configuration to automate events, threading and beans binding.

A short history of Web UI programming

Posted by evanx on June 26, 2008 at 7:18 AM PDT

Web 1.0, XUL, Ajax, Laszlo, Flex and Silverlight have a common approach - declare the UI view using markup (HTML or XML), and use JavaScript to handle the UI events and manipulate the UI. JavaFX/Swing is a notable exception - which is exciting and/or risky?! 'Cos Web developers know and love JavaScript and HTML, so XML plus JavaScript is right up their alley.

MVnC architecture for Swing GUIs

Posted by evanx on June 19, 2008 at 6:52 AM PDT

Rather than put our "application logic" in a "messy" view class, we create a separate "controller" class, with event handlers. We wish this controller class to be as neat and tidy as possible e.g. with minimal boilerplate or much else besides our application logic.

First Class Java: further thoughts on dot notation for class metadata

Posted by evanx on June 13, 2008 at 7:42 AM PDT

Who knows why i have a dislike for symbols like ->, => and even := ?! It's pathological, i know that, and i have an obsessive-compulsive (dis)order when it comes to code, and so be it.

Linux desktop market musings

Posted by evanx on May 17, 2008 at 3:12 AM PDT

One site i visit every day is which is a Linux news site. Today that took me to a
blog entry "Five Reasons Red Hat Should Ignore Consumer Linux Desktops"