A MOSS 2007 WCM Solution – presented by Peter Anker
Who is who? About Peter Anker About Valtech About Kuoni
The challenge Before: 50+ platforms Now and beyond: 1 platform! Examples next...
Architecture Brands: Many Profiles: Few Code Base: One
Architecture.css,.js img, Settings.master, Page Layouts,.xsl, User Controls.dll, 12-Hive: Features, Site Definitions,.ascx,.asmx,.ashx,.xml
Solution: Current numbers 7 sites 10.wsp files 300+ site columns 4 custom field types 22 content types 22 page layouts* 4 master pages 14 site defitions 60+ features *) Pr. profile
Solution: Technical Continuous Integration WCM Code Approaches System Integration Search Deployment Gems Pitfalls Tools
Continuous Integration MS Team Foundation Server 2005 Build Server MS Build Scripts Shell Scripts PsExec WSP Builder by Carsten Keutmann Brand Layer Solution Generator Diagram next...
Client / Server(s)-setup MOSS Developer Env. Build Server TFS 4. Run Scripts + Deploy WSP 1. Build! 2. Get source files 3. Build WSP
WCM Code Approaches 1/4 XML / XSL Engine Publishing Page XML converter ○ HTTPHandler XSLT Extension Objects ○ Utility Classes Content Spot Framework Custom List Content Types Custom Field Types Web Parts – resuable content HTTPHandler ○ Dynamic Image Resizer
WCM Code Approaches 2/4 Portal SiteMap Provider XML ○ Navigation ○ Breadcrumbs ○ Sitemaps ○ Geographic Map XML JSON String Resources in lists Benefits: ○ Scalability ○ Userbility Examples: ○ Language Strings ○ Site Settings ○ Reusable HTML snippets
WCM Code Approaches 3/4 Performance Shared resources as Singletons XSL Compiled Transform Compiled RegExps Page caching Pre-packed scripts Resource aggregation (.js,.css ) BLOB caching Client side caching IIS gzip compression
WCM Code Approaches 4/4 Search Engine Optimization Permanent redirects – status 301 Campaign redirects Meta Tag Generator XHTML... an ongoing process Titles URLs H1, H2, H3...
System Integration CMP – a catalogue system Dynamic Mapping Dynamic Site Columns – recursive via OM Dynamic Content Types – recursive via OM Automatic Content Source and Scope creator Automatic Managed Property Configurer Booking Web Services, Feeds IFrame
Search Freetext – semi OOB approach Managed Property Search Enterprise SQL Object Model Mapping One language = One scope Cross-Site Scope Queries Applications: ○ End User Product Search ○ Editor Product Search ○ Theme Pages ○ Web Travel Codes ○ Smart Navigation
Deployment WSP Packages Feature Stapling Update Scripts
Pitfalls No CAML – can only search in 10 lists, which by default is ~3 publishing sites Numeric comparisons x=y, x!=y don’t work Use (x y), (x y) OOB search for more than 10 multichoice values in same field doesn’t work. Ugly workaround exists. Can’t use _ in managed property names Default / Welcome-page values not indexed – fix: use redirect pages Don’t use integers for column data types – they can’t be made into managed properties. Use decimals. Dispose FullTextQuery-objects, else leak If a column changes data type, you may have to re-create the SSP, else no index Content Deployment a lot of hassle, little success XML Based Site Columns, XML Based Content Types ”Home”-title de-ranking.. how many in Denmark?
Tools Visual Studio Team Foundation Server (alt. NAnt/CruiseControl.NET) WSP Builder by Carsten Keutmann SharePoint Manager 2007 by Carsten Keutmann PsTools by Mark Russinovich Fiddler Web Debugger Lutz Roeder’s.NET Reflector Firebug for Firefox jQuery cross-browser JavaScript Library jQuery plugins Google Reader
Links * ** ** ** *) ETA: Q **) ETA: Q3 2008
Danish Publishing Sites Danish Version 2ndC AS Aalborg Tekniske Gymnasium Aalborg tekniske skole Center for virksomhedsudvikling FDB Forsikringsguiden FRIE Funktionærer GI - Grundejernes Investeringsfond Ingeniorforeningen IDA ITCM - IT Contract Manager Konservative Kubulus Maskinmestrenes Forening Projektbanken Region Sjælland Second Opinion SKI - Statens og Kommunernes Indkobsservice SOH SOSU Nord SYD ENERGI Bredbånd TDC Mobil Center VIA University College X-Link Ældre Sagen English Version Aalborg Handelsskole aia-kunst Albatros Travel Attentive BASF CC Denmark Bestseller BlueCow Carlsberg Group CO-RO FOOD Damco Danmarks Domstole Danske Bank Danske Capital Eik Bank Fertin Pharma Fibertex Forsvarets Uddannelser GN Store Nord Gumlink Inmeta ISABIT ISS JAI Mariagerfjord Kommune Milliken MindKey Movia PenSam Pilgrim Post Danmark Rundt Skov Software Innovation Toyota Material Handling
Thank you! Mail: MSN: LinkedIn: Phone: