- A nice example of the adapter and visitor patterns applied to Google Web Toolkit (GWT). It obviates the standard chaining of instanceofs (see below) to which even googlers fall victim.
if ( o instanceof A ) {
// cast to A and do stuff
} else if ( o instanceof B ) {
// cast to B and do stuff
} else if ( o instanceof C ) {
...
}
-
Old but clean GWT client (MVC) and server (perl JSON) code (pre RequestFactory days).
-
State-of-the-art client GWT client (MVP) code.
-
A tricky C++ problem that I solved for my dad.
-
Server-side Java code and tests.
-
The basis for a C++ framework of microservices that are controlled by websockets using JSON messages and has a registry that uses shared memory.