官术网_书友最值得收藏!

When should you use Apex?

Salesforce pre-builds a lot of tools and has a powerful CRM and development platform. However, customers may have complex business processes or desire branded site applications that are not supported by the existing out-of-the-box functionality. Apex can help you to build more complex logic and applications.

You can use Apex if you want to do the following things:

  • Create web services
  • Create email services
  • Create complex validations over multiple objects
  • Create complex business processes that are not supported by workflow, Process Builders, or Visual Flow
  • Create custom transactional logic (more than one record or object, for example, overnight batches)
  • Custom logic for Visualforce pages
  • Server-side controllers for Lightning components

To visualize Apex, you can use Visualforce pages, Visualforce components, Lightning components, or the new Lightning web components.

In all other circumstances, you should first consider a declarative solution for the requirements. The following diagram shows an overview of the standard (declarative) functionalities and custom (programmatic) functionalities that you can modify or build:

Let's look at the Developer Console now.

主站蜘蛛池模板: 株洲县| 巨鹿县| 巢湖市| 冀州市| 涪陵区| 晋中市| 神农架林区| 通道| 本溪| 凤庆县| 楚雄市| 和静县| 富裕县| 玛纳斯县| 旬邑县| 从江县| 威信县| 阜宁县| 会昌县| 盘锦市| 东台市| 桐梓县| 新闻| 柯坪县| 万山特区| 常熟市| 信丰县| 三明市| 彭泽县| 长海县| 大关县| 云浮市| 洪泽县| 革吉县| 淳安县| 烟台市| 新泰市| 桦南县| 菏泽市| 会东县| 合阳县|