Category Archives: design

go-restful api design

I have been using JAX-RS for many REST-based service implementations in Java. As part of my journey into the Google Go programming language, I am exploring designs for such REST support using the standard net/http package in Go. JAX-RS provides … Continue reading

Posted in design, Go, Open source, Open source projects | Tagged | Comments Off

Using renderSnake to build the presentation layer in Spring-MVC

renderSnake is a open-source library for creating components that produce HTML using only Java. By defining Java classes for HTML components and pages you can exploit all the language features (e.g. inheritance, composition, type-checking) and IDE tooling (e.g. refactoring, unit-testing, … Continue reading

Posted in design, Java, Open source | Tagged , , , , | Comments Off

Tiny, single-purpose class: ResultToFunctionAdaptor

Every now and then I need a small piece of functionality that perfectly fits into a single, minimal-behavior thus single-purpose class. Continue reading

Posted in design, flex | Tagged , | Comments Off

Helper classes considered bad OO

Too often developers put logic in so-called Helper classes. This practice of SPOD (Single Point of Definition) results in a higher level of reusability, so it seems. But in fact introducing these procedural structured behavioral methods impose a rigid structure. … Continue reading

Posted in design | Tagged , , | Comments Off

Application Diagnoses Itself

How can I provide programs with self diagnostic behavior? How can I implement this in a way that has low impact on the way I write programs (or Java classes to be more specific). If programs could run such a … Continue reading

Posted in design, Open source | Tagged , | Comments Off

Don’ts

Another example of how negative publicity can have a big learning effect (if understood). From a new entry @ slashdot about Multi-links, I surfed to WebsitesThatSuck. The authors are committed to show the worst designs that live on the web. … Continue reading

Posted in design | Comments Off