SharePoint and WCMgetting it done right!<br />CHAKKARADEEP CHANDRAN <br />
Agenda<br />WCM Components<br />Master Pages<br />Page Layouts<br />Site Navigation<br />Site Definitions<br />Content Dep...
SharePoint WCM Myths<br />SharePoint is for Intranet/Records Management portals<br />Branding is complex, not possible rea...
SharePoint and WCM<br />SharePoint provides Web Content Management (WCM) functionality out of the box (Enterprise License)...
Key Development Components<br />Custom Page Layouts<br />Custom Field Controls<br />Custom Navigation<br />Custom Content ...
Where to Begin<br />SharePoint 80/20 Rule<br />“if you can earn 80% of your requirement with current SharePoint features a...
Development Tools<br />Visual Studio 2008<br />WSPBuilder<br />SPVisualDev<br />PowerShell/Batch Scripts<br />
Site Columns and Content Types<br />Everything is stored in Lists<br />List Columns – Site Columns<br />Type of informatio...
Content<br />
Site Columns and Content Types<br />
Summary<br />Site Columns<br />Content Types<br />AC’s STSADM<br />Commands<br />
Master Pages and Page Layouts<br />Master Page<br />Content Placeholders<br />Page Layout<br />Field Controls<br />Field C...
Master Page and Page Layout<br />
HomePage Page Layout<br />TopBanner Control<br />ImageScroller Control<br />InPagePod Controls<br />
Master Pages and Page Layouts<br />
Summary<br />Master Page<br />Page Layouts<br />
User Controls<br />Content stored in lists or document libraries<br />No user interaction<br />Can be loaded in Web Parts<...
Field Types and Field Controls<br /><ul><li>SharePoint and WSS include many field types
Text
Choice Fields
Hyperlink or Picture
Publishing HTML
Field Type == Data Type
Create custom field types to satisfy requirements not met by out of the box field types
Field types also provide field rendering facilities
Field controls deliver or capture the content in a Publishing Page
Field controls are tightly coupled with the type of the field</li></li></ul><li>Web Parts Vs Field Types<br /><ul><li>Both...
Rule of thumb:
Use field controls for content and Web Parts for functionality
Since a field control is bound to a specific field of an item, it offers complete versioning/history
Web Parts do not offer complete versioning/history</li></li></ul><li>User Controls<br />
Custom Field Type Components<br />
Custom Field Types and Field Controls<br />
Summary<br />User Controls<br />Custom Field Types<br />Web Parts Vs Field Types<br />Loading user controls in page layout...
Site Navigation<br />Navigating sites, subsites<br />Navigating pages<br />Use PortalSiteMapProvider<br />Fetches informat...
Navigation using PortalSiteMapProvider<br />
Upcoming SlideShare
Loading in …5
×

SharePoint And WCM

2,221 views

Published on

Published in: Technology
  • Be the first to comment

SharePoint And WCM

  1. 1. SharePoint and WCMgetting it done right!<br />CHAKKARADEEP CHANDRAN <br />
  2. 2. Agenda<br />WCM Components<br />Master Pages<br />Page Layouts<br />Site Navigation<br />Site Definitions<br />Content Deployment<br />Key Takeaways<br />How to approach building WCM sites using SharePoint<br />Extending different WCM components<br />SharePoint and WCM – Better Together!<br />
  3. 3.
  4. 4. SharePoint WCM Myths<br />SharePoint is for Intranet/Records Management portals<br />Branding is complex, not possible really.<br />SharePoint lacks content management features<br />Building a standards compliance website is not possible<br />Web 2.0/jQuery integration? - Forget about it<br />
  5. 5. SharePoint and WCM<br />SharePoint provides Web Content Management (WCM) functionality out of the box (Enterprise License)<br />WCM features are provided primarily by the Publishing Site feature<br />Several standard SharePoint components work together to provide WCM functionality<br />Developers go further in extending and customizing this WCM platform<br />
  6. 6. Key Development Components<br />Custom Page Layouts<br />Custom Field Controls<br />Custom Navigation<br />Custom Content Types<br />Custom Site Definitions<br />Custom Web Parts/User Controls<br />Custom Search<br />Custom Master Page<br />Custom Site Columns<br />Custom Lists<br />
  7. 7. Where to Begin<br />SharePoint 80/20 Rule<br />“if you can earn 80% of your requirement with current SharePoint features and need to development for other features , SharePoint is your solution.”<br />Site Structure/Site Collection<br />HTML mock-ups<br />Navigation<br />Page Layouts (Home Page, Search Page etc.,)<br />Static Content and Dynamic Content<br />Search Strategy<br />Users<br />SharePoint Environment<br />Development<br />Testing<br />UAT<br />Production<br />Authoring<br />Live<br />
  8. 8. Development Tools<br />Visual Studio 2008<br />WSPBuilder<br />SPVisualDev<br />PowerShell/Batch Scripts<br />
  9. 9. Site Columns and Content Types<br />Everything is stored in Lists<br />List Columns – Site Columns<br />Type of information, metadata – Content Type<br />
  10. 10. Content<br />
  11. 11. Site Columns and Content Types<br />
  12. 12. Summary<br />Site Columns<br />Content Types<br />AC’s STSADM<br />Commands<br />
  13. 13. Master Pages and Page Layouts<br />Master Page<br />Content Placeholders<br />Page Layout<br />Field Controls<br />Field Controls<br />User Controls<br />Web Parts<br />
  14. 14. Master Page and Page Layout<br />
  15. 15. HomePage Page Layout<br />TopBanner Control<br />ImageScroller Control<br />InPagePod Controls<br />
  16. 16. Master Pages and Page Layouts<br />
  17. 17. Summary<br />Master Page<br />Page Layouts<br />
  18. 18. User Controls<br />Content stored in lists or document libraries<br />No user interaction<br />Can be loaded in Web Parts<br />
  19. 19. Field Types and Field Controls<br /><ul><li>SharePoint and WSS include many field types
  20. 20. Text
  21. 21. Choice Fields
  22. 22. Hyperlink or Picture
  23. 23. Publishing HTML
  24. 24. Field Type == Data Type
  25. 25. Create custom field types to satisfy requirements not met by out of the box field types
  26. 26. Field types also provide field rendering facilities
  27. 27. Field controls deliver or capture the content in a Publishing Page
  28. 28. Field controls are tightly coupled with the type of the field</li></li></ul><li>Web Parts Vs Field Types<br /><ul><li>Both allow you to add content regions to a page layout
  29. 29. Rule of thumb:
  30. 30. Use field controls for content and Web Parts for functionality
  31. 31. Since a field control is bound to a specific field of an item, it offers complete versioning/history
  32. 32. Web Parts do not offer complete versioning/history</li></li></ul><li>User Controls<br />
  33. 33. Custom Field Type Components<br />
  34. 34. Custom Field Types and Field Controls<br />
  35. 35. Summary<br />User Controls<br />Custom Field Types<br />Web Parts Vs Field Types<br />Loading user controls in page layouts<br />Loading custom field controls in page layouts<br />
  36. 36. Site Navigation<br />Navigating sites, subsites<br />Navigating pages<br />Use PortalSiteMapProvider<br />Fetches information from current context<br />Increases performance<br />However:<br />First request takes longer time<br />There can be some performance issues to fetch data that frequently changes<br />Data invalidation can happen<br />Use Site Collection Object Cache to improve caching mechanism<br />
  37. 37. Navigation using PortalSiteMapProvider<br />
  38. 38. Summary<br />PortalSiteMapProvider<br />Navigation Control<br />
  39. 39. SPSiteDataQuery<br />Represents a query that can be performed across multiple lists in multiple Web sites in the same Web site collection<br />
  40. 40. SPSiteDataQuery<br />
  41. 41. Search<br />Can SharePoint find the content?<br />Are search scopes set accordingly?<br />How should results be handled?<br />Search Center vs. Search Site<br />Custom Search Page Layout<br />Custom Search Controls<br />Empty results handled?<br />Best Bets<br />Noise Words<br />Useful tool - http://www.codeplex.com/SharePointSearchServ<br />
  42. 42. KeywordQuery Example<br />
  43. 43. Site Definitions<br />Site definitions are not site templates<br />Site definitions are used to build SharePoint applications with custom coding<br />Custom Site Provisioning<br />
  44. 44. Site Definition Process<br />TEMPLATESSiteTemplatesNamexmlonet.xml<br />Configuration ID=“0”<br />TEMPLATES1033XMLWEBTEMP.Name.xml<br />Default Publishing Modules<br />Configuration ID=“0”<br />Configuration ID=“1”<br />Site Features<br />Web Features<br />Site Provisioning<br />
  45. 45. Site Definitions<br />
  46. 46. Content Deployment<br />Authoring<br />(read/write)<br />Production<br />(read only)<br />( Incremental or Full )<br />Export content from the source<br />Transport content from the source to destination<br />Import content into destination<br />
  47. 47. Summary<br />Key development components of WCM<br />Master Pages and Page Layouts<br />User Controls<br />Custom Field Types and Field Controls<br />Site Navigation<br />Site Definitions<br />Content Deployment<br />
  48. 48. Thank You<br />chaks@intergen.co.nz<br />www.chakkaradeep.com<br />http://twitter.com/chakkaradeep<br />

×