Skip to Content
マイクロフロントエンド ―マイクロサービスアーキテクチャの概念をフロントエンドに拡張し、信頼性、自律性の高いシステムを構築する
book

マイクロフロントエンド ―マイクロサービスアーキテクチャの概念をフロントエンドに拡張し、信頼性、自律性の高いシステムを構築する

by Luca Mezzalira, 嶋田 健志
October 2022
Beginner to intermediate
404 pages
5h 7m
Japanese
O'Reilly Japan, Inc.
Content preview from マイクロフロントエンド ―マイクロサービスアーキテクチャの概念をフロントエンドに拡張し、信頼性、自律性の高いシステムを構築する

5章マイクロフロントエンドの技術的実装

この章では、マイクロフロントエンドの意思決定フレームワークを使用して、基本的なECサイトを構築します。「4章 マイクロフロントエンドアーキテクチャの発見」で説明した技術的アプローチの1つを使います。これまで述べてきたように、アーキテクチャに関しては、万能な解決策はありません。プロジェクトの目標、組織の構造とコミュニケーション、会社で利用できる技術的なスキルなどは、アプローチを選択する際に考慮すべき要因の一部です。

対象とするコンテキストを特定した後、マイクロフロントエンドの意思決定フレームワークを使って、アーキテクチャの技術的方向性の主要な柱を定義します。複数のフレームワークで同一の例を作るのではなく、正しいメンタルモデルの構築のサポートに重点を置き、利用可能なオプションのうち1つか2つだけを記憶するのではなく、どのマイクロフロントエンドフレームワークでもマスターできるようにします。

我々は、これからいくつかのコードを探求しますが、なぜ意思決定が行われるかを理解することの重要性を強調します。そうすることで、次のプロジェクトでは、使用するアプローチやフレームワークが異なっても、特定のマイクロフロントエンドフレームワークにどれだけ精通しているかには関係なく、正しい方向性を決定できます。

老子の言葉に、「授人以魚 不如授人以漁」(人に魚を与えれば一日で食べてしまうが、釣り方を教えれば一生食べていける)というものがあります。魚を釣れるようになりましょう。

5.1 プロジェクト

これから作成するプロジェクトは、企業組織向けのスワッグ†1ECサイトです。このサイトは、以下のような複数のサブドメインで構成されています。

[†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

30分でわかる『システム運用アンチパターン』

30分でわかる『システム運用アンチパターン』

田中 裕一
UXデザインの法則 ―最高のプロダクトとサービスを支える心理学

UXデザインの法則 ―最高のプロダクトとサービスを支える心理学

Jon Yablonski, 相島 雅樹, 磯谷 拓也, 反中 望, 松村 草也
初めてのSQL 第3版

初めてのSQL 第3版

Alan Beaulieu, 株式会社クイープ
パフォーマンス向上のためのデザイン設計

パフォーマンス向上のためのデザイン設計

Lara Callender Hogan, 西脇 靖紘, 星野 靖子

Publisher Resources

ISBN: 9784814400027Other