项目
在 GitHub 查看
DanWahlin/angular-architecture
关于
Angular 架构概念示例
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Angular Architecture
This code sample demonstrates different Angular Architecture concepts. It's used in the Angular Architecture and Best Practices video course on Pluralsight (https://www.pluralsight.com/courses/angular-architecture-best-practices) and in the Angular Architecture and Best Practices instructor-led training course (https://codewithdan.com/products/angular-architecture).
Running the Application
Install the Angular CLI:
npm install -g @angular/cliOpen the
demosfolder and runnpm installRun
ng serve -oin thedemosfolder to start the server and launch the app
Main Demos
| Name | Description |
|---|---|
| Communication | Show services and subjects to provide communication for components. |
| Component Inheritance | inheriting components |
| Features Modules | Example structure with NgModules |
| Http Client RxJS | RxJS to combine results with operators |
| Pipes and Functions | Pipes |
| Planning | Planning tips for your app |
| Signals | Simple Signals demo |
| Structuring Components | Component presentation with change detection |
| Subjects | Simple use of each Subject type |
| View Models | Progressive examples of where view models are useful |
Additional Demos
| Name | Description |
|---|---|
| Cloning | Run the project in the cloning folder |
| Input/Output Properties | Run the project in the input-output-demo project |
| Shared Library | Run the project in the shared-library-example project |
| State Management | Open the state-management folder and run any of the demos |
| State - DIY Store | Open the state-management/diy-store folder and start here with a simple "do it yourself" store with subjects and observables |
| State - NgRx | Open the state-management/ngrx folder |
| State - ngrx-data | Open the state-management/ngrx-data folder |
| State - Observable Store | Open the state-management/observable-store folder Observable Store library |
The Angular JumpStart Application
You can find an example of an application that follows the rules in this course at https://github.com/DanWahlin/Angular-JumpStart
探索相关项目
加载中…