Subject

Engineering

Design, Secure, and Manage Serverless Backends




From Serverless Architectures on AWS, Second Edition
By Peter Sbarski

The API Gateway Pattern

From Microservices Patterns by Chris Richardson

In this article, I describe the API gateway pattern. I discuss its benefits and drawbacks. I also describe various design issues that you must address when developing an API gateway.

OpenShift Workflows and Core Components

From OpenShift in Action

mentalmodel-OpenShift-workflows-and-core-components2

Designing Business Logic in a Microservice Architecture

From Microservices Patterns by Chris Richardson

The heart of an enterprise application is the business logic that implements the business rules. In a microservice architecture the business logic is spread over multiple services. Some external invocations of the business logic are handled by a single service. Other, more complex requests, are handled by multiple services and sagas are used to enforce data consistency. In this article, I describe how to implement a service’s business logic.

Writing Maintainable, Loosely-Coupled Code

From Dependency Injection in .NET, Second Edition by Steven van Deursen and Mark Seemann

What purpose does DI serve? DI isn’t a goal in and of itself, rather a means to an end. Ultimately, the purpose of most programming techniques is to deliver working software as efficiently as possible. One aspect of that is to write maintainable code. This article, adapted from chapter 1 of Dependency Injection in .NET, Second Edition, discusses what DI is (and is not).

Entities and Security: identity matters

From Secure by Design by Dan Bergh Johnsson, Daniel Deogun, and Daniel Sawano

This article discusses the properties of the model objects known as
entities and how they function inside the domain model. Knowing about
fundamental DDD concepts such as entities is a great way to start your
Secure by Design journey – here is what you need to know to be ready
to dive in.

Save 37% off Secure by Design with code fccsecure at manning.com.

Relevant Search: Debugging Query Matching

From Relevant Search by Doug Turnbull and John Berryman

This article discusses debugging query matching in search engines.

Aggregated Reporting

By Arnon Rotem-Gal-Oz, Eric Bruno, and Udi Dahan
Integration of services helps to achieve goals that are beyond the goals of a single service, for instance, the collaboration of several services to create a complete business process or creating a report on information from multiple services. This article based on chapter 7 of SOA Patterns takes a look at how to get an integrated view of the data needed for reporting when SOA encourages each service to hold its own data internally.

Aggregated Reporting (PDF)

Reservation Pattern

By Arnon Rotem-Gal-Oz, Eric Bruno, and Udi Dahan
Reservation pattern, which is closely related to the saga pattern, is a protocol level pattern that involves exchange of messages between service consumers and services. This article based on chapter 5 of SOA Patterns explains how to implement the reservation pattern.

Reservation Pattern (PDF)

Building a Test API for Your Application

By Roy Osherove
Sooner or later, as you start writing tests for your applications, you’re bound to refactor them, and create utility methods, utility classes, and many other constructs (either in the test projects or in the code under test) solely for the purpose of testability or test readability and maintenance. This article from The Art of Unit Testing how to use inheritance in your test classes, create test utility classes and methods, and make your API known to developers.

Building a Test API for Your Application (PDF)

© 2018 Manning — Design Credits