SOLID thing (Principles): A Guide to Empower Writing a Better Maintainable and High Extensible Code

Introduction: In the world of software development, writing code that is easy to understand, maintain, and extend is crucial. The SOLID principles offer a set of guidelines to achieve these goals. SOLID is an acronym for five principles: In this article, we will explore each of these principles and provide Java code examples to illustrate their application. 1. Single Responsibility...

READ MORE SOLID thing (Principles): A Guide to Empower Writing a Better Maintainable and High Extensible Code

The 15-Factor Way of App: Overcome the First Challenge to Building Cloud-Native Applications

Table of Contents Introduction The 12 Factor App and the 15 Factors are both sets of principles for building cloud-native applications. The 12 Factor App was published in 2011, and the 15 Factor was published in 2017 and they are designed to make applications easier to deploy, scale, and maintain in the cloud. What are the 12 and 15 Factors?...

READ MORE The 15-Factor Way of App: Overcome the First Challenge to Building Cloud-Native Applications

Getting Started with useState Hook in React: A Beginner’s Guide

React is a popular front-end library for building user interfaces, and functional components are at the heart of React development. With the introduction of hooks, developers can now add stateful logic to functional components. One of the most fundamental hooks is useState, which provides an easy way to manage state within a functional component. In this tutorial, we’ll explore the...

READ MORE Getting Started with useState Hook in React: A Beginner’s Guide

Understanding the Difference Between Cookies, Sessions, and Tokens in Spring Boot

When developing web applications, managing user authentication and maintaining their state across multiple requests are critical tasks. Cookies, sessions and tokens are common mechanisms used for this purpose. In this tutorial, we will explore the differences between these three methods and see how to implement them using Spring Boot. 1. Cookies What are Cookies? Cookies are small pieces of data...

READ MORE Understanding the Difference Between Cookies, Sessions, and Tokens in Spring Boot

5 Ways to Generate Random Strings in NodeJs

Generating random strings is a common requirement in many Node.js applications. Whether it’s for generating passwords, unique identifiers, or random tokens for authentication, having a reliable method to create random strings is crucial. In this tutorial, we will explore five different ways to generate random strings in NodeJs, each with its own strengths and use cases. Table of Contents: Built-in...

READ MORE 5 Ways to Generate Random Strings in NodeJs

15 Microservices Best Practices for Building Scalable Services – Part 3

In this last part of blog post we will continue exploring microservices best practices for building scalable services. Table Of Contents: Understanding Fault Tolerance Fault tolerance refers to the capability of a system to continue functioning correctly even in the presence of hardware or software failures. In essence, it involves building redundancy and fail-safe mechanisms into the system architecture. The...

READ MORE 15 Microservices Best Practices for Building Scalable Services – Part 3

Mastering Spring Batch AggregateItemReader with Example

Spring Batch is a powerful framework for batch processing in Java-based applications. It provides various components that enable the development of robust and efficient batch jobs. One of the key components of Spring Batch is the AggregateItemReader, which allows you to read items from multiple sources and aggregate them into a single stream. In this tutorial, we will walk through...

READ MORE Mastering Spring Batch AggregateItemReader with Example

Mastering Real-time Data Processing with KafkaItemReader and KafkaItemWriter in Spring Batch

In this tutorial, we will explore the powerful KafkaItemReader and KafkaItemWriter components in Spring Batch. These components facilitate seamless integration with Apache Kafka, enabling efficient and scalable data processing in batch jobs. We will explain the concepts behind KafkaItemReader and KafkaItemWriter and delve into their various use cases. Table of Content: Understanding KafkaItemReader KafkaItemReader is a Spring Batch item reader...

READ MORE Mastering Real-time Data Processing with KafkaItemReader and KafkaItemWriter in Spring Batch

Building Event Sourcing with Spring Boot and MongoDB

In this tutorial, we will explore how to implement Event Sourcing using Spring Boot and MongoDB. Event Sourcing is a powerful architectural pattern that can be used to ensure data consistency, auditability, and scalability in complex systems. It enables you to store the state of an application as a series of events, capturing every change made to the data over...

READ MORE Building Event Sourcing with Spring Boot and MongoDB

A Guide to Combining ReactJs App and NodeJs Express Server in One Project

In this tutorial, we’ll guide you through the process of creating a full-stack web application that combines a ReactJs client and a NodeJs Express server within a single project. By the end of this tutorial, you’ll have a solid foundation to build feature-rich web applications with seamless communication between the front-end and back-end components. Before you start, make sure you...

READ MORE A Guide to Combining ReactJs App and NodeJs Express Server in One Project