force.com sites overview deck

Post on 15-Jan-2015

665 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

Slide deck for my presentation to the London Salesforce Developers User Group meetup on 23rd October 2013. Slightly revised to add links to example sites for most use cases.

TRANSCRIPT

Force.com Sites

About Me

• CTO of BrightGen

• 5 years Force.com

• Salesforce Certified Everything

• Force.com MVP

Overview

• Web sites on Force.com

• < 100% uptime

• Maintenance page

Overview

• Visualforce

• No CMS

• App exchange / knowledge articles

Overview

• HTTP/S

• Public or private

• Restrict by IP

Caching

• Akamai Edge CDN

• Page default = 10 minutes

• Production and public only

Caching

• Resource default = 24 hours

• Timestamp in URL

• Always use $Resource..

Guest User Profile

• All public access

• Not visible from profiles

• No access = login page

Guest User Profile

• Not deployable

• Use permission sets

• Page = all components + classes

Guest User Profile

• Restricted login ip

• Restricted login hours

• Both enforce SSL

Debugging

• Preview as admin

• Debug log

– Requires guest user name

Guest User Name

• Public Access settings -> View Users

• Winter 14: Advanced Setup Search– Enable– Type ‘Guest’– Hit return

Limits - Obvious

• Bandwidth

• Service request time

• Page views

Limits – Non-obvious

• Everyone is the same user!

• Query cursors / locators

• Long running requests

Domains

• Choose domain– brightgen

• Custom URLS:– http://brightgen.force.com– https://brightgen.secure.force.com

Domains

• Custom domain– http://www.brightgen.com

• Not supported for SSL– Unless you are activision!

https://support.activision.com

Communities

• Each community includes a site

• Public pages – landing

• Login to community

Uses

• Personal / corporate web site– http://www.brightgen.com– http://www.bobbuzzard.org– http://tests.bobbuzzard.org

• Web to case/lead/other– http://bobbuzz.me.uk/HKsb0N

Uses

• (HTML5) web application– http://bobbuzz.me.uk/15Mb7RP

• Public Knowledge Base– http://gumtree.force.com/Help

• Janrain login page

Uses

• Remote start phonegap

• Public WS Api

• Public REST Api

Uses

• Portal user oauth:– http://bobbuzz.me.uk/1bm0oLO

• Many other uses:– http://developer.force.com/sitesgallery

Q&A

top related