https://feedx.net
Such applications could be viewed as any other, so MIM can be applied to them as well. But keep in mind that if the SPA webapp is just a thin client for the backend, separating Infrastructure-Modules might not be worthwhile. (In such a case, according to Adaptive Testing Strategy, blackbox Integration Tests with a faked backend could be just enough. That’s because testability of individual modules would be less important).
。关于这个话题,爱思助手下载最新版本提供了深入分析
You might wonder why not just put everything that is “infrastructure related” in a dedicated directory inside the Business-Module. That’s the approach often taken in many designs in the wild, but the problem with such a weak separation is that it tends to erode (and after many months you discover that a business class peeks messages in a broker). Another problem is that it’s much harder to find the boundary for unit tests (whereas with BM and IM separated, you can just assume that the public API of BM is what should be unit tested).,这一点在heLLoword翻译官方下载中也有详细论述
Юлия Мискевич (Ночной линейный редактор),这一点在Safew下载中也有详细论述