Giter Site home page Giter Site logo

mastering-apex-programming's Introduction

Mastering Apex Programming

Mastering Apex Programming

This is the code repository for Mastering Apex Programming, published by Packt.

A developer’s guide to learning advanced techniques and best practices for building robust Salesforce applications

What is this book about?

As applications built on the Salesforce platform are now a key part of many organizations, developers are shifting focus to Apex, which is Salesforce.com’s proprietary programming language for developing code processes to run on Salesforce servers. As a Salesforce developer, it is important to understand the range of tools at your disposal, how and when to use them, and best practices for working with Apex. Mastering Apex Programming will help you explore the advanced features of Apex programming and guide you in delivering robust solutions that scale.

This book covers the following exciting features:

  • Understand common coding mistakes in Apex and how to avoid them using best practices
  • Find out how to debug a Salesforce Apex application effectively
  • Explore different asynchronous Apex options and their common use cases
  • Discover tips to work effectively with platform events
  • Develop custom Apex REST services to allow inbound integrations
  • Build complex logic and processes on the Salesforce platform

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Errata

  • Page 17: The following code block present on this page is incorrect:
for(Account acc : Trigger.new) {
  Integration_Settings__c setting = Integration_Settings__c. getInstance();
  User apiUser = [SELECT Id FROM User WHERE Username = setting.Api_Username__c];
  if(acc.OwnerId = apiuser.Id) {
    break;
  }
  //do something otherwise
}

The correct code block is as follows:

Integration_Settings__c setting = Integration_Settings__c. getInstance();
User apiUser = [SELECT Id FROM User WHERE Username = setting.Api_Username__c];
for(Account acc : Trigger.new) {
  if(acc.OwnerId = apiuser.Id) {
    break;
  }
//do something otherwise
}

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

public class Person {
    public String name;
}

Person paul;

Following is what you need for this book: This book is for Salesforce developers who are interested in mastering Apex programming skills. You’ll also find this book helpful if you’re an experienced Java or C# developer looking to switch to Apex programming for developing apps on the Salesforce platform. Basic Apex programming knowledge is essential to understand the concepts covered.

With the following software and hardware list you can run all code files present in the book (Chapter 1-16).

Software and Hardware List

Chapter Software required OS required
1-16 Salesforce, VS Code Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Paul Battisson is a seven-time Salesforce MVP and has been a speaker at numerous global Salesforce events, including Dreamforce, London’s Calling, and India Dreamin. He has been working with the Salesforce platform for over 11 years in a mix of both product development and consulting roles. Paul now helps lead a UK-based consulting partner, as well as blogs, has a YouTube channel, and leads a Salesforce Developer Group.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781800200920

mastering-apex-programming's People

Contributors

packt-itservice avatar packt-pradeeps avatar pbattisson avatar packtutkarshr avatar rohitpackt avatar

Stargazers

Kareem Alnoaman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.