Skip to Content
進化的アーキテクチャ ―絶え間ない変化を支える
book

進化的アーキテクチャ ―絶え間ない変化を支える

by Neal Ford, Rebecca Parsons, Patrick Kua, 島田 浩二
August 2018
Beginner to intermediate
240 pages
3h 2m
Japanese
O'Reilly Japan, Inc.
Content preview from 進化的アーキテクチャ ―絶え間ない変化を支える

4章アーキテクチャ上の結合

アーキテクチャに関して頻繁に議論にあがるものに結合がある。結合とは、アーキテクチャの要素がどのようにつながり、依存しているかということだ。多くのアーキテクトは、結合を必要悪だとして非難する。しかし、他のコンポーネントに依存(結合)することなしに複雑なソフトウェアの構築は困難だ。進化的アーキテクチャは、適切な結合、すなわち、最小のオーバーヘッドで最大の利益をもたらすために結合すべきアーキテクチャの次元を特定する方法に注目する。

4.1 モジュール性

はじめに、アーキテクチャに関する議論の中で使い古されてきた一般用語をいくつか紐解いておこう。プラットフォームが異なれば、コードを再利用する仕組みも異なる。しかし、いずれのプラットフォームであっても、関連するコードをモジュールとしてまとめてグループ化する何らかの方法はサポートしている。モジュール性とは、関連するコードの論理的なグループ化を表すものだ。次にモジュールは異なる物理方式でパッケージされる可能性がある。コンポーネントは、モジュールを物理的にパッケージする方法だ。モジュールは論理的なグループ化を意味し、コンポーネントは物理的な分割方法を意味する。

開発者は、プラクティスに基づいてコンポーネントをさらに細分化することが有効であることに気が付いた。この開発プラクティスには、ビルドやデプロイへの考慮も含まれている。ライブラリという種類のコンポーネントは、呼び出し側のコードと同じメモリアドレス内で実行され、言語機能の呼び出しメカニズムによって呼び出し側とやり取りする。ライブラリは一般にコンパイル時の依存関係だ。大抵の複雑なアプリケーションは様々なコンポーネントで構成されるため、ライブラリに関する大抵の懸念はアプリケーションアーキテクチャに存在することになる。他の種類のコンポーネントに ...

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

Rustの練習帳 ―コマンドラインツールの作成を通してRustを学ぶ

Rustの練習帳 ―コマンドラインツールの作成を通してRustを学ぶ

Ken Youens-Clark, 中山 光樹
scikit-learn、Keras、TensorFlowによる実践機械学習 第2版

scikit-learn、Keras、TensorFlowによる実践機械学習 第2版

Aurélien Géron, 下田 倫大, 長尾 高弘

Publisher Resources

ISBN: 9784873118567Other