Skip to main content

Blog Archive for evanx during February 2007

The "Google Operating System" blog entry "Google Docs & Spreadsheets vs Microsoft Office" quotes a Writely post as follows. "One of the reasons the web is so nice is that the page UI is simple... a few things at a time, a very easy metaphor, etc. It passes the 'mom' test - I can usually just tell my mom to go to a site, and she usually can figure it out. I can't remember the last time I...
Passwords should never be seen in clear text eg. in transfer objects, or in database columns. So we hash them up. Nothing to it. Read "Password Hash, a short story" Part of the "Jelly Beans" part of a trilogy in 42 parts https://code.google.com/p/vellum/wiki/PasswordHash WARNING: This is an old defunct article (from February 2007) that doesn't include salt! It has been superceded by https://...
We implement a event listener list singleton supporting weak references. Then we can add listeners to an object we wish to observe, and fire events to its observers, without implementing any such support in the observed objects eg. addListener(), removeListener(), fireEvent(). We can choose to fire an event in a background SwingWorker thread, or in the EDT e.g. using invokeLater() or...
In the Gooey Beans Info prequel, we explicitly declare properties. Now we allow a bean info instance to be bound to a specific bean, in order to support bound properties ie. firing PropertyChangeEvent's. Bound Gooey Beans: A part of "Gooey Beans, a trilogy in 42 parts" In our bean, we instantiate a bound bean info class with PropertyChangeSupport as follows. public class BakedBean { ...
See our editor highlights, and Bruce Eckel's Hydridizing Java. What i don't like about web development is hydridization, ie. Java/JScript/HTML/CSS. I think having to program and integrate multiple hetergeneous languages with relatively limited IDE support, is distracting. Another common ubiquitous example is Java/SQL, mitigated by JDO, JPA et al. Having said that, i love HTML/CSS and SQL, and...