Creating websites and communities
Salesforce provides the following two ways to create public-facing web content:
Force.com: This offers a means to create public-facing authenticated or public websites using Visualforce pages. Due to this, it can access Standard and Custom objects using the approaches described in this chapter, reusing components and services from your application as needed. The Force.com site configurations cannot be packaged, though the pages and controllers you create to support them can be. This feature is available in the Enterprise and Developer Edition orgs. It is possible to use Lightning Components via Lightning Out for Visualforce pages.
Sites.com: This is a declarative website product that is targeted at nontechnical users. Visualforce pages cannot be used directly with Site.com though components available with Site.com can access your application's Custom Objects and as such will invoke your Apex Trigger and thus Domain logic code. It is possible to use Lightning...