Design

Introduction to ER-Diagram Model

Reading Time: 5 minutes As we know that a database can be modeled as a collection of entities and relationships among entities. ER Diagram stands for entity relationship diagram which helps us to explain the logical structure of databases. An ER diagram looks like the flow chart but it consists of many more specializations like symbols and meaning of those symbols etc, which makes this model very unique. In Continue Reading

SOLID Principles

Reading Time: 5 minutes SOLID is stand for Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, and Dependency Inversion Principle. It is refers to five design principles in object-oriented programming, designed to reduce code and improve the value, class, function, and maintainability of software. The SOLID principles help the user develop minimized coupled code. If code is tightly coupled, a group of classes are dependent on Continue Reading

Know About Temporal Coupling – The Design Smell

Reading Time: 2 minutes Let’s first know what are code and design smells. Code smells are something that demonstrate bad coding practice, whose existence decreases the code quality, which shows the lack of design quality in the code. Code smells doesn’t affect your code from working properly, rather they are just absolute infringement of principals of developing a software. Whereas design smells are something that glows(sometime and sometimes not) Continue Reading

The 12 Factor App

Reading Time: 4 minutes This blog will explain the principles of the 12 factor app. These principle basically eliminate the unnecessary ache required while building your application. It makes the development process smooth, thus resulting in a robust and reliable application. 1. Codebase: A twelve-factor app states that a single app should not have multiple codebases, otherwise it is a distributed system instead of an app. Also, multiple apps Continue Reading

Let’s look at the Builder Pattern in Java

Reading Time: 5 minutes In this blog, we are going to look at what the Builder Pattern is and how does it help us construct objects of classes easily. But before understanding that, we need to understand why did we come up with the Builder Pattern in the first place. So, let’s discuss the problem statement due to which the Builder Pattern came into existence.

API Design Best Practices

Reading Time: 6 minutes Ever wondered if we have anything like best practices for designing our APIs, if not just give it a quick thought something will pop up, and if it was a yes let’s talk about it in detail. Yes, you heard me right, today we are going to talk about best practices for designing APIs which will help the developer to increase his/her productivity and success Continue Reading

PlantUML (Easy Diagram Creation Tool)

Reading Time: 2 minutes Hello All, In this blog, we are going to explain how we can create a different level of diagrams using PlantUML. Generally, developers communicate with their audience using the following ways: Technical text. Screenshots of the code. OR Diagrams Technical text and Screenshots of the code works well for developers but fails while communicating with the clients or users, but diagrams work well with both Continue Reading

Scala : Proxy Design Pattern

Reading Time: 2 minutes Hi Everyone! In our previous blogs, we have discussed Decorator design pattern and Adapter design pattern. Now, its time to discuss another Structural design pattern i.e. the Proxy design pattern. We will implement the same EUGDPR problem using the Proxy design pattern, which we implemented using the Adapter design pattern in our previous blog. Problem Statement: Earlier, in many applications, all the user-specific details like Continue Reading

Adapter design pattern with Scala

Reading Time: 2 minutes Hi Readers! In our last blog, we have discussed the Decorator design pattern with Scala. In this blog, we will explore the Adapter design pattern. We will also implement this pattern in Scala. Earlier, in many applications, all the user-specific details like username, IP addresses, phone number, etc were logged directly without scrambling it. But after new data protection law i.e. EUGDPR, it is now Continue Reading

Manipulating Server returned dates at client Side in Angular

Reading Time: 2 minutes Hey Visitor, Have you ever faced an issue with the date values on your website, when the date and time returned from server doesn’t change according to the client timezone , for eg. values returned from server at US will be different for a client at India so we need to manipulate the received time according to Indian Time Zone. So recently, I encountered this Continue Reading

Concepts of CQRS

Reading Time: 3 minutes In the previous blog, we have learnt what Event Sourcing is. Moving forward, we will dive into the concepts of CQRS, understanding its meaning, why is it required and its advantages. CQRS Pattern CQRS stands for Command Query Responsibility Segregation. As the name suggests, we split the application in two parts: Command-Side and Query-Side. Now one will ask what this command and query means? Okay, Continue Reading

ScalaFP: Mystery Of Scala Higher Kinded Type.

Reading Time: 3 minutes Scala type system holds a lot of mysteries. Sometimes these mysteries confuse us but mostly they provide us with a powerful feature. Today we will be discussing one of them called Higher Kinded Type Or Second Order Type. Before moving to higher kinded type lets brush up our basics first. Higher Order Function: So, functional programming follows an artistic rule called “functions are the first Continue Reading