50
CodeCamp / SharePoint Saturday, March 26th 2011 SharePoint 2010 WCM challenges made easy Waldek Mastykarz

SPSNL 2011 SharePoint 2010 WCM challenges made easy

Embed Size (px)

DESCRIPTION

Building Internet-facing on the SharePoint platform is different than building portal solutions. Although in both cases you’re working on the SharePoint platform, building Internet-facing websites introduces a number of challenges. In this presentation I want to show you what those challenges are and how you can deal with them.

Citation preview

Page 1: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

SharePoint 2010 WCM challenges made easy

Waldek Mastykarz

Page 2: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

About: Waldek Mastykarz

• mvp: SharePoint Server• work: Mavention• blog: http://blog.mastykarz.nl• mail: [email protected]• twitter: @waldekm

Page 3: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Why this session

• Improved WCM capabilities in SharePoint 2010

• Increasing demand for SharePoint WCM solutions

• WCM solutions are different than portals

Page 4: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

90% SharePoint Internet-facing websites suck*

SuckDon't suck

and it’s not because of SharePoint

* 90% of Dutch Internet-facing websites built on SharePoint 2010

Page 5: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

What’s in it for you

• Learn why WCM solutions are different and why you should care

• Learn what the common challenges are and what you can do about them

• Be able to focus on the cool stuff instead reinventing the wheel

Page 6: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Let’s suck less!

SuckDon't suck

Page 7: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

CUSTOM USER EXPERIENCEChallenge

Page 8: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

UX challenges

SharePoint

Web

Page 9: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

UX challenges

asp.net• single form• postback• in-line JavaScript

web• many forms• get / post / AJAX• Progressive Enhancement

Page 10: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

HTML is the center of the universe

HTML

Accessibility

SEO

Performance

UX

Page 11: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it

Working prototype

(HTML)

Master Page & Page Layouts

Working prototype (SP)

Page 12: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Alternative: Mavention Flex Layout*

Custom User Experience

Public View Authoring View

* But that’s cheating

Page 13: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

BUILDING FOR THE INTERNETChallenge

Page 14: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

THE INTERNET EXPERIENCEDemo

Page 15: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Building for an intranet

VisitorsAudience

Page 16: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

The Challenge

Intranet

VisitorsAudience

Internet

Visitors

Audience

Page 17: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Building for the Internet challenges

how does it work

with

browser/os

no silverlight

no javascript

no css

no mouse

anonymous users

Page 18: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Building for the Internet challenges

how does it support

accessibility

seo

Page 19: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

ACCESSIBILITY & CROSS-BROWSER SUPPORTDemo

Page 20: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

HTML is the center of the universe

HTML

Accessibility

SEO

Performance

UX

Page 21: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it

Proper HTML

SP components

Fixes

Custom components

Page 22: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

MOBILE WCMChallenge

Page 23: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

OUT-OF-THE-BOX SHAREPOINT 2010 MOBILE EXPERIENCE

Demo

Page 24: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

75% SharePoint Internet-facing websites can’t be opened on a mobile device*

Doesn't workWorks

* 75% of Dutch Internet-facing websites built on SharePoint 2010

Page 25: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Mobile challenges

OOTB Mobile doesn’t work

-No way to control it

-

Page 26: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Mobile challenges (2)

Optimization

Content

MediaExperience

Page 27: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it

Optimizations

Mobile baseline

Disable Mobile Redirect

Page 28: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

FIXING THE OUT-OF-THE-BOX SHAREPOINT 2010 MOBILE EXPERIENCE

Demo

Page 29: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

WEB ASSUMPTIONSChallenge

Page 30: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Common assumptionsfor Internet-facing websites

• XML sitemap• robots.txt• hierarchical titles• meta tags• 404/error page• short URLs• resizing images

• web analytics• SEO• (X)HTML strict• accessibility• performance• consistent authoring• anonymous audiences

Page 31: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it

Ship it!

Buy/Build

SelectIdentify

Page 32: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

CONTENT AGGREGATIONSChallenge

Page 33: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Content aggregationschallenges

Branding

Functionality

Choosing the right tool for the job

?

Page 34: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

9/10 custom made content aggregations suck*

SuckDon't suck

* a general yet true assumption

Page 35: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

CONTENT QUERY WEB PARTSHOW-OFF

Demo

Page 36: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it

Analyze requirements

Choose the right tool

Page 37: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

PRETTY URLSChallenge

Page 38: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

FORGET IT!Pretty URLs in SharePoint

Page 39: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Pretty URLs in SharePoint

• SEO solution• web purity• migration from other

CMS and preserving URLs

Frequently asked for

as…

Page 40: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Pretty URLs in SharePoint

•SharePoint hasn’t been designed that way

•Not supported

Bad idea

Page 41: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

10/10 pretty URLs suck*

SuckDon't suck

* hard reality. It’s just a matter of time

Page 42: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it

• Try to understand why your customer want it• Try to explain why it’s a bad idea• Removing Pages and .aspx doesn’t change

much• Migration: URL redirection• Purity vs. scalability

Page 43: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

INTERNET-FACING WEBSITE PERFORMANCE

Challenge

Page 44: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

WCM performance challenges

• large page footprint• many separate

requests• framework files

SharePoint wants you

to optimize

Page 45: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it

Lower page footprint

Merge & minify

Cache

Page 46: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

How to deal with it (2)

3rd party tools

do it yourself

Page 47: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

DYNAMICALLY LOADING DEBUG/RELEASE JS & CSS

Demo

Page 48: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Mavention Flex Layout*

Low page

footprint

* But that’s cheating

Page 49: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Summary

• Internet-facing SharePoint is not obvious but great results can be achieved

• Know what you are doing– know the platform– know your toolbox– know the boundaries

• Don’t forget non-functional requirements!

Page 50: SPSNL 2011 SharePoint 2010 WCM challenges made easy

CodeCamp / SharePoint Saturday, March 26th 2011

Thank you!