Skip to main content

Posts

Showing posts with the label Clean Code in Salesforce

Salesforce Naming Conventions Best Practices

 Everyone want their code to be well structured but sometime due to few things we focus on functionality but forget to maintain format. A well formatted code increases readability, understanding and ultimately maintainability of the code base. Post Fix / Suffix: Here is some example of Postfix and Suffix we are using in our project. Functional Type Name Suffix Examples Trigger Trigger AccountTrigger Trigger Handler TriggerHandler AccountTriggerHandler Trigge Action TriggerAction AccountTriggerAction VF Controller Controller AccountController VF Controller Extension Ext AccountExt Service Class Service AccountService Model / Wrapper Class Wrapper AccountWrapper Web Service (SOAP) Ws AccountToolsWs Web Ser

Translate