Developing Public Websites With Force.com Sites

16
Building a Public Website With Force.com Sites Doing it the developer way Matt Lacey & Kris Moyse, S. P. Keasey Trading Co., Force.com App Builders @LaceySnr / @MoysieK

description

Force.com Sites lets you create public web applications and websites that run natively on Force.com. Join us to learn how and why we built our company website (http://www.spkeasey.com/) using Force.com Sites. We?ll describe the components and features you need to consider to make an effective and functional website, and real-world best practices for hosting a public website using Force.com Sites.

Transcript of Developing Public Websites With Force.com Sites

Page 1: Developing Public Websites With Force.com Sites

Building a Public Website With Force.com SitesDoing it the developer way

Matt Lacey & Kris Moyse, S. P. Keasey Trading Co., Force.com App Builders@LaceySnr / @MoysieK

Page 2: Developing Public Websites With Force.com Sites

Safe harborSafe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: Developing Public Websites With Force.com Sites

Matt LaceyForce.com Dev Geek, Salesforce.com Dev Certified and Salesforce.com MVP@laceysnr

Page 4: Developing Public Websites With Force.com Sites

Kris MoyseForce.com ideas guy and Salesforce.com Consulting Certified@moysiek

Page 5: Developing Public Websites With Force.com Sites

All about S. P. Keasey Trading Co.

Salesforce.com ISV partner building apps for the AppExchange, breaking free from the typical corporate mold.

▪ Combined 8 years of experience on the platform

▪ Worked on all kinds of projects from basic implementations to large portal rollouts and mobile applications

▪ Worldwide team…

▪ … of two people

Page 6: Developing Public Websites With Force.com Sites

Salesforce customers have three main website platforms options▪ Standard website CMS

• Wordpress, Joomla, Drupal

▪ Site.com• Salesforce.com declarative website platform

▪ Force.com sites• Leverage sites and force.com

Website build options

Page 7: Developing Public Websites With Force.com Sites

▪ Standard website CMS• Pros – Open Source, best SEO, communities, 100% on websites• Cons – Different skill set, increased complexity to integrate to SFDC

▪ Site.com• Pros – Close integration with SFDC, declarative, Community management• Cons – Cost involved, some limitations i.e. no SSL, URL Naming

▪ Force.com sites• Pros – Leverage force.com technologies, full control, low cost• Cons – Development heavy, good understanding of web technologies

Website build options – Pros and Cons

Page 8: Developing Public Websites With Force.com Sites

Examples of each one

Page 9: Developing Public Websites With Force.com Sites

Why we chose force.com sites - Advantages• We are force.com nerds and love building on the platform• Increases our skill level at creating custom style force.com

pages• No cost to host and only time to build• Keeps more of our work in Salesforce.com – development and

content management

Page 10: Developing Public Websites With Force.com Sites

Demo – S. P. Keasey Trading Co. website• Walk through the front end

• Demonstrate making a change using fields in a custom object

Page 11: Developing Public Websites With Force.com Sites

Site structure• 3 Main Visualforce Pages• 9 Classes (including tests)• 1 Entirely superfluous

component• Time for a tour…

Page 13: Developing Public Websites With Force.com Sites

Webmaster* friendly tools• URL rewriting is a

must• Don’t forget sitemap

and robots.txt• Allow for draft

articles and preview viewing

* Does anybody still say that?!

Page 14: Developing Public Websites With Force.com Sites

Key Takeaways• Force.com sites offer a great way to keep all your information in

one place• Design and structure are entirely up to you, don’t forget

responsiveness• Plan the structure of your pages and corresponding data

objects before building

Page 15: Developing Public Websites With Force.com Sites

Kris Moyse

@MoysieK

Matt Lacey

@LaceySnr

Page 16: Developing Public Websites With Force.com Sites