Upload
mavention
View
1.966
Download
0
Tags:
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
CodeCamp / SharePoint Saturday, March 26th 2011
SharePoint 2010 WCM challenges made easy
Waldek Mastykarz
CodeCamp / SharePoint Saturday, March 26th 2011
About: Waldek Mastykarz
• mvp: SharePoint Server• work: Mavention• blog: http://blog.mastykarz.nl• mail: [email protected]• twitter: @waldekm
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
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
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
CodeCamp / SharePoint Saturday, March 26th 2011
Let’s suck less!
SuckDon't suck
CodeCamp / SharePoint Saturday, March 26th 2011
CUSTOM USER EXPERIENCEChallenge
CodeCamp / SharePoint Saturday, March 26th 2011
UX challenges
SharePoint
Web
CodeCamp / SharePoint Saturday, March 26th 2011
UX challenges
asp.net• single form• postback• in-line JavaScript
web• many forms• get / post / AJAX• Progressive Enhancement
CodeCamp / SharePoint Saturday, March 26th 2011
HTML is the center of the universe
HTML
Accessibility
SEO
Performance
UX
CodeCamp / SharePoint Saturday, March 26th 2011
How to deal with it
Working prototype
(HTML)
Master Page & Page Layouts
Working prototype (SP)
CodeCamp / SharePoint Saturday, March 26th 2011
Alternative: Mavention Flex Layout*
Custom User Experience
Public View Authoring View
* But that’s cheating
CodeCamp / SharePoint Saturday, March 26th 2011
BUILDING FOR THE INTERNETChallenge
CodeCamp / SharePoint Saturday, March 26th 2011
THE INTERNET EXPERIENCEDemo
CodeCamp / SharePoint Saturday, March 26th 2011
Building for an intranet
VisitorsAudience
CodeCamp / SharePoint Saturday, March 26th 2011
The Challenge
Intranet
VisitorsAudience
Internet
Visitors
Audience
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
CodeCamp / SharePoint Saturday, March 26th 2011
Building for the Internet challenges
how does it support
accessibility
seo
CodeCamp / SharePoint Saturday, March 26th 2011
ACCESSIBILITY & CROSS-BROWSER SUPPORTDemo
CodeCamp / SharePoint Saturday, March 26th 2011
HTML is the center of the universe
HTML
Accessibility
SEO
Performance
UX
CodeCamp / SharePoint Saturday, March 26th 2011
How to deal with it
Proper HTML
SP components
Fixes
Custom components
CodeCamp / SharePoint Saturday, March 26th 2011
MOBILE WCMChallenge
CodeCamp / SharePoint Saturday, March 26th 2011
OUT-OF-THE-BOX SHAREPOINT 2010 MOBILE EXPERIENCE
Demo
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
CodeCamp / SharePoint Saturday, March 26th 2011
Mobile challenges
OOTB Mobile doesn’t work
-No way to control it
-
CodeCamp / SharePoint Saturday, March 26th 2011
Mobile challenges (2)
Optimization
Content
MediaExperience
CodeCamp / SharePoint Saturday, March 26th 2011
How to deal with it
Optimizations
Mobile baseline
Disable Mobile Redirect
CodeCamp / SharePoint Saturday, March 26th 2011
FIXING THE OUT-OF-THE-BOX SHAREPOINT 2010 MOBILE EXPERIENCE
Demo
CodeCamp / SharePoint Saturday, March 26th 2011
WEB ASSUMPTIONSChallenge
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
CodeCamp / SharePoint Saturday, March 26th 2011
How to deal with it
Ship it!
Buy/Build
SelectIdentify
CodeCamp / SharePoint Saturday, March 26th 2011
CONTENT AGGREGATIONSChallenge
CodeCamp / SharePoint Saturday, March 26th 2011
Content aggregationschallenges
Branding
Functionality
Choosing the right tool for the job
?
CodeCamp / SharePoint Saturday, March 26th 2011
9/10 custom made content aggregations suck*
SuckDon't suck
* a general yet true assumption
CodeCamp / SharePoint Saturday, March 26th 2011
CONTENT QUERY WEB PARTSHOW-OFF
Demo
CodeCamp / SharePoint Saturday, March 26th 2011
How to deal with it
Analyze requirements
Choose the right tool
CodeCamp / SharePoint Saturday, March 26th 2011
PRETTY URLSChallenge
CodeCamp / SharePoint Saturday, March 26th 2011
FORGET IT!Pretty URLs in SharePoint
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…
CodeCamp / SharePoint Saturday, March 26th 2011
Pretty URLs in SharePoint
•SharePoint hasn’t been designed that way
•Not supported
Bad idea
CodeCamp / SharePoint Saturday, March 26th 2011
10/10 pretty URLs suck*
SuckDon't suck
* hard reality. It’s just a matter of time
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
CodeCamp / SharePoint Saturday, March 26th 2011
INTERNET-FACING WEBSITE PERFORMANCE
Challenge
CodeCamp / SharePoint Saturday, March 26th 2011
WCM performance challenges
• large page footprint• many separate
requests• framework files
SharePoint wants you
to optimize
CodeCamp / SharePoint Saturday, March 26th 2011
How to deal with it
Lower page footprint
Merge & minify
Cache
CodeCamp / SharePoint Saturday, March 26th 2011
How to deal with it (2)
3rd party tools
do it yourself
CodeCamp / SharePoint Saturday, March 26th 2011
DYNAMICALLY LOADING DEBUG/RELEASE JS & CSS
Demo
CodeCamp / SharePoint Saturday, March 26th 2011
Mavention Flex Layout*
Low page
footprint
* But that’s cheating
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!
CodeCamp / SharePoint Saturday, March 26th 2011
Thank you!