Ported sitelets chapter from the manual.