Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 27, 2022 04:03 pm GMT

Software Architecture and Software Design

Based on both key definitions, software architecture and software design, we can lay down an organization of software principles, methodologies and patterns currently applied in modern software development and technology innovations.

Software Architecture

It's a high level blueprint for a system.
It defines the structural elements like subsystems, roles, relationships and responsibilities meaning it lays down the architecture patterns that will guide the software design.
Software architecture directly deals with arranging this elements like servers, databases, APIs, clients or users of the software application, etc in order to fulfill business requirements.

Software Design

Implies decisions at a lower level of detail as it provides an implementation plans for the laid out architecture.
Software designers will decide on the specifications, contracts used in these subsystems that later software engineers will implement.

Organization of software principles, methodologies and patterns

Index of software concepts.

  1. Software architecture patterns
  2. Software architecture strategies
  3. Software design methodologies
  4. Software design patterns
  5. Programming paradigms
  6. Clean code principles

1. Software Architecture Patterns

Based on separation of concerns

  • Layered architecture (N-tier)
  • Hexagonal architecture (Ports & Adapters)

Based on distribution of the application

  • Monolith architecture
  • Microservices architecture
    • Microservices patterns

Based on events

  • Event Driven architecture

Based on cloud services

  • Serverless architecture

2. Software Architecture Strategies

Based on data management

  • Database per Service
  • Shared database
  • CQRS
  • Domain event
  • Event sourcing

Based on transactional messaging

  • Transactional outbox

Based on security

  • Access tokens
  • Oauth
  • Session

Based on observability

  • Log aggregation
  • Application metrics
  • Exception tracking
  • Health check API

Expand on software architecture strategies.

3. Software Design Methodologies

  • Domain Driven Design (DDD)
  • Behavior Driven Development (BDD)
  • Test Driven Development (TDD)

4. Software Design Patterns

  • Creational Patterns
  • Structural Patterns
  • Behavioral Patterns

Expand on software design patterns

5. Programming Paradigms

  • Object Oriented Programming (OOP)
    • Composition over inheritance
    • SOLID
      • Single-responsiblity Principle
      • Open-closed Principle
      • Liskov Substitution Principle
      • Interface Segregation Principle
      • Dependency Inversion Principle
  • Functional Programming

6. Basic principles

  • Clean Code
  • DRY: Don't repeat yourself
  • KISS: Keep it stupid simple
  • YAGNI: You aren't going to need it

Take into account that all these architectural principles, methodologies and patterns are no substitute for making your own decisions. You need to balance them according to business requirements of your software application.


Original Link: https://dev.to/franckweb/software-architecture-and-software-design-3m81

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To