Course Outline:
Day 1: Platform Fundamentals & Data Modeling
- Salesforce Platform Overview & Developer Tools
- Salesforce platform architecture and the multi-tenant model
- Developer Console: query editor, debug logs, and anonymous Apex
- Visual Studio Code with Salesforce Extensions Pack setup
- Salesforce CLI: orgs, projects, and metadata commands
- Sandbox environments and org types (Developer, Partial, Full, Scratch)
Data Modeling & Management
- Standard vs. custom objects and field types
- Validation rules and formula fields
- Object relationships: Lookup, Master-Detail, and Many-to-Many (junction objects)
- Schema Builder for visual data modeling
- Record-level access: OWD, Role Hierarchies, and Sharing Rules
- Hands-on: Design a custom data model for a business scenario
SOQL & SOSL
- SOQL syntax: SELECT, WHERE, ORDER BY, GROUP BY, and LIMIT
- Relationship queries: parent-to-child and child-to-parent
- Aggregate functions: COUNT, SUM, AVG, MIN, MAX
- Date literals and dynamic SOQL
- SOSL for cross-object text searches
- Hands-on: Write SOQL queries in the Developer Console and Anonymous Apex
Day 2: Apex Development
Apex Fundamentals
- Apex syntax: variables, data types, and operators
- Collections: List, Set, and Map
- Control structures: if/else, for loops, while loops, and do-while
- String, Date, DateTime, and Math utility classes
- Governor limits and bulk-safe design principles
- Hands-on: Write your first Apex class using Anonymous Apex
Apex Classes, Methods & DML
- Defining Apex classes and access modifiers (public, private, global)
- Instance vs. static methods and variables
- DML operations: insert, update, upsert, delete, and undelete
- DML vs. Database methods and partial success
- Exception handling with try/catch/finally
- Hands-on: Build a service class that creates and updates records
Apex Triggers
- Trigger syntax and context variables (Trigger.new, Trigger.old, etc.)
- Before vs. after trigger use cases
- Trigger best practices: handler class pattern
- Bulkification and avoiding recursive triggers
- Common trigger scenarios: field updates, duplicate prevention, and validation
- Hands-on: Build a bulk-safe trigger with a dedicated handler class
Day 3: UI Development, Testing & Deployment
Lightning Web Components (LWC) Basics
- LWC component structure: HTML, JavaScript, and metadata files
- Data binding, properties, and reactive variables
- Handling events: component and custom events
- @wire decorator and calling Apex methods from LWC
- Standard navigation and toast notifications (NavigationMixin)
- Hands-on: Build and deploy a simple Lightning Web Component
Apex Testing & Debugging
- Apex test class structure and the @isTest annotation
- startTest() and Test.stopTest() for governor limit reset
- Creating test data: TestDataFactory pattern and @testSetup
- assert, System.assertEquals, and System.assertNotEquals
- Reading and filtering debug logs by log level
- Hands-on: Write test classes achieving 75%+ code coverage
Deployment & Certification Prep
- Change Sets: outbound, inbound, and deployment validation
- Salesforce CLI deployment: source tracking, metadata deploy, and retrieve
- Managed vs. unmanaged packages and AppExchange basics
- PD1 exam overview: domains, weights, and recommended study resources
- Practice questions and certification strategy
- Hands-on: Deploy a complete feature set from sandbox to target org
Training material provided: Yes (Digital format)
Hands-on Lab: Students should have access to a free Salesforce Developer Org or Trailhead Playground. A Trailhead account is required for certification practice resources.