Hi all!!
http://www.informit.com/isapi/product_id~%7B960C23C8-0FFE-46F2-A381-07D2036ED902%7D/content/index.asp
I've been wondering about this one for the last few days:
Many of the recent projects I've been on require some sort of structure to hold information in a hierarchical fashion. I think its time we found a more reusable way and for this I think the composite pattern is the key.
The main idea is to have some ready to use abstract classes that would be extended to suit specific application needs.
So if someday someone wanted to implement, say a simple fiilesystem they would just need to extend this abstract classes or implement some sort of interface.
another interesting thing here would be to be able to model versioning (some sort of Version Control...)
Does anyone have any ideas as how to implement this using hibernate. anyone has any experience with version control with info stored on a DB?