Tag Archives: Caching

N-dimensional aka N-ary Tree

N-dimensional tree is used to represent the UI of any application. Buttons, ComboBoxes and various other components are assembled together in this data structure and then rendered on the screen. I had to enhance the design of a commercial Tree UI component (add improved searching features) and thought of creating my own n-ary Tree data […]

1  

Create your own basic In-Memory Cache

In one of my recent projects, there was a requirement to cache data for a stipulated period of time (say 3 minutes) in order to prevent frequent database look-ups. Obviously, improving the efficiency of the system was also another requirement. 😉 Via illustrations as shown below, I have made a basic flowchart about the different […]

0