Category: strategy

Salesforce Platform Developer – I Certification Tips

I have cleared another Salesforce Certification yesterday – It’s Platform Developer – I. In this post, I am going to share my study notes. Hopefully it will help others as well.If you are an experienced developer or admin having more than 6 months of experience, it is very easy to clear this certification. But if you are new to Salesforce, then I think this study note is going to help you. I found 50% – 60% questions are scenario based.During the exam, I am sure you will get multiple questions which will make you confuse in terms of more than one correct answers. My suggestion is that read the question/scenario 2-3 times, there will be one/two words which will lead to the correct answer. If you still not able to find the correct answer, mark the question for review and go to the next question. Don’t spend too much time in one question.Note – Don’t treat this as a Certification dumps. Rather the intention of the post is to share my strategy, topics I covered during my preparation.Another important point to mention here is that when I gave this certification the release from Salesforce was Winter’17. With every release, Salesforce brings new features so you need to go through the release notes as well.Let’s start by topics mentioned in the Certification Syllabus. Salesforce Fundamentals [Weighting: 10% i.e. # of Questions: 6]Describe...

Read More

Implementing Strategy Design Pattern in Apex

This post is part of the series – Design Pattern in ApexThe strategy design pattern is the one which allows an algorithm’s behavior to be chosen at run time. It is used to define a set of algorithms to solve a common problem. It allows unique logic per algorithm via encapsulations, but ensures that all algorithms are interchangeable at run time. Here the abstraction is achieved by an interface, whereas individual implementations are done at derived classes. So basically it looks like -Where I should use this design pattern?This design pattern should be used when you are planning to perform an operation that has a common end goal, but there can be different approaches/ways to achieve that goal. All these approaches can be chosen by client at run-time.Let me tell you few real-life Salesforce based example where this design pattern can be used -Let’s say in the account detail page, you want to display the current temperature of the city where the office located. Now based on the country/state, you may need to collect the temperature information from different websites, but your final goal is always the same i.e. showing the temperature.Let’s say you are calculating discounts per product based on month. Every month, the discount amount is getting calculated by different complex algorithms/formulas. Here also, your final goal is same i.e. calculating the discounts.Let’s say you want to set...

Read More

Earlier Posts

  • 2024 (18)
  • 2023 (47)
  • 2022 (25)
  • 2021 (35)
  • 2020 (41)
  • 2019 (13)
  • 2018 (16)
  • 2017 (14)
  • 2016 (18)
  • 2015 (74)
  • 2014 (20)