SPList Factory – singleton access to your lists.
A few months ago I was doing a refresher in GOF design patterns. I have a couple favorites: memento, observer, state, and the factory of course :-)
So I was trying to implement these patterns in a conceptual SPAL ( sp access layer ), and what I’ve found is that having a SPListWrapper object, and a factory to create them and allow static access is *the bees knees*, especially if you want to implement an ajax interface. Since you only load the list once, its pretty speedy too.
I absolutely love ajax and making the sharepoint interface more robust and seamless. Any interface for that matter. there is a library i use exclusively that covers all browsers and addresses the issues found in each of them, even the pesky ie memory leak.
What Im getting at is that I have a bunch of cool stuff to share that probably would become convoluted in a mass array of blog entries, so I think it would be worthwhile to vlog it. stay tuned, could take a few days while.
One Response to 'SPList Factory – singleton access to your lists.'
Leave a Reply
You must be logged in to post a comment.

[...] – SPList Factory – singleton access to your lists. saved by seejaylaugh2009-05-27 – Quilt Done and Quilts To Do saved by narkia2009-05-15 – Reinvent [...]
Websites tagged "singleton" on Postsaver
30 Jun 09 at 3:02 am