1. Salesforce.com与force.com的关系:

    Salesforce.com is build on the force.com platform seamlessly.That is why force.com features are all available in salesforce.com.

    Salesforce1:用于移动端的开发;

    Salesforce Einstein  Salesforce人工智能平台;

    Force.com开发者专用的官方平台;

2. 多租户:

   一个软件或服务同时提供给多个人或企业,他们使用同一套软件或服务的实例。

   优点:大大降低运维成本;   缺点:一旦宕机,影响巨大;

   多租户环境-Salesforce

   对于客户端:

   除了一个可以访问网络的浏览器之外,对于Salesforce的访问和开发,可以不需要任何的客户端软件。但有时为了方便开发,可以选用自己喜欢的IDE(需要在本地安装);

  对于系统更新:

  • Salesforce一年有3次更新,对于具体的更新时间不能人为安排。
  • 每年的自动升级同时适用于所有用户;
  • Sandbox的升级会先于production环境,以便所有的升级变更都能被充分地掌握并测试!

  对于共享资源:

  • 在salesforce环境中,所有客户共享相同的code base和database;
  • Governor Limits确保资源,在一个特定的时间段内对每个客户进行监控和限制,如客户CPU的使用,查询,和记录返回。以确保一个ORG的性能不会被其他的ORG影响;

  对于自定义:

  • 所有Customizations都被指定为元数据(数据的数据),这主要是为了方便升级;
  • 代码不能直接部署到production除非需要的测试代码覆盖率达到要求!

3. Security Token:

     What is Salesforce Security Token and How Do I Find It?

4. Sandbox:

    For development and testing:Sandbox Type Instruction.

    Salesforce一年自动更新三次并且不能人为地决定更新时间。Sandbox的升级优先于Production环境的升级,以便让变更在上线之前被充分地预览和测试!

5. 如何在页面<Meta>元素中引用Static Resource中的图片(未打包)的两种方式:

   A: <meta property="og:image" content="https://{!$Site.Domain}{!$Resource.ex_og0}"/>
   B: <meta property="og:image" content="{!LEFT($CurrentPage.URL,FIND('/',$CurrentPage.URL,9))}{!URLFOR($Resource.ex_og0)}"/>

6. 如何查看VisualPage页面生成的准确代码(不要通过Preview方式):

   打开页面所在的Site,在弹出的URL中加上要预览的页面的Page Name,即可看到页面生成的正确代码,而Preview方式虽然操作方便,但生成的页面通过F12进行查看时生成的内容往往不准确;

7. 开放内容协议(Open Graph Protoco)

   如当前的页面为login,则主要内容包括以下部分,当我们在支持该开放内容协议的社交网络服务网站SNS如facebook,what’s app等上打开该链接:http://www.mywebsite.com/login,则会显示相应的图片和内容,非常适合网站的推广;

换个角度看Salesforce之基础配置学习笔记(一)
<apex:page docType="HTML-5.0" showHeader="false" sidebar="false" standardStylesheets="false" applyHtmlTag="false" cache="900" >
  <head>
    <meta property="og:title" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
    <meta property="og:type" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
    <meta property="og:url" content="The detailed url for current page!For example http://www.mywebsite.com/login"/>
    <meta property="og:image" content="https://{!$Site.Domain}{!$Resource.ImageName}"/>
    <meta property="og:image:width" content="1000"/>
    <meta property="og:image:height" content="600"/>
    <meta property="og:description" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
    <meta property="og:site_name" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
  </head>
  <h1>Page Content!</h1>
</apex:page>
View Code

分类:

技术点:

相关文章: