SlideShare a Scribd company logo
1 of 9
Download to read offline
Confidential Customized for Lorem Ipsum LLC Version 1.0
Leverage library thesis
Hoa Nguyen (Rin)
in Architecture
Front-end Developer
Agenda
01
What is Nx?
Next generation build system with
first class monorepo support and
powerful integrations
02
Angular State
Angular latest version tends to
remove NgModule entirely
03
What is the problem?
No official documentation for project structure.
ch-web-frontend “Spaghetti” structure
04
Refactoring Demo
Demo refactoring wallet feature
05
Tips & Discussion
My thought about respective library
type of Angular common concepts
What is ?
nx.dev - Smart, Fast and Extensible Build System
First class monorepo support and powerful integrations.
Powerful
Command ine
Code Editor
Integration
Visualize
Architecture
Caching
Mechanism
Awesome monorepo
documentation
🤩
Angular State
● Officially expose Standalone APIs and move away from NgModule
● Directive composition API
● Better stack traces
● Improvements in the experimental esbuild support
● Release MDC-based components to stable
● And more for better DX and performance
🚀v15
✅
What is the problem?
● No official document for detail structuring app.
● Face with “spaghetti” project structure
Questions:
🧐 How do you know which one is page or component?
🧐 Can we apply Nx library thesis into this module?
Refactoring Demo
Talk is cheap, show me code 🤪
Tips & Discussion
feature ui utility
data-access
Component as Page Comp as Section
Comp as shared UI
route config
guards folder
Comp as Dialog
Store
API TypeScript Model
constants folder
API services
directives folder
pipes folder
References 📒
● https://nx.dev/more-concepts
● https://blog.angular.io/angular-v15-is-now-available-df7be7f2f4c8
More presentation is coming if you love 🫰
● How to structure an UI component library?
● How many ways to manage Angular State?
Leverage library thesis
Hoa Nguyen (Rin)
in Architecture
Front-end Developer
Thank you!

More Related Content

Similar to Leverage Nx Library thesis in Angular Architecture

10265 developing data access solutions with microsoft visual studio 2010
10265 developing data access solutions with microsoft visual studio 201010265 developing data access solutions with microsoft visual studio 2010
10265 developing data access solutions with microsoft visual studio 2010
bestip
 

Similar to Leverage Nx Library thesis in Angular Architecture (20)

AngularJS Vs ReactJS_ What’s The Difference_.pdf
AngularJS Vs ReactJS_  What’s The Difference_.pdfAngularJS Vs ReactJS_  What’s The Difference_.pdf
AngularJS Vs ReactJS_ What’s The Difference_.pdf
 
Lightning Web Components
Lightning Web ComponentsLightning Web Components
Lightning Web Components
 
Lightning Web Components by Abdul Gafoor
Lightning Web Components by Abdul GafoorLightning Web Components by Abdul Gafoor
Lightning Web Components by Abdul Gafoor
 
Entity Framework Core 1.0
Entity Framework Core 1.0Entity Framework Core 1.0
Entity Framework Core 1.0
 
Angular vs react comparison in 2022 which is better and why
Angular vs react comparison in 2022 which is better and whyAngular vs react comparison in 2022 which is better and why
Angular vs react comparison in 2022 which is better and why
 
10265 developing data access solutions with microsoft visual studio 2010
10265 developing data access solutions with microsoft visual studio 201010265 developing data access solutions with microsoft visual studio 2010
10265 developing data access solutions with microsoft visual studio 2010
 
React vs laravel
React vs laravelReact vs laravel
React vs laravel
 
React vs Angular - Which is best JS Framework for Front-end Development
React vs Angular - Which is best JS Framework for Front-end DevelopmentReact vs Angular - Which is best JS Framework for Front-end Development
React vs Angular - Which is best JS Framework for Front-end Development
 
React VS Angular- Which is Best for You in 2023?
 React VS Angular- Which is Best for You in 2023? React VS Angular- Which is Best for You in 2023?
React VS Angular- Which is Best for You in 2023?
 
Laravel vs Codeigniter, Which is Better PHP Framework_.pptx
Laravel vs Codeigniter, Which is Better PHP Framework_.pptxLaravel vs Codeigniter, Which is Better PHP Framework_.pptx
Laravel vs Codeigniter, Which is Better PHP Framework_.pptx
 
Javascript frameworks
Javascript frameworksJavascript frameworks
Javascript frameworks
 
Gaganjot Kaur- The Nx Workspace.docx
Gaganjot Kaur- The Nx Workspace.docxGaganjot Kaur- The Nx Workspace.docx
Gaganjot Kaur- The Nx Workspace.docx
 
Telerik Kendo UI vs. AngularJS
Telerik Kendo UI vs. AngularJSTelerik Kendo UI vs. AngularJS
Telerik Kendo UI vs. AngularJS
 
Comparison Between React Vs Angular.pdf
Comparison Between React Vs Angular.pdfComparison Between React Vs Angular.pdf
Comparison Between React Vs Angular.pdf
 
Angular vs.pdf
Angular vs.pdfAngular vs.pdf
Angular vs.pdf
 
How to Become a MERN Stack Developer_.pptx
How to Become a MERN Stack Developer_.pptxHow to Become a MERN Stack Developer_.pptx
How to Become a MERN Stack Developer_.pptx
 
Boilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development ProcessBoilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development Process
 
React.js vs angular.js a comparison
React.js vs angular.js a comparisonReact.js vs angular.js a comparison
React.js vs angular.js a comparison
 
Comparing AngularJS and ReactJS_ Finding the Best Framework for your Next Pro...
Comparing AngularJS and ReactJS_ Finding the Best Framework for your Next Pro...Comparing AngularJS and ReactJS_ Finding the Best Framework for your Next Pro...
Comparing AngularJS and ReactJS_ Finding the Best Framework for your Next Pro...
 
Angular vs React vs Vue
Angular vs React vs VueAngular vs React vs Vue
Angular vs React vs Vue
 

Recently uploaded

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Recently uploaded (20)

WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
 
Novo Nordisk: When Knowledge Graphs meet LLMs
Novo Nordisk: When Knowledge Graphs meet LLMsNovo Nordisk: When Knowledge Graphs meet LLMs
Novo Nordisk: When Knowledge Graphs meet LLMs
 
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million PeopleWSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration ToolingWSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration Tooling
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 

Leverage Nx Library thesis in Angular Architecture

  • 1. Confidential Customized for Lorem Ipsum LLC Version 1.0 Leverage library thesis Hoa Nguyen (Rin) in Architecture Front-end Developer
  • 2. Agenda 01 What is Nx? Next generation build system with first class monorepo support and powerful integrations 02 Angular State Angular latest version tends to remove NgModule entirely 03 What is the problem? No official documentation for project structure. ch-web-frontend “Spaghetti” structure 04 Refactoring Demo Demo refactoring wallet feature 05 Tips & Discussion My thought about respective library type of Angular common concepts
  • 3. What is ? nx.dev - Smart, Fast and Extensible Build System First class monorepo support and powerful integrations. Powerful Command ine Code Editor Integration Visualize Architecture Caching Mechanism Awesome monorepo documentation 🤩
  • 4. Angular State ● Officially expose Standalone APIs and move away from NgModule ● Directive composition API ● Better stack traces ● Improvements in the experimental esbuild support ● Release MDC-based components to stable ● And more for better DX and performance 🚀v15 ✅
  • 5. What is the problem? ● No official document for detail structuring app. ● Face with “spaghetti” project structure Questions: 🧐 How do you know which one is page or component? 🧐 Can we apply Nx library thesis into this module?
  • 6. Refactoring Demo Talk is cheap, show me code 🤪
  • 7. Tips & Discussion feature ui utility data-access Component as Page Comp as Section Comp as shared UI route config guards folder Comp as Dialog Store API TypeScript Model constants folder API services directives folder pipes folder
  • 8. References 📒 ● https://nx.dev/more-concepts ● https://blog.angular.io/angular-v15-is-now-available-df7be7f2f4c8 More presentation is coming if you love 🫰 ● How to structure an UI component library? ● How many ways to manage Angular State?
  • 9. Leverage library thesis Hoa Nguyen (Rin) in Architecture Front-end Developer Thank you!