Software Architecture What, Why & How ???

What is architecture ?

Architecture is arranging the blocks in modular, structured manner. Architecture is Art & architect is the artist.

Every thing required architecture, it is not a rocket science. Every one is architect in day to day life. In our house we are arranging our material, books, kitchen tools anything that we arrange in well manner is architecture. The shopkeeper arrange shop. Any thing arranged in modular & structured manner is architecture.

Architecture is an art, so in art we have patterns & styles. The styles & patterns are changed based on the context, domain, and problem.

As per the Wikipedia which defines software architecture as “the set of structures needed to reason about the system, which comprise software elements, relations among them, and properties of both.”

Good software architecture is describe the applied patterns, layers or tiers which are used to define the clear separation of concerns of your business.

Why it is required ?

Less Is More. The WhatsApp Architecture Facebook Bought For $19 Billion.

As stated by Microsoft, “The goal of architecture is to identify the requirements that affect the structure of the application. Good architecture reduces the business risks associated with building a technical solution.”

Architecture must be like switch, plug & play. Business is ivy it grows, just you need to manage. Good architecture is easy to understand & cheap to modify.

The success of business is depend on the architecture.

Benefits of architecture.

Benefits which we always curious about it. Without benefits there is no business.

Below are the benefits you will get if you fallow the architecture styles & patterns.

  1. High Productivity.
  2. Better maintainability.
  3. High adaptability.
  4. Makes It easier to reason about and manage change.
  5. Secure & Scalable.
  6. Deliver higher quality in lower cost.

Architecture defines set of rules and constraint that are specific to the system or project. Architecture enables the quality attribute of the system or we can say it defines the quality with every action.

How we design a good architecture ?

To become a expert we need to practice. Practice for perfection.

There are some important principles need to be consider while designing architecture.

  1. Common sense :- (What is it ?) is a basic ability to perceive, understand, and judge things.
  2. The system should be built to change instead of building to last.
  3. Learn from your past experience & current technology trends.
  4. There’s more way than one to do it. ( It is useful to find the optimise solution )
  5. Understand the end user context & business domain.
  6. Follow the Design patterns & styles.
  7. Follow coding best practices.
  8. Understand the business module, sub module, consider component & layers (tiers ) to abstract them & identify the key interfaces.
  9. Use iterative approach while designing architecture.
Software architecture & Software design are two different thing don’t mix them. Software architecture is skeleton while software design is meat.

Software architecture is more about the higher level & software design is more about there component, class or modules.

Software architecture patterns e.g MV* pattern & software design patterns e.g DAO, Factory.

Any software architecture has two key components.

  1. Architecture Patterns :- It defines the implementation strategies of the components.

2. Architecture Style :- It actually defines the components & connectors.

" Life is better when things are made for good. "

Software Architecture Category

  1. Communication
  2. Deployment
  3. Domain
  4. Structure

There is lot more to explore in software architecture. Would like to hear your suggestion, inputs on this post.

Gently Press the ♡(empty) and make it ❤️(filled).

Lets connect on Stackoverflow , LinkedIn , Facebook& Twitter.