profile

Hi, I’m a creator

Exploring Design Patterns - Strategy and Template Method

Published 12 months ago • 1 min read

Hello there,

Hope you are doing good.

Design Patterns are an important aspect of Software Engineering. If you are a developer or an Engineer, chances are that you might have come across or used these patterns in your day to day life.

Having a brief understanding of these patterns can take you a long way in your journey in Software Engineering.

Hence I wish to share with you all that you should know about design patterns starting this week - two patterns every week.

For this week's newsletter, I want to introduce you to two interesting behavioral patterns - Strategy and Template Method.

I. Understanding Strategy Design Pattern made Easy - In this detailed article, let's understand what is a Strategy Design Pattern and how we can implement it with an illustrating example.

II. Understanding Template Method Pattern made Easy - In this detailed article, let's understand what is a Template Method design pattern, how to use it and the differences between Template Method and Strategy

I hope these articles will be useful to you.

Please do like on Facebook, we are nearing 2000 likes and your like means a lot. Please do follow on Twitter, I do regularly post my latest updates over there.

Have a great week.

Cheers

Ram

Hi, I’m a creator

Read more from Hi, I’m a creator

Hello there, Hope you are doing good. Token based Authentication is one of the most popular and widely used authentication and identity management systems used across the world. It is simple, easy to integrate and makes user experience better. Applications can decouple User Identity and Authentication layer to an externalized Authorization Server layer and delegate authentication to this server. You will only enter credentials at a centralized Identity Provider site and the application...

9 months ago • 2 min read

Hello there, Hope you are doing good. I wanted to share some interesting news to you. You want to add authentication to secure your resources, authorize access, implement CORS policies, enforce HTTPS, or even cache responses – you will add the respective built-in libraries to the web application. These are all exposed by the ASP.NET Core framework as Middleware – pieces of code blocks that are responsible for a single functionality. Announcing my new digital product - "How to work with...

9 months ago • 1 min read

Hello there, Hope you are doing good. This week, I want to introduce you to the 3 caching patterns that we generally use to implement Caching in our applications. We choose a caching pattern that best fits our application based on its behavior, business requirements and tolerance. The following are the 3 popular patterns used for caching in microservices. Cache-Aside The cache is lazy loaded with data only when needed and is not available in the cache. The microservice decides if the data...

10 months ago • 1 min read
Share this post