Observer Vs PubSub

Observer Vs PubSub Observer Vs PubSub Let’s delve into Observer design Pattern and Publish Subscribe pattern. At a high level, both these are design patterns to communicate state changes or notifications to a listener. We didn’t originally plan to write on this subject. But, working on the dashboards, we realized we had to use both… Continue reading Observer Vs PubSub

Localization

Localization It is always better to have applications that will have a broader range of audience. Localizing an app gives organizations wider audience with a much lesser cost compared to developing individual app per language. We can have this done as a user profile attribute and be able to deliver the content based off the… Continue reading Localization

Redis In-Memory Database

Redis In-Memory Database Today, we have installed Redis, an in-memory database. In-memory databases rely on memory for data storage. Applications that have a use case for super fast response times can benefit from an in-memory database architecture. Cloud providers like AWS guarantee response times of under 1 ms (yes, sub-millisecond). This would be ideal for… Continue reading Redis In-Memory Database

Command and Query Responsibility Segregation (CQRS) pattern

Command and Query Responsibility Segregation (CQRS) pattern With the dashboard development in action, now is a good time to look at CQRS design pattern. CQRS stands for “The Command and Query Responsibility Segregation” (CQRS) pattern. This design pattern separates read and update operations for a data store. In a traditional architecture, the same model is… Continue reading Command and Query Responsibility Segregation (CQRS) pattern

Dashboards

Dashboards Dashboards are great tools to provide information overview. With Login, Registration and Logout functionalities out of the way, we picked up dashboards as the next pivot for our development. We will be concentrating on the development of some common critical components needed in a dashboard. To kick it off, we have replaced the old… Continue reading Dashboards

Functional Test Automation using Selenium

Functional Test Automation using Selenium Selenium to the rescue. Functional testing is hard – especially where screen content changes based on the user roles, data state, etc. It is rather hard to go through all the scenarios manually. It only gets crazier as the application foothold grows. So, it would be ideal to start automation… Continue reading Functional Test Automation using Selenium

Token Based Authentication Using Spring Security

Token Based Authentication Using Spring Security Today we wrapped up basic authentication of the application by wiring up Spring Security to work with JSON Web Tokens (JWT). As a part of this effort, we created the following 2 POST API end points. /api/auth/signup – For registration end point /api/auth/signin – For login Through Spring Security,… Continue reading Token Based Authentication Using Spring Security

Docker / MySQL / Roles

Docker / MySQL / Roles Docker / MySQL / Roles Time to make life easy. Let’s start with Docker containers. Software Development and deployment landscape totally changed in the last couple of years with the evolution of containers such as Docker. Docker containers eliminate lot of heavy lifting needed with traditional Virtual Machines. Docker containers… Continue reading Docker / MySQL / Roles