跳转到主要内容

【Angular架构】成为一名Angular架构师需要掌握的6个概念

每个Angular开发人员都应该深入探索六个概念,以便掌握Angular并设计出架构良好的应用程序。

 

Angular是最大的框架之一:它提供了很多开箱即用的功能,这意味着从上到下有很多概念可以掌握。

我认为每个Angular开发人员都应该深入探索六个特定的概念,以便掌握Angular并能够熟练地编写架构良好的应用程序。

不,知道它的源代码并不是我所需要的——尽管我个人不得不在少数情况下进行探索。

一种云组件中心架构

像Bit.dev这样的云组件中心通常用于发布、记录和组织Angular组件。我们使用它们来最大限度地重用代码,并构建可扩展的应用程序。

正如您在这篇文章中所看到的,一个好的Angular体系结构可以确保我们的代码库以一种能够在存储库中和跨存储库轻松共享和重用组件的方式构建。

 

【Angular】停止在Angular中使用共享模块

I have work with Angular framework in 3 software companies. In the first days at each company, my task was to read the source code then all 3 times I had to say “What the hell with SharedModule”. They declared shared components, pipes, directives, Material UI module then import SharedModule where feature module need one of them, that’s too bad. So why?

Noted: From Angular 14, we have standard alone that has same idea with SCAM I will mention bellow.