/*
Author: Jiangong SUN
*/
I've participated in a SharePoint 2010 project to build an intranet. Based on this experience, I want to introduce you the basics of SP.
The top of the hierarchy is SPFarm, it's static. You can access SPFarm using SPFarm.Local
SPFarm contains SPService.
Then, SPWebApplication is relavant to IIS Website.
SPSite is relavant to site collections.
SPWeb means SharePoint sites.
The hierarchy of SharePoint is: