This video takes a look at how the Contoso setup scripts automate the process of creating a test certificate, a SharePoint web application, site collections, SPWebs, and active associated features.
Walkthrough of the Contoso Reference Implementation
How to use the configuration component?
How to use the logging components?
How to use the SharePoint Service Locator?
p&p Developing SharePoint Application Guidance
patterns & practices-Courtsey MSN Channel9