All Architectures Wisdoms!

Check out all blog posts for Architectures. Click on a headline to read the teaser.

Liskov Substitution Principle

less than 1 minute read

All Architectures Wisdoms! Derived classes must be substitutable for their base classes. Read More ›

Static Class Vs SingleTon Pattern

less than 1 minute read

All Architectures Wisdoms! WoW ! Both have their own usage but still investigation is required - which one to use ? Read More ›

Layer Wise Design Patterns

1 minute read

All Architectures Wisdoms! Layered archietctures allows to use different design patterns at different layers. This post descttibes a taxonomy of design pattrens that could/should be used in each layer of architecture. Read More ›

Chain of Responsibilty

2 minute read

All Architectures Wisdoms! Actually bad habit. Throw your Responsibilty to others. Is what this pattern says - NO :). - The Chain of Responsibility is known as a behavioural pattern, as it's used to manage algorithms, relationships and responsibilities between objects. Complete java exception framework is built on *chain of responsibilities* Read More ›

Issues With Caching

less than 1 minute read

All Architectures Wisdoms! Caching can encounter challenges that include, for example, the problem of cache warm-up, where cache needs to be loaded with enough active data to reduce cache misses and allow it to start improving I/O response times. Read More ›

Eviction policy

less than 1 minute read

All Architectures Wisdoms! A cache eviction policy is an algorithm according to which an existing element is removed from a cache when a new element is added. The eviction policy is applied to ensure that the size of the cache does not exceed a maximum size. Read More ›

Dependency Inversion Principle

1 minute read

All Architectures Wisdoms! The ability to supply (inject) an external dependency into a software component. It's simply HOLLOYWOOD Law : Don’t call us, we’ll call you! Read More ›

Prototype Pattern

less than 1 minute read

All Architectures Wisdoms! Allows making new instances by copying an existing instance ! Cheap Objects Read More ›

Design Principles

3 minute read

All Architectures Wisdoms! Design principles are the substance of architecture. It’s architect sincere liability to respect the design principles while designing an application of any size or complexity. Design principles are the backbone & inspiration behind all existing design patterns. Read More ›

Spring Design Patterns

1 minute read

All Architectures Wisdoms! Design Patterns are used every where, be it any framework. Spring framework uses many Java design patterns - Singleton, Factory , MVC & many more Read More ›

Java API Design Patterns

1 minute read

All Architectures Wisdoms! Design Patterns are used every where, be it any framework. Java API itself uses its own design patterns - Singleton, Factory , Command, Observer & many more Read More ›

Single Responsibility

less than 1 minute read

A class should have one & only one reason for change. Responsibility here is reason for change. If there are two reasons for a change in a class, then there is a need to split class functionality into two. Read More ›

Cap Theorem

less than 1 minute read

Fundamentals of CAP Theorem Read More ›

Anemic Domain Model

less than 1 minute read

All Architectures Wisdoms! Model where business logic is implemented outside the domain objects. Read More ›

Domain Driven Design

less than 1 minute read

All Architectures Wisdoms! Domain-driven way of building software should appeal to everyone – after all that software is being built for the benefit of that domain, not for the benefit of architects, developers or QAs. Read More ›

Singleton Mis-Behaviour

less than 1 minute read

All Architectures Wisdoms! Yes Singleton can cat as a spoil spot. It can do mischief Read More ›