Adapter Design Pattern

samundrak

samundrak

JavaScript Dev

The adapter pattern helps us to connect or communicate with two or more than two interfaces that are not compatible with each other. In a simple word if we have to consume data from a source which our current implementation doesn't support then we can use this pattern to communicate with incompatible sources.

Proxy design pattern in short

samundrak

samundrak

JavaScript Dev

We can use the Proxy pattern whenever we want to control access to any third-party library or service which can be resource-heavy or expensive. For example, if we are integrating an SMS service in our application and sending every SMS can cost us a cent and there can be many chances where SMS content can be duplicated. In such a context we can create a proxy pattern that controls twillo access and help us to dedupe messages.

Policy and Details in Software Architect

samundrak

samundrak

JavaScript Dev

Software systems can be decomposed into two major elements which are Policy and Details. The policy element embodies all the business rules and procedures. It is where the true value of the system lives.

The details are those things that are necessary to enable humans, other systems, and programmers to communicate with the policy, but that do not impact the behavior of the policy at all. They include IO devices, databases, web systems, servers, frameworks, communication protocols, and so forth.

SQL and defination of DDL, DML, DCL and DIL

samundrak

samundrak

JavaScript Dev

The first version of SQL was developed by IBM called Sequel as part of the System R project. SQL stands for structured query language and is a combination of simple english words. SQL is used as a language to communicate with database. Same SQL code can run on multiple database albeit some database have slightly different syntax than others but still they have to maintain specification of SQL.

Entity and Entity Relationship model

samundrak

samundrak

JavaScript Dev

ER or Entity Reletionship model is used to create and model the data which is simple, non technical and easily understood by people describing a diagram with relation. It helps us to analyze requirements systematically to produce a well designed database.

TypeScript Tuple

samundrak

samundrak

JavaScript Dev

TS tuples are the same as an array but are subtypes of the array. Tuple can be defined in a special way that has fixed lengths where the values at each index have a specific and known value. Tuples have to be