Force.com Sites PreviewThushara M. Samaradiwakaratmdiwakara@gmail.com
AgendaTechnical OverviewFunctional Overview
AgendaTechnical OverviewFunctional Overview
The R eal-Time C loud Unlim ited Real-        Program m abl     Program m able      Real-Tim e             Real-Tim e     ...
“                                                             ”    Salesforce.com will change forever t he way t hat busin...
What K ind of Sites did they build? E-com m erce      Public Knowledge Base   Public Web Apps Marketing Sites   Case Subm ...
How It Works                                          WWW       B uild              D es ig n      Name                   ...
AgendaTechnical OverviewFunctional Overview
Site Templates & Components          Using Components           Using Templates Page 1            Page 2  Component A     ...
Site Template Structure<apex:page showHeader="false" id="SiteTemplate">  <apex:insert name="header”>                      ...
Template Based Page<apex:page title="Big Cloud Realty" showHeader="false” controller="NewsController">    <apex:compositio...
Security Model  Each site has it’s own special security    profile Within this profile you can enable:     IP address fil...
Customer Portal Support                                                     Name:                                         ...
Demo
Caching   To increase end user performance, Sites uses a    content delivery network of 40,000 servers    distributed acr...
Robots.txt and Favicon Support   Robots.txt is used to control how robots crawl    your site   Favicon is a website icon...
URL Mapping Sites fully supports custom domain names, eg:       http://www.mycompany.com * Steps to set this up:    Regi...
Live Examples of Sites        http://developer.force.com/sitesgallery
Get Started Today   Sign up for a developer edition organization at    http://developer.force.com   Start Building   Le...
Reference   http://wiki.developerforce.com/page/Tech_Talk    :_Force.com_Sites
Thank YouThushara M. Samaradiwakaratmdiwakara@gmail.com
Force.com sites   sri lanka salesforce user group meetup
Upcoming SlideShare
Loading in …5
×

Force.com sites sri lanka salesforce user group meetup

914 views

Published on

Sri Lanka Salesforce Platform Developer User Group : First Meetup : Technical session : Force.com Sites

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
914
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • http://www.ideastorm.com/http://www.dellchallenge.org/http://mystarbucksidea.force.com/http://www.starbucks.com/
  • Force.com sites sri lanka salesforce user group meetup

    1. 1. Force.com Sites PreviewThushara M. Samaradiwakaratmdiwakara@gmail.com
    2. 2. AgendaTechnical OverviewFunctional Overview
    3. 3. AgendaTechnical OverviewFunctional Overview
    4. 4. The R eal-Time C loud Unlim ited Real- Program m abl Program m able Real-Tim e Real-Tim e Tim e e User Cloud Logic Workflow Web Sit es Cust om izat ion Int erface & Approvals Real-Tim e Web Sit es Real-Tim e Int egrat ed Real-Tim e Granular 750+ Mobile Cont ent Library Analyt ics Securit y & Int egrat ed Deploym ent Sharing Applicat ions Real-Tim e Transparent ISO 27001 Proven Proven, Real-Tim e Query Syst em St at us Cert ified Securit y Reliabilit y Real-Tim e Opt im izer Scalabilit y Real-Tim e Proven Real-Tim e Salesforce t o 3 Global Dat a Upgrades Real-Tim e Sandbox Salesforce Cent ers Int egrat ion Environm ent s & Disast er Recovery Mult it enant Kernel
    5. 5. “ ” Salesforce.com will change forever t he way t hat businesses build websit es.
    6. 6. What K ind of Sites did they build? E-com m erce Public Knowledge Base Public Web Apps Marketing Sites Case Subm ission Com m unity Sites Sales Sites Custom er Portals Custom Sites
    7. 7. How It Works WWW B uild D es ig n Name Us eYour Data In Force.com The Perfect UI With With a CNAME Any URL Alias You r Site In Ou r Clou d
    8. 8. AgendaTechnical OverviewFunctional Overview
    9. 9. Site Templates & Components Using Components Using Templates Page 1 Page 2 Component A Component A  Assign a default template at the site level  Reference that default template with expression: {!$Site.Template}
    10. 10. Site Template Structure<apex:page showHeader="false" id="SiteTemplate"> <apex:insert name="header”> <c:SiteHeader /> </apex:insert> <apex:page …> <apex:insert name=””mainContent"/> …. </apex:page> <apex:insert name=”footer”> <c:SiteFooter /> </apex:insert></apex:page>
    11. 11. Template Based Page<apex:page title="Big Cloud Realty" showHeader="false” controller="NewsController"> <apex:composition template="{!$Site.template}"> <apex:define name="mainContent"> <apex:outputPanel layout=“block” styleclass="block”> <apex:outputPanel layout=“block” styleclass="blockTitle"> <apex:outputPanel class="blue">Latest</apex:outputPanel> News </apex:outputPanel > <apex:outputPanel layout=“block” styleclass="blockBody" > The following are our most recent news stories.<p/> <apex:repeat value="{!newsItems}" var="newsItem"> <b>{!newsItem.Name}</b> - {!newsItem.DateText c}<br/> {!newsItem.Body c} </apex:repeat> </apex:outputPanel > </apex:outputPanel > </apex:define> </apex:composition></apex:page>
    12. 12. Security Model  Each site has it’s own special security profile Within this profile you can enable: IP address filters to restrict access to site Access to specific Visualforce pages and Apex classes Read, Create, Edit, Delete permissions for each object Visibility and read/write permissions for each field  A boilerplate “unauthorized” error page is provided - you can modify or override this
    13. 13. Customer Portal Support Name: Pass::  A Site can be mapped to a Customer Portal Self-registration is available  Site visitors can login and execute Visualforce pages under their individual user’s context  Example registration/login pages are provided
    14. 14. Demo
    15. 15. Caching  To increase end user performance, Sites uses a content delivery network of 40,000 servers distributed across the globe  Content is served from servers closest to the origin of the request  What’s cached: – Static resources with cache control set to public – Visualforce pages with pages attribute:
    16. 16. Robots.txt and Favicon Support  Robots.txt is used to control how robots crawl your site  Favicon is a website icon that most modern browsers support  Sites supports these types of files: – Create Robots.txt as a Visualforce page – Create Favicon.ico as a Static Resource
    17. 17. URL Mapping Sites fully supports custom domain names, eg: http://www.mycompany.com * Steps to set this up: Register your domain name with any registrar Enter a CNAME record into the DNS that aliases www.mycompany.com to mycompany.force.com Tell Sites what your custom domain name is SSL is supported via secure.force.com only Tip: Don’t use fully-qualified domain names in your pages * Supported in production only, not developer edition or sandbox
    18. 18. Live Examples of Sites http://developer.force.com/sitesgallery
    19. 19. Get Started Today  Sign up for a developer edition organization at http://developer.force.com  Start Building  Leverage the community at developerforce
    20. 20. Reference  http://wiki.developerforce.com/page/Tech_Talk :_Force.com_Sites
    21. 21. Thank YouThushara M. Samaradiwakaratmdiwakara@gmail.com

    ×