Choosing a good font size variation algorithm for your tag cloud

In a tag cloud, tags which are used more frequently are displayed in a bigger font size. The font size used to depict a tag is a function of the number of times it is used. The simplest implementation is to use a linear function to map the frequency of use of a tag to […]

Writing plural and singular words using ChoiceFormat in MessageFormat

In Dekoh Photos application I wanted to internationalize String that represents the number of comments made on a Photo.
So when there are no comments made i wanted to display “No Comments”, when there is 1 comment i wanted to display “1 Comment” and if there are more than one comment i wanted to display “n […]

Easing JPA application developement by Using Google-Guice

Persistence Support in Dekoh
At the core of Dekoh is a Servlet (2.4) Container on which any Java web applications can be deployed. Persistence support for Dekoh applications is achieved by using a JPA provider - Toplink Essentials (Part of Glassfish). Each Dekoh desktop installation includes Toplink-Essentials and a Derby database. Dekoh Applications developers can […]

Caching DWR interface java script files

DWR provides a convenient mechanism to execute server side java classes from javascript running in the browser. We use it extensively while developing Dekoh applications. Recently I noticed that when we use DWR, there are many requests to java-script files from the browser. It appeared that some DWR scripts are not being cached by the […]

Calling developers to join Dekoh Early Access Program

Plans for Dekoh, the new desktop-web integration platform, have been announced. Developers can build applications that have a desktop-like rich UI, work seamlessly online or offline, and have web 2.0 style sharing and community networking features, on Dekoh.
Since Dekoh uses open web technologies, web application developers can build cross-platform desktop applications without having to learn […]

Tips and Tricks for Dekoh Developers

When I was asked to write this blog, I was wondering, writing the first official blog, what should I do? I thought I can see better from the developer’s view and so decided to blog something that will be useful for the developer. Instead, of writing a tutorial or a step by step how to […]

Open source AJAX Thumbnail Maker widget

As a follow up to the Tag Cloud widget, Dekoh is now publishing the next open source widget, a thumbnail maker.

Thumbnail maker is a simple image utility which helps you create thumbnails out of any image/photo. You can make a thumbnail with outlines of rectangle, square, circle or a star. Thumbnails can be made in […]