转:Best Practices: Common Coding Issues When Using the SharePoint Object Model
Best Practices: Common Coding Issues When Using the SharePoint Object Model Summary: Learn about common issues encountered by developers who write custom code by using the SharePoint object model. (7 printed pages) Scott Harris, Microsoft Corporation Mike Ammerlaan, Microsoft Corporation September 2007 Applies to: Windows SharePoint Services 3.0, Windows SharePoint Services 2.0, Microsoft Office SharePoint Server 2007 Contents Overview of Common Coding Issues with the SharePoint Object Model Disposing of SharePoint Objects Caching Data and Objects Writing Code That Is Scalable Conclusion