Introduction to Apex Programming Language

Telegram logo Join our Telegram Channel

Hello Friends! This is the first post of my Apex Beginner Series. This blog post series is specially curated for new Salesforce developers. 

No matter if you are a fresher or experienced developer switching to Salesforce from other technologies, this post will definitely help you to get started with Apex programming. This post series is also helpful if you are preparing for the Salesforce Developer 1 certification.

This is also a good refresher for experienced Salesforce developers! I hope you enjoy the learning!

Hiring Apex Developers 


What is Apex?

Apex is a proprietary language designed for the Salesforce platform and it can not run outside the Salesforce platform. Apex programming syntax is like Java programming language also it is built on top of Java.

Apex is used to add business logic to most of the system events, button clicks, record updates, and pass data to and from UI frameworks like Lightning Components, and Visualforce. It is also used to make API calls to external services from Salesforce.

As all apex code is stored and executed on the cloud you don’t need to set up anything on your local machine. You can get started just with a browser and a Salesforce Developer Edition org.


Features of Salesforce Apex

  • It's easy to use, and anyone with little or no coding experience can learn Apex.
  • Faster learning curve.
  • It is easy to test and provides built-in support for automated tests.
  • Stored, compiled, interpreted, and executed on the cloud.
  • Provides system validations and control over who can I modify the data. So the behavior of the code can be different as per the user who is performing the actions.
  • Strongly typed.
  • Case-insensitive.
  • Integrated with Salesforce database.
    • Provides built-in support for database queries Salesforce Object Query Language(SOQL) search Salesforce Object Search Language (SOSL)
    • Provides built-in support for DML operations like insert, update, and delete.
    • Treat any Salesforce object records as an apex object.
    • Provides System validations and warnings for database operations.
  • Support for custom and built-in APIs.
  • Apex is aware of Salesforce’s multitenant(oversimplified meaning multiple clients are sharing the computing resources) architecture, so it takes care of resource monopolies and starvation so every tenant gets fair usage of the resources.
  • Versioned - so you can save your code against a specific version so the behavior of the code is maintained consistently.

Next >> When should I use Apex?


References



Introduction to Apex Programming Language


No comments :
Post a Comment

Hi there, comments on this site are moderated, you might need to wait until your comment is published. Spam and promotions will be deleted. Sorry for the inconvenience but we have moderated the comments for the safety of this website users. If you have any concern, or if you are not able to comment for some reason, email us at rahul@forcetrails.com