This chapter has demonstrated how to work with Features to enhance and extend your SharePoint sites. Features can be used to add small changes to sites, such as toolbar buttons and menu items right through to robust solutions, such as event handlers and Feature events.
In this chapter, you have learned about the core Feature components, including the Feature.xml file and also the associated element files through which you can define the Feature functionality, such as deploying files to a site or adding content types to sites. You have learned how to create a Feature, including how to integrate the SharePoint schema into your Visual Studio solutions and projects so you can easily generate and define your accompanying Feature elements and attributes.
The Feature object model has also been introduced and you have learned how you can leverage the Feature object model to access Feature collections within your site collections to perform administrative tasks. Synchronous and Asynchronous event handlers were also introduced and this chapter demonstrated how to provision an event handler using a Feature.
The chapter has also demonstrated how you can work with Features post-deployment by updating and redeploying Features, as well as manipulating Features through provisioning callouts to make certain events happen upon installing, activating, deactivating or uninstalling a Feature. In this chapter, we used an example of changing the site theme to a holiday theme upon activating a Feature, then changing the site theme to a corporate theme upon deactivating a Feature.
You have also learned how to administrate Features and the tools with which you can manipulate and deploy Features, such as the stsadm.exe command line tool. Finally, you have learned how you can dynamically provision Features by including them in site definitions.
In the next chapter, Chapter 27 "Using the Microsoft Office SharePoint Designer 2007 with Microsoft Windows SharePoint Services 3.0", you'll learn how you can change the appearance and functionality of SharePoint sites using SharePoint Designer 2007.