Skip to Content
Software Architecture: The Hard Parts
book

Software Architecture: The Hard Parts

by Neal Ford, Mark Richards, Pramod Sadalage, Zhamak Dehghani
October 2021
Intermediate to advanced
462 pages
12h 32m
English
O'Reilly Media, Inc.
Audiobook available
Content preview from Software Architecture: The Hard Parts

Chapter 8. Reuse Patterns

Wednesday, February 2, 15:15

As the development team members worked on breaking apart the domain services, they started running into disagreements about what to do with all the shared code and shared functionality. Taylen, upset with what Skyler was doing with regard to the shared code, walked over to Skyler’s desk.

“What in the world are you doing?” asked Taylen.

“I’m moving all of the shared code to a new workspace so we can create a shared DLL from it,” replied Skyler.

“A single shared DLL?”

“That’s what I was planning,” said Skyler. “Most of the services will need this stuff anyway, so I’m going to create a single DLL that all the services can use.”

“That’s the worst idea I’ve ever heard,” said Taylen. “Everyone knows you should have multiple shared libraries in a distributed architecture!”

“Not in my opinion,” said Sydney. “Seems to me it’s much easier to manage a single shared library DLL rather than dozens of them.”

“Given that I’m the tech lead for this application, I want you to split that functionality into separate shared libraries.”

“OK, OK, I suppose I can move the all of the authorization into its own separate DLL if that would make you happy,” said Skyler.

“What?” said Taylen. “The authorization code has to be a shared service, you know——not in a shared library."”

“No,” said Skyler. “That code should be in a shared DLL.”

“What’s all the shouting about over there?” asked Addison.

“Taylen wants the authorization functionality to be in a ...

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.
Start your free trial

You might also like

Software Architecture: The Hard Parts

Software Architecture: The Hard Parts

Neal Ford, Mark Richards, Pramod Sadalage, Zhamak Dehghani
Head First Software Architecture

Head First Software Architecture

Raju Gandhi, Mark Richards, Neal Ford

Publisher Resources

ISBN: 9781492086888Errata Page