Archive for May, 2010

Intro to Ehcache Server and RESTful Web Services

An out-of-process caching mechanism can seriously help reduce load on your servers and databases. Ehcache provides a very simple, yet powerful, way to cache data and is a system that should be seriously considered when making a caching decision.

When you think of caching there are basically two types: in-process, and out-of-process (or external caching). In-process caching all happens on the host machine and often within the same JVM container (if you’re using ColdFusion specifically). That is, all caching will always reside locally, making caching operations extremely fast. The obvious downside to this method of caching is that the cache consumes the same resources that would have otherwise be spent on your application server.

In order to allow you to scale out (by adding more servers to a cluster, for example) rather than scaling up (by adding additional ram) you need to provide an out-of-process caching mechanism. Again, the obvious downside to an out-of-process setup is the fact that you must serialize and transmit data to an external JVM, which requires much more overhead and transmission time.

(more…)

Unmasking Passwords

Masking passwords is a great over-the-shoulder security feature, but hurts usability. Providing the option to toggle the password field on and off will increase a user’s experience on your site.

After reading Jakob Nielsen’s post, “Stop Password Masking”, I really wanted to develop a quick and easy jQuery plugin which provided the ability to toggle a field between a masked and unmasked versions.

(more…)

Adding Emphasis with jQuery

Decreasing the emphasis of elements lower on the visible screen provides a less distracting environment for your users.

Many websites these days are very graphic intensive, have a ton of contrast between content the the background, or are simply overly complicated. One method to reduce this visual noise and provide a more harmonic user experience would be to downplay elements on the screen that the user is likely not paying attention to.

(more…)