Thursday, January 21, 2010

A safer way to map your enums to the DB

The following post explaing how to map your enums safely to the database. I personally think this is a great idea proposed. Requires few extra lines of coding, but maintains data intergrity.

http://www.vineetmanohar.com/2010/01/11/3-ways-to-serialize-java-enums/

Less HTTP Requests Better Reponse

Have you ever used background-image url in your css? if so you know that each one means another HTTP request. To resolve this issue you can use data uri which encodes the image as base64. Only downside of this is that it is not supported in IE versions lesser than 8. The following URL shows how you can accomplish this.

http://robertnyman.com/2010/01/15/how-to-reduce-the-number-of-http-requests/

Friday, January 1, 2010

Specially For JQuery UI Fans

Going through some articles found a some what useful article describing some of the useful jQuery UI plugins which every developer would come across. I for a fact never knew jQuery supported the marquee tag which is quite obsolete now but yet supported by all current browser. The article can be found here.

Cheers