Wednesday, December 02, 2009
Modeling people and organizations: Class Party
A good article on the party design pattern for modelling people and companies/organisations
Flexible Enumerations
A good article about replacing normal enums with something a bit more flexible but still being immutable.
http://phazed.com/blog/flexible-enumerations/
I have seen this design pattern before but I do not know if it has a proper design pattern name.
Replace paging with jQuery and subsonic continuous scrolling method
An interesting article by Rob Conery of SubSonic fame about replacing the typical pattern of paging though resultsets N records at a time with a neat jQuery driven scroll forever approach. This is not a pattern I see too often but one that to me works very well and one that I am considering using on a side project of mine.
As mentioned in the article the client side starts off by handling the user scrolling down or up to see more content:
Then using an ajax call and SubSonic or any other ORM or Data Access Layer you then get the next N records to display :
Head over to Rob's article for more info.