Book Image

Software Architecture for Web Developers

By : Mihaela Roxana Ghidersa
Book Image

Software Architecture for Web Developers

By: Mihaela Roxana Ghidersa

Overview of this book

Large-scale web applications require you to write code efficiently following business and architectural considerations. They require web developers to understand the impact of their work on the system and how they can evolve the product. With this handbook, every developer will find something to take away. This book will help web developers looking to change projects or work on a new project in understanding the context of the application, along with how some design decisions or patterns fit better in their application’s architecture. It acts as a guide, taking you through different levels of professional growth with a focus on best practices, coding guidelines, business considerations, and soft skills that will help you gain the knowledge to craft a career in web development. Finally, you’ll work with examples and ways of applying the discussed concepts in practical situations. By the end of this book, you’ll have gained valuable insights into what it means to be a web architect, as well as the impact architecture has on a web application.
Table of Contents (15 chapters)
1
Part 1 – Getting the Grasp of Architecture
7
Part 2 – Architect: From Title to Role
10
Part 3 – From Developer to Architect

Common patterns

As we mentioned before, we don’t have to create a new architectural pattern every time we start working on a new system. There are a lot of already-tested and well-documented architectural patterns and approaches that we can begin with. An important aspect to consider is that you can combine techniques if it suits your system, but please be careful because you can quickly end up with a mess if you are not careful.

Some of the patterns that we will look at in this section are the following:

  • The layered pattern
  • The client-server pattern
  • The model-view-controller pattern
  • The microservices pattern
  • The CQRS pattern
  • UI patterns:
    • Micro frontends
    • Flux
    • Jamstack

The layered pattern

One of the first architectural patterns I ever worked with was the layered pattern, also known as the n-tier pattern. The layered pattern is also one of the easiest to understand, especially for developers at the beginning of their career, because it works...