Category Archives: Code Samples

Today I Learnt – Alter Sequence Caching

What I discovered about Alter Sequence Caching in Postgres Continue reading

Posted in Code Samples

Library Watch: Using GIF Images in a Flex application

What is this all about? GIF images are of two varieties – the plain kind and the animating kind. And It is possible to do very basic animation in GIF images. But you can never embed an animating GIF image … Continue reading

Posted in Adobe Flex, Code Samples, library watch | Tagged , , | 1 Comment

How to write a good itemRenderer?

This is always a million dollar question about how to write an itemRenderer that has been set up with the optimum resources so the final flex application will render smoothly.. Here is an old article by Alex Harui –¬†http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html

Posted in Code Samples, flex, How To... | Tagged , ,

Single EntityManagerFactory object across various Restlet Resources

In my short experience with EntityManagerFactory objects, I have seen that creating a new object of this type takes a considerable amount of time its actually a few seconds, so you realize you are waiting for something to happen. Now … Continue reading

Posted in Code Samples, hibernate, java | Tagged , , , | 2 Comments

How to retrieve your status message from twitter using cURL?

what is cURL, or what is php? ok, PHP is a server side scripting language, which helps make webpages more intelligent than when they are written with plain HTML. cURL is a command line tool for transferring files using a … Continue reading

Posted in Code Samples, How To... | Tagged , , , ,