
Join this beginner-friendly salesforce development course taught by shrey sharma to learn apex, soql, dml, visualforce, and apis, with hands-on projects to crack the developer i certification.
Learn Apex as a strongly typed, object-oriented, server-side language that runs on the Force.com platform to write business logic for Salesforce SaaS apps.
Apex features include automatic upgrades, seamless database integration with SOQL, simple insert/update/delete operations, built-in test framework and classes, and a multi-tenant environment with API versioning and a case-insensitive language.
Discover when to write Apex in Salesforce development: implement complex business processes not supported by point-and-click tools, multi-object validations, web services and email services, and transactions.
Discover Apex's limits: no UI elements beyond error messages, override standard functionality as a controller, and UI must use Visualforce or Lightning, with no multithreading or temporary files.
Explore the Apex environment across development, sandbox, and production orgs, and learn why development must occur in sandbox or development orgs before migrating after testing.
Understand Apex variables as named value holders, declare local variables with a Java‑like syntax and identifier rules, avoid reserved words, and define constants with final, assigned once.
Explore apex literals and constants; learn that a literal is a value like 123 or abc, and that an expression yields a value from variables and operators, e.g., a+b+math.random().
Apex Datatypes are of the following types:
Primitive Datatypes
sObjects and Generic sObjects
Collections
Enum
There are 7 types of primitive datatypes -
1. Integer datatype
2. Floating-point datatype
3. Time, Date, and DateTime
4. Boolean
5. String
6. ID
7. BLOB
Examine how the integer datatype stores numeric values and how the long datatype handles wider ranges, with declaring and assigning variables and l or L suffix to indicate long values.
Explore the apex date datatype by creating a date variable, assigning values with date.today and date.newInstance, and manipulating dates with start of month, start of week, and addDays, addMonths, addYears.
Learn how the boolean datatype in apex stores true or false, and use it in relational operators, if conditions, and loops such as while and for.
Explains the Apex string datatype, notes there is no Char type, and shows using single quotes and the plus operator to concatenate strings into 'ShreySharma is Salesforce Hulk'.
Explore the id and blob datatypes in Apex, including Salesforce record ids, 15- and 18-digit forms, string-to-id conversions, and blob usage for binary data.
Master generic sObjects to store any object type in one sObject variable. Use put and get with api field names, since dot notation won't work for generic sObjects.
There are three types of collections:
1. List
2. Set
3. Map
Learn how lists in Apex store ordered, non-unique elements of the same type, grow dynamically, and be accessed by index, with both explicit add and curly-brace initializations.
Learn common list class methods in Apex, including size, get, remove, clone, set, sort, isempty, and clear; understand indexing, element shifting after removals, and list state.
Learn how lists and arrays are interchangeable in Apex, using list array notation with square brackets, dynamic sizing, and zero-based index access.
Learn common set methods in Apex, including addAll, contains, containsAll, retainAll, remove, removeAll, and clear, and how sets reduce program complexity in a multitenant Salesforce environment.
Learn how maps in Apex store key-value pairs, with unique keys and non-unique values, using map syntax, put operations, and initializer forms for integer keys and string values.
Explore Apex map class methods, including put all, get, values, clone, key set, contains key, is empty, size, remove, and clear, with practical examples.
Discover how to create a custom data type using enum in Apex, define a set of values like winter, spring, summer, and fall, and use season.winter to assign values.
Explain Apex conversion rules between data types, including implicit upcasting from integer to double and explicit casting from higher to lower types, with id, string, and numeric examples.
Types of Operators in Apex:
1. Add/Sub Operator
2. Shorthand Operator
3. Equality Operator
4. Relational Operator
Explore how add and subtract operators handle integers, doubles, dates, and datetimes, including promotion to double when any operand is a double, date arithmetic, and string concatenation for plus.
Explore shorthand operators in Apex and learn how they update variables in place with +=, -=, *=, /=, or equals and and equals, illustrated by numeric and boolean examples.
Explore the equality operator in Apex, including case-insensitive string comparisons, case-sensitive ID comparisons, list value equality, and exact equality operator versus by-reference equality for user-defined objects unless overridden.
Master the rules of relational operators in Apex, including how null values affect comparisons, how strings and IDs behave, and avoiding runtime errors with same object IDs.
Explore how conditional statements work by evaluating a random number against 100 with an if, an else, and an if-else if chain for ranges above 300 and 200–300.
Master looping statements in Apex, including while, do-while, for, and for each loops, and learn how initialization, condition, and increment drive repeated execution.
Explore how loops calculate sums using while, do-while, for, and for-each to sum numbers from one to ten (55) and adapt to a hundred, with initialization and increment notes.
SOQL, Salesforce object query language, retrieves data for Apex from the Salesforce database, using select fields, from an object, where clauses, and noting standard versus custom objects.
Write SOQL queries inside Apex using square brackets to return a list of sObjects, then iterate with for or for-each loops to inspect account records.
Explore how to bind Apex variables in SOQL to make dynamic queries, replacing static values with a colon-prefixed variable to filter contacts by a runtime input such as first name.
Explore the four data return types of soql queries—list of sobjects, a single sObject, an integer, and aggregate result—and aggregate functions like count, sum, max, min, and count distinct values.
1. Like, And/Or Keyword
2. Order By and Group By Keywords
3. Limit, For Update and All Rows Keywords
Apply the like keyword in SOQL to compare strings with wildcard patterns, using percentage for any number of characters and underscore for a single character, and combine conditions with and/or.
Master how to use order by and group by in SOQL to sort opportunities by amount ascending, handle nulls, and generate aggregate results with count and max by stage name.
Discover how to use limit and for update in SOQL to control result size and lock records, and how all rules determine access to isDeleted and recycle bin accounts.
3 Types of Relationship Queries:
1. Child to Parent Relationship Queries
2. Parent to Child Relationship Queries
3. Multi-Level Relationship
Explore child to parent relationship queries in Salesforce, using one to many links like account to contact and rating to student, traversing via relationship field names and dot notation.
Master multi-level relationships in Salesforce by traversing from child to parent to fetch related opportunity and account data, while noting the five-level limit and the prohibition of inner queries.
Build dynamic SOQL queries at runtime by concatenating a select clause with a user-defined field list and object, then execute via database.query and handle syntax errors with try-catch.
Learn to perform text-based searches with SOSL across Salesforce records and to distinguish SOSL from SOQL. Use find and returning syntax to target objects and fields.
Learn to write SOSL queries in Apex using two square brackets, returning accounts and contacts in a list of lists, and access fields like name, number of employees, and phone.
Explore SOSL search groups that limit text queries to all fields, name fields, email fields, phone fields, or sidebar fields. Learn to use the IN keyword and understand default behavior.
Explore wildcards in SOSL queries, focusing on the asterisk and the question mark. Asterisk means zero or more characters; question mark matches a single character for flexible searches.
Explore SOSL queries, focusing on where clause, order by, and limit clauses, and learn to write conditions inside object-specific parentheses to filter assets and accounts.
1. Insert DML Statement
2. Update DML Statement
3. Upsert DML Statement
3. Upsert DML Statement
4. Delete DML Statement
5. Undelete DML Statement
6. Merge DML Statement
Apply insert DML in Apex to create an account with related contacts and opportunities, linking records via accountId and demonstrating how after insert the id becomes available.
Learn to use update dml to set closing dates for opportunities created in the last 90 days, using SOQL to fetch and a for-each loop to update.
Identify duplicate contacts with a map, create unique and del lists, and delete the duplicates using the delete dml statement.
Understand how the merge dml statement reparents child records when merging accounts, contacts, or leads, keeping a master SObject and reassigning children to it while deleting the merged records.
Master best practices for DML statements in Salesforce development, avoiding governor limits by bulkifying SOQL and DML, using in keywords instead of per-record queries and inserts.
Learn how to use the database class methods (insert, update, upsert, delete, undelete, merge) and the all-or-none property to reliably manage accounts, handle errors, and compare with standalone DML statements.
Execute the database class's static empty recycle bin method to permanently delete specified records from the recycle bin, such as contact records, by passing their IDs.
learn how to convert a lead to account, contact, and opportunity using apex with the database convert lead method, including linking the lead, setting converted status, and assigning ownership.
Apply transaction control and rollback to ensure updating opportunity amount, commission records, and account discount happen together. Use save points to roll back on failure.
Learn how the database class in apex returns operation results via save result, upsert result, and other result classes, enabling you to inspect success, IDs, and errors.
Handle exceptions by understanding that program execution halts, rolling back any DML operations and preventing partial commits. Log uncaught exceptions, email details, and show error messages to end users.
Compare system defined and custom user defined exceptions in apex, and learn how to throw them, extend the exception class, and handle DML, list, null pointer, and query exceptions.
Explore how to throw and handle exceptions using try, catch, and finally blocks, including multiple catch clauses and guaranteed execution of finally for cleanup.
Learn the exception handling syntax, including try blocks for code that may throw, catch blocks for specific or generic exceptions, and a finally block that always runs.
Explore how exceptions are thrown and handled using try, catch, and finally blocks. Understand the execution flow: catch handles errors, and finally runs regardless of exceptions.
Learn how Apex exceptions are thrown and caught, including DML, list, null pointer, query, and SObject exceptions. Inspect error details with getMessage and prevent failures during database operations.
Learn how generic exceptions serve as the superclass for all Apex errors, place the final catch block correctly, and prevent unreachable code.
Learn how to create and use custom exceptions in Apex by extending the base exception class, overriding getMessage, throwing and catching user-defined errors for negative numbers.
Explore common exception methods used to debug errors, including getCause, getLineNumber, getMessage, getStackTraceString, and getTypeName in try/catch blocks.
Salesforce Development Master Training Course is created by Shrey Sharma, the youngest Salesforce MVP 2019 in the world. He is also known as Salesforce Hulk, named after his Youtube Channel. This course is specially designed for Salesforce enthusiasts who want to launch their careers in Salesforce by becoming professional Salesforce Developers. It will provide you with deep knowledge of Salesforce and APEX basics learning from scratch and guide you to crack the Salesforce Platform Developer 1 Certification Exam.
Bonus: As of August 2025, we have updated the content with Artificial Intelligence Notes as well. Find it in the Apex Literals lecture!
Salesforce Developer is one of the most in-demand jobs and the Salesforce ecosystem is going to create 3.3 million new jobs by 2022. This course of Salesforce development consists of exciting pre-recorded videos by Shrey Sharma, explaining each concept in detail. Drafted to assure learning at its best. Get set to learn Salesforce development basics from this course and pave your way to your certification dream.
This course will provide you with in-depth knowledge and a complete understanding of the following topics:
1. Apex basics
2. Apex OOPS Concept
3. SOSL and SOQL
4. DML statements and Database Class methods
5. Apex Triggers
6. Apex Testing
7. Batch Apex & Governor Limits
What you will get as part of this course:
Pre-recorded High-Quality Videos
Assignments to get hands-on experience on APEX and Salesforce
Practice Tests
Complete written notes on the topics explained in class.
After completing this course, you will able to
Master coding in APEX,
Become an Apex programmer,
And will get one step closer to cracking Salesforce Platform Developer 1 Certification Exam with ease.