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/
Thursday, January 21, 2010
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/
http://robertnyman.com/2010/01/15/how-to-reduce-the-number-of-http-requests/
Subscribe to:
Posts (Atom)