Patterns
This section documents architectural and design patterns used at Harrier for Salesforce development. These patterns represent proven solutions to recurring problems and provide standardized approaches to common development challenges.
Patterns Documentation
Leverages LongTextArea fields to store JSON-serialized data for non-transactional, display-oriented information. Provides schema flexibility while avoiding object proliferation for supplementary data that doesn't require querying or workflow processing.
When to Use Design Patterns
Design patterns should be applied when:
You encounter recurring problems with established solutions
You need consistency across the codebase
The pattern simplifies complex logic
The benefits outweigh the implementation overhead
Pattern Selection Criteria
Choose patterns based on:
Problem fit - Does the pattern address your specific challenge?
Team familiarity - Can the team maintain pattern-based code?
Performance impact - Does the pattern meet performance requirements?
Maintenance burden - Will the pattern simplify long-term maintenance?
Contributing New Patterns
When documenting new patterns:
Base documentation on actual implementations in production code
Include concrete examples with proper Apex syntax
Explain the problem context and why the pattern matters
Provide implementation guidelines and best practices
Document common pitfalls and how to avoid them
Last updated
Was this helpful?