Salesforce Developer - Detailed Study Notes
1. Salesforce Fundamentals
Multi-Tenant Architecture:
- All customers share the same infrastructure and code base.
- Resources are securely partitioned.
MVC Pattern:
- Model: Data and business logic (Objects, Fields).
- View: UI (Lightning, Visualforce).
- Controller: Handles input and updates model/view (Apex Controllers).
2. Data Modeling & Management
Objects:
- Standard and Custom Objects to store data.
Fields:
- Standard, Custom, Formula, Roll-Up Summary fields.
Relationships:
- Lookup, Master-Detail, Many-to-Many.
Schema Builder:
- Visual tool to manage data model.
Data Types:
- Text, Number, Date, Picklist, etc.
3. Process Automation & Logic
Apex Triggers:
- Executes custom actions before/after record changes.
Apex Classes:
- Organize logic into reusable units.
Flows:
- Declarative automation for complex logic.
Process Builder:
- Automate simple business processes without code.
4. User Interface
Visualforce:
- Tag-based markup language for creating custom pages.
- Uses standard controllers, custom controllers, extensions.
Lightning Components:
- Modern UI framework for reusable components.
- Aura Components and Lightning Web Components (LWC).
5. Testing, Debugging & Deployment
Apex Test Classes:
- Required for deployment, 75% code coverage minimum.
- Use @isTest, System.assert methods.
Debugging:
- Debug Logs, Checkpoints, Developer Console.
Deployment:
- Change Sets, Metadata API, Salesforce CLI.