Skip to content

acx-eduard-panin/salesforce-frameworks-and-libs

Repository files navigation

Salesforce Frameworks and Libs

It is a short overview of Salesforce useful frameworks and libs

Description: The great library can allow developers to avoid some extra code for record creating.

Main features

  • Can create sample test data single/collection
  • All required fields are populated
  • Can be extended extends TestDataFactory.DefaultValueProvider

License: Apache License 2.0

Please see the usage example in the DataFactory class.


Description: The library can allow developers to construct secure query and make it more readable.

Main features

  • Security check
  • Extract Fields
  • Supports Field Set

License: MIT License

Please see the usage example in the Query class.


Description: It mostly oriented on custom REST API based on Apex.

Main features

  • Flexible REST APP
  • Errors handler
  • Easy to extend your app

License: MIT License

Please see restRoute\controllers and restRoute\RestController class. Also, you can find postman collection in the artifacts folder.


Description: It is Apex Unified Logging lib with additional functionality. Great lib to allow logging in Apex with possibility of configuration.

Main features

  • No effect of transactions
  • Real time logging
  • Autofill context and method name

License: MIT License

Please see Logging class. Also, you can find logging tab to overview the UI component.


Description: The Great lib to implement dependency injection on Salesforce.

Main features

  • Make your code cleaner
  • Easy to modify
  • Easy to reuse
  • Minimize risks when changes needed

License: BSD-3-Clause License

You can find the implementation of DI in the forceDI/withDI folder. Please note that you should implement Binding (see forceDI/withDI). In the custom metadata record(di_Binding.apex_Bindings) you can find the place where the config file is configured. UML diagram


Description: One more trigger handler framework for Salesforce.

Main features

  • Follow Salesforce best practices
  • Only to classes as dependency
  • Easy to use

License: MIT License

You can find the implementation of Trigger Handler in the ContactTriggerHandler class.


Sublime's custom image

About

It is a short overview of Salesforce useful frameworks and libs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published