Skip to Content
微前端设计与实现
book

微前端设计与实现

by Luca Mezzalira
August 2022
Beginner to intermediate
270 pages
7h 38m
Chinese
Posts & Telecom Press
Content preview from 微前端设计与实现
构建和部署微前端
129
6.3.3
 版本控制系统的未来
我们采用任何一种版本控制系统都无法得到完美的解决方案,只能是选择更适合业务的解
决方案。不过,我们可以尝试一种混合方式(图
6-3
,最大限度地利用上述两种方式的优
势,并将它们的缺陷最小化。因为微前端和微服务的理念是领域驱动设计,所以我们可以
根据子域和限界上下文进行划分,将特定子域里的所有项目绑定在一起。
我的项目
权限系统
登录微前端
注册微前端
认证服务
记住邮箱和密码的
服务
目录微前端
搜索服务
目录服务
个性化服务
监控
日志记录
设计系统
App shell
目录系统 公共代码
6-3:一种结合了 monorepo polyrepo 优势的混合仓库方案
6.4
 持续集成策略
在确定版本控制策略后,我们需要考虑持续集成策略,因为由公司内部的开发团队维护的
持续集成更高效。
时代变迁,万物变化。现在,包括前端在内的开发人员,都必须了解代码运行的基础设施
和工具,在稳定快速的流水线上构建代码已经是他们工作中的一部分。我曾经见过不少这
样的情况,团队将持续集成委托给公司的其他团队,而禁止开发人员对流水线进行更改,
结果开发人员将自动化流水线视为不可改变的黑盒,仅用于将产物部署到开发环境或生产
环境中。最近,多亏了
DevOps
文化在不同公司中的传播,这种情况才逐渐改善。
关于
DevOps
DevOps 是文化理念、实践和工具的结合,可以提升团队快速交付应用和提供服务的能
力。在 DevOps 模型中,开发团队和运维团队不再相互独立,有时他们会合并成一个
团队。团队中的工程师的工作要贯穿整个应用的生命周期 ...
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

Python语言及其应用(第2版)

Python语言及其应用(第2版)

Bill Lubanovic

Publisher Resources

ISBN: 9787115595089