Salesforce Platform Developer II (PD2) Training
A hands-on program by Alerainfotech to master advanced Apex, LWC, integrations, and patterns—so you can confidently clear PD2.
Who is this for?
- Salesforce developers aiming for PD2
- PD1-certified devs moving to advanced scenarios
- Engineers transitioning from admin/low-code to pro-code
- Teams seeking a structured PD2 readiness plan
Outcomes
- Confidently tackle PD2 scenario questions
- Write robust, testable Apex & asynchronous logic
- Build production-grade LWCs with patterns
- Design resilient integrations & apply security best practices
Why train with Alerainfotech?
- Full coverage of PD2 exam objectives with hands-on labs
- Real code reviews and mock exams
- Office hours for doubt clearing
- Reusable project templates & cheatsheets
Curriculum (PD2-Aligned)
Module 1: Advanced Apex & OOP Patterns
- Design patterns (Strategy, Factory, Unit of Work) in Apex
- Bulkification, limits, governor-friendly design
- Error handling and custom exception strategy
- Security review considerations (CRUD/FLS/Sharing)
Lab: Refactor legacy trigger logic using Service + Selector + UOW pattern.
Module 2: Asynchronous Apex & Transactions
- Future vs Queueable vs Batch vs Schedulable—when & why
- Chaining, partial failures, retry & idempotency
- Platform Events & Change Data Capture
- Transaction boundaries & savepoints
Lab: Build a batch process with robust error and retry handling.
Module 3: Lightning Web Components (LWC) at Scale
- State management, composition, and pub/sub
- Wire adapters vs imperative Apex, caching, offline
- Testing LWCs (Jest) & performance tuning
- UX patterns and accessibility
Lab: Build a multi-step wizard with Apex back-end and Jest tests.
Module 4: Integrations & APIs
- REST/SOAP callouts, Named Credentials, OAuth
- External Services, Platform Events, event-driven patterns
- Callout testing with HTTP mock & retries
- Security: encryption, secrets, compliance
Lab: Build a resilient integration with circuit-breaker style retries.
Module 5: Testing, Debugging & Deployment
- Test strategy: unit, integration, data factories
- CI/CD pipelines (SFDX), static analysis, code coverage
- Performance profiling & log analysis
- Packaging & security review readiness
Lab: Set up SFDX project with tests, PMD checks, and GitHub Actions.
PD2 Topic Plan (12 Sessions · 2h each)
- Session 1 – Apex Architecture & Patterns: Layered services, Selector pattern, UoW, DI, governor-friendly design.
- Session 2 – Triggers & Transactions: Trigger framework, recursion guards, savepoints/rollbacks, mixed DML avoidance.
- Session 3 – Security & Sharing: CRUD/FLS/sharing checks, with/without sharing, stripInaccessible, review gotchas.
- Session 4 – Asynchronous Apex I: Future/Queueable/Batch/Schedulable; chaining, state, error handling.
- Session 5 – Asynchronous Apex II: Platform Events, CDC, event-driven designs, retry & idempotency patterns.
- Session 6 – SOQL/SOSL & Data Modeling: Selectivity, indexes, relationship queries, large-data patterns, locking.
- Session 7 – Integrations I (Callouts): REST/SOAP, Named Credentials, OAuth, mocks, timeouts, circuit-breaker retries.
- Session 8 – Integrations II (Inbound/External): Apex REST, External Services, PE bridges, bulk & async ingestion.
- Session 9 – LWC at Scale: Architecture, composition, state mgmt, wire vs imperative, caching, Jest, perf & a11y.
- Session 10 – Testing Strategy: Data factories/setup, mocking callouts/events, coverage vs quality, flaky fixes.
- Session 11 – Observability & Performance: Debug logs, limits analysis, profiling, bulk/batch tuning.
- Session 12 – Packaging & DevOps: SFDX/CI, PMD, unlocked/managed packaging, security review; mock exam.
Assignments & Project Work
- Trigger refactor: Convert legacy trigger to Service + Selector + UoW with recursion guard.
- Async pipeline: Queueable chain with exponential backoff and idempotency keys.
- Integration lab: Callout client with Named Credentials + mock tests + retry policy.
- LWC wizard: Multi-step component using wire & imperative Apex + Jest tests.
- Test factory pack: Reusable factories and assertions for a mini domain.
Pricing
PD2 Cohort – 30 Days
3 days/week · 2 hours/session · With assignments
- Live classes (12 × 2h = 24h)
- Assignments & code reviews
- Mock exam + solution walkthrough
- LWC & Apex project templates
- Office hours & doubt clearing
$1,000
One-time payment · Access to recordings for 60 days
Need a team plan or invoice? Email support@alerainfotech.com.