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

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.

主站蜘蛛池模板: 临猗县| 鹤壁市| 博野县| 城固县| 达拉特旗| 岳普湖县| 西城区| 二手房| 彩票| 西乡县| 西充县| 汶上县| 建昌县| 滦南县| 林周县| 临西县| 寿宁县| 华坪县| 浦东新区| 成安县| 鲁甸县| 合作市| 滁州市| 哈巴河县| 新丰县| 宽甸| 睢宁县| 海伦市| 洪泽县| 泸州市| 靖远县| 凌海市| 南昌市| 嘉兴市| 郸城县| 永年县| 冀州市| 海安县| 集贤县| 溧阳市| 故城县|