Skip to Content
Design – Build – Run: Applied Practices and Principles for Production-Ready Software Development
book

Design – Build – Run: Applied Practices and Principles for Production-Ready Software Development

by Dave Ingram
February 2009
Intermediate to advanced
718 pages
22h 43m
English
Wrox
Content preview from Design – Build – Run: Applied Practices and Principles for Production-Ready Software Development

14.4. The Business Processing Components

The business-processing components encapsulate all the business logic and functional components (including batch). The business-processing layer is used by the web services, batch processes, and possibly other external consumers (as required). This section takes a closer look at the components within the business-processing tier.

14.4.1. The Business Components

The web services call down to the core business-logic components that actually perform the required functionality. You've seen how the web pages relate to the web services and how the web services relate to the business managers. This section looks at the business managers and the business processes.

I prefer the methods in the business-logic layer to mirror actual functional scenarios and actions rather than a straight object-orientated design. I tend to design business components so that they mirror the user or functional journeys, rather than having a single component perform every task. For example, in this application, it would be possible to have a single Membership or Account component that encapsulated all the relevant functionality for creating new accounts, activating accounts, updating account details, and so forth. This would make for a fairly large component and, in most cases, restrict its development and testing to a single individual. In a very large system this functionality could simply form part of the overall solution. With respect to the case study, it is the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

How Functional Programming Can Improve Testing, Reuse, and Maintenance in Your Current Codebase

How Functional Programming Can Improve Testing, Reuse, and Maintenance in Your Current Codebase

Eric Normand
Building Maintainable Software, Java Edition

Building Maintainable Software, Java Edition

Joost Visser, Sylvan Rigal, Rob van der Leek, Pascal van Eck, Gijs Wijnholds

Publisher Resources

ISBN: 9780470257630Purchase book