Themes

Select a theme

21 minsreadimage
sheikh irshadFebruary 11, 2024
Handle side effects in react using redux-saga

handle side effects in React using Redux-Saga. Explore basic usage, advanced concepts like parallel, sequential, concurrent and race tasks, task cancellation, and real-world scenarios.

12 minsreadimage
code whizFebruary 04, 2024
Mastering Spring WebClient - From Basics to Advanced Techniques

Understand what Spring WebClient is, how to set it up in a Spring Boot application, perform GET and POST requests, handle error handling, retry and backoff on specific exceptions.

4 minsreadimage
code whizFebruary 03, 2024
React Portals - how to use them to create dialogs in react

Learn about React Portals and how to use them to create dialogs in React. This blog post explains the concept of React Portals, its API, and provides a detailed code example using React functional components to create modal dialogs. Explore the usage of React Portals to enhance your React applications.

8 minsreadimage
code whizJanuary 27, 2024
How to use built-in react hooks with examples

Learn how to use built-in React hooks like useState, useReducer, useContext, useRef, useEffect, useMemo, and useCallback with examples. Understand their usage in various scenarios, and master the art of leveraging React hooks for efficient state management and side effects handling in your applications.

7 minsreadimage
code whizJanuary 27, 2024
Deep Dive into React Hooks

In this blog post, we take a deep dive into React Hooks, exploring the concept and structure of the Hooks API. We examine all the inbuilt hooks in React and learn how to write custom hooks. Follow along as we provide various scenarios with code examples.

7 minsreadimage
code whizJanuary 27, 2024
Accessing Child Component Refs in React-A Step-by-Step Guide using forwardRef

Learn how to access child component refs in React using forwardRef. This step-by-step guide covers the basics of working with refs.

8 minsreadimage
code whizJanuary 25, 2024
Understanding and using react context api

Learn how to use the React Context API to manage global state in your applications. Understand what the Context API is, the problems it solves, and how to implement it with code examples.

4 minsreadimage
code whizJanuary 25, 2024
New features in Java 17

Discover the exciting new features in Java 17! This blog post explores the latest enhancements in Java 17, including pattern matching, sealed classes, and more. Dive into various scenarios with code examples to understand how these new features can improve your Java programming experience.

37 minsreadimage
sheikh irshadSeptember 13, 2023
Structural Design Patterns in Java With Examples

Explore the Power of Structural Design Patterns in Java with Real-World Examples - Uncover how Java's structural design patterns enhance code flexibility and maintainability.

13 minsreadimage
sheikh irshadAugust 26, 2023
Creational Design Patterns in Java With Examples

Explore Creational Design Patterns in Java to master object creation techniques. Learn how Singleton, Factory Method, Abstract Factory, Builder, Prototype object creation in your Java applications.

12 minsreadimage
sheikh irshadAugust 26, 2023
Explore different use-cases for builder pattern in Java

Explore Builder Pattern in depth with real-world use-cases. Simplify complex object creation, create fluent APIs, build immutable objects, and configure customizable objects efficiently for enhanced software design and development.

13 minsreadimage
sheikh irshadAugust 26, 2023
Explore Different Ways to Implement Thread-Safe Singleton Pattern in Java

Discover how to achieve thread safety in Java Singleton patterns. Explore methods like eager and lazy initialization, double-checked locking, Bill Pugh Singleton and enum Singletons for robust concurrency control.

7 minsreadimage
sheikh irshadAugust 26, 2023
Factory Method Pattern vs Static Factory Method

Factory Method Pattern vs Static Factory Method: Comparison of software design patterns for object creation, highlighting flexibility and simplicity.

7 minsreadimage
sheikh irshadAugust 13, 2023
Projections and Result Transformations in JPA Criteria Queries

Optimize JPA queries with projections & result transformations. Learn efficient data retrieval & customization in Java Persistence API. Real examples included.

6 minsreadimage
sheikh irshadAugust 13, 2023
write join queries using jpa criteria queries

Learn how to create join queries using JPA Criteria Queries easily. Explore a beginner-friendly guide to crafting effective join queries and improving your database querying skills with JPA's criteria API.

24 minsreadimage
sheikh irshadSeptember 29, 2021
Spring Security Oauth2- JWT Authentication in a resource server

Spring security provides a minimal setup required to implement the JWT authentication in a resource server

16 minsreadimage
sheikh irshadSeptember 01, 2021
Spring Bean Scopes and Lookup method injection

Spring Bean Scope defines the lifecycle and the visibility of the instances created from the bean definitions

7 minsreadimage
sheikh irshadAugust 24, 2021
@Transactional Rollback options in Spring Data

@Transactional provides rollbackOn and noRollbackOn options to control the rollback for exceptions

10 minsreadimage
sheikh irshadAugust 24, 2021
Implement Firebase custom tokens with Spring security

Firebase custom tokens allows us to authenticate users with JWT tokens generated in our own servers.

15 minsreadimage
sheikh irshadAugust 18, 2021
Spring Security - JPA implemenation of UserDetailsService For DaoAuthenticationProvider

JPA based AuthenticationProvider to provider username and password authentication

3 minsreadimage
sheikh irshadAugust 18, 2021
Spring Security - In-Memory Authentication using DaoAuthenticationProvider

DaoAuthenticationProvider uses UserDetailsService and a password encoder to authentication username password based authentication

12 minsreadimage
sheikh irshadAugust 18, 2021
Spring Security- How to implement username and password authentication

Username and password authentication is one of most commonly used methods. Spring security provides API's to configure form-based login, basic authentication and many more with storage options such as JDBC authentication, in-memory authentication as well as custom authentication providers

10 minsreadimage
sheikh irshadAugust 17, 2021
Spring Security Architecture fundamentals

Spring Security provides a ready to use framework for authentication as well as authorization. It provides AuthenticationProviders for Username and password and basic authentication, LDAP authentication, JWT authentication and provides apis for building custom AuthenticationProviders

39 minsreadimage
sheikh irshadSeptember 15, 2020
Reactive State management in the angular - NgRx Store, actions, selectors

NgRx framework provides a reactive state management in angular applications using NgRx store, NgRx Actions, NgRx reducers and NgRx selectors

27 minsreadimage
sheikh irshadSeptember 15, 2020
Ngrx Effects - Isolate side-effects in angular applications

NgRx Effects use observable action streams to isolate side effects from components.

13 minsreadimage
sheikh irshadJune 16, 2019
Create Microsoft Office Addin using Angular CLI

Develop a Microsoft office add-in using angular v8.0.0. Use Angular CLI to generate a complete project structure. Add SSL to angular dev-server

19 minsreadimage
sheikh irshadFebruary 17, 2019
Select values in criteria query - select, multiselect, tuple query

JPA specification provides different ways to select values in criteria query. select, multiselect and tuple queries are used to select single or multiple values from one or more entities

38 minsreadimage
sheikh irshadFebruary 11, 2019
Programmatic Criteria Queries using JPA Criteria API

Criteria Queries in JPA are type-safe and portable way of fetching data. It provides methods such as Criteria Join, Fetch Join, aggregate functions and sub queries to fetch data.

30 minsreadimage
sheikh irshadNovember 02, 2018
Learn TypeScript fundamentals in 60-ish minutes - part(2)

TypeScript is the superset of JavaScript with optional static types. It compiles to JavaScript.

3 minsreadimage
sheikh irshadJuly 09, 2018
How to implement multielement directives

In order To apply AngularJs directives on various elements without having to add them for every DOM element multielement option can be set to true.

20 minsreadimage
sheikh irshadJuly 08, 2018
AngularJs Directive - compile and link function

Compile function does the one-time activity and could be used to do some initialization. Link function is used to perform DOM manipulation and copy content into the DOM from the scope.

6 minsreadimage
sheikh irshadJuly 06, 2018
API for registering directive- Directive Definition Object

Directives are created using angular.directive API. This API takes a directive name followed by a factory function which returns a Directive Definition Object.

4 minsreadimage
sheikh irshadJuly 03, 2018
Understanding AngularJS Directives

AngularJS Directive is a unit of reusable code which is used to add custom behavior to HTML elements or attributes.

34 minsreadimage
sheikh irshadJune 26, 2018
Learn TypeScript fundamentals in 60-ish minutes - part(1)

TypeScript is the superset of JavaScript with optional static types. It compiles to JavaScript. It is designed for the development of large applications.

13 minsreadimage
sheikh irshadJune 26, 2018
Creating Custom Filters in AngularJS

Filters are one of the AngularJS features which help in filtering or formatting the data for the end user

18 minsreadimage
sheikh irshadMarch 18, 2018
Modular design pattern in JavaScript

Modular design pattern helps to split each functionality into different chunks of code to separate the concerns.

7 minsreadimage
sheikh irshadDecember 31, 2017
Publisher-Subscriber(pub-Sub) pattern in Javascript

Publisher Subscriber pattern is the loosely coupled extension of Observer pattern.

16 minsreadimage
sheikh irshadDecember 30, 2017
Observer pattern in Javascript

Observer design pattern helps to decouple the code dependency by registering different Observers on the Subject