Tag: designpatterns

mvc design pattern

MVC Pattern with Java

The MVC (Model View Controller) pattern divides the code into three layers, Model which is the layer where there is the business data class, we can also say model class or even domain class. Then the View layer is the front-end application which...

senior software engineer

How to Become a Senior Software Engineer?

Primarily, to be a senior software engineer, you must be great technically. You should know at least one programming language deeply, handle Threads, be able to learn new and adapt to new technologies quickly, and know a couple of frameworks very...

Proxy Design Pattern with Java

To make code flexible and easy to maintain we must find a way to encapsulate and not repeat the code. What if we need to do a specific treatment every time we get an Exception? Would we repeat this code in the entire application? We could, but...

Flyweight Design Pattern with Java

There are some situations in software development in which we need to improve performance. This is possible with the use of Cache. Imagine a lot of the same objects being created and wasting memory. The Flyweight pattern was created to avoid this...