SlideShare a Scribd company logo
Delete Engine
Module
Root App
Module
Car
Component
Car Store
Component
Car Warehouse
Component
Car API
Service
Car Store
API Service
Car Warehouse
API Service
Delete
Engine Service
Delete
Engine Component
Delete
Engine Component
Delete
Engine Component
• First, we will create a Delete
Engine Module
• Then we will import it into the
Root App Module
Delete Engine
Module
Root App
Module
Car
Component
Car Store
Component
Car Warehouse
Component
Car API
Service
Car Store
API Service
Car Warehouse
API Service
Delete
Engine Service
Delete
Engine Component
Delete
Engine Component
Delete
Engine Component
• The next step is to create three
different classes of API Service
a. Car API Service
b. Car Store API Service
c. Car Warehouse API Service
Delete Engine
Module
Root App
Module
Car
Component
Car Store
Component
Car Warehouse
Component
Car API
Service
Car Store
API Service
Car Warehouse
API Service
Delete
Engine Service
Delete
Engine Component
Delete
Engine Component
Delete
Engine Component
• Ensure the three API Service
classes are extended to the Delete
Engine Service class
• The Delete Engine Service class
serves as the generic API Service
provider or wrapper of any API
Resource Service class that can be
used in any component that needs
a deletion of a resource
Delete Engine
Module
Root App
Module
Car
Component
Car Store
Component
Car Warehouse
Component
Car API
Service
Car Store
API Service
Car Warehouse
API Service
Delete
Engine Service
Delete
Engine Component
Delete
Engine Component
Delete
Engine Component
• The next step is to provide the
Delete Engine Service class in the
following components
a. Car Component
b. Car Store Component
c. Car Warehouse Component
Delete Engine
Module
Root App
Module
Car
Component
Car Store
Component
Car Warehouse
Component
Car API
Service
Car Store
API Service
Car Warehouse
API Service
Delete
Engine Service
Delete
Engine Component
Delete
Engine Component
Delete
Engine Component
• We will provide the Car API
Service class directly to Car
Component. Why? We don't want
to expose this Car API Service in
other places that do not need this!
• Next is to provide the Delete
Engine Service class as a "View
Provider" of the source
component and then use the
existing API Service, which is the
Car API Service class
Delete Engine
Module
Root App
Module
Car
Component
Car Store
Component
Car Warehouse
Component
Car API
Service
Car Store
API Service
Car Warehouse
API Service
Delete
Engine Service
Delete
Engine Component
Delete
Engine Component
Delete
Engine Component
• The Delete Engine Service was
provided as a "View Provider"
because we want to share this
service with the child or view
component(s) of the source
component
• The Delete Engine Component
uses the Delete Engine Service
class to invoke the delete method
Delete Engine
Module
Root App
Module
Car
Component
Car Store
Component
Car Warehouse
Component
Car API
Service
Car Store
API Service
Car Warehouse
API Service
Delete
Engine Service
Delete
Engine Component
Delete
Engine Component
Delete
Engine Component
• This is the full structure of how we
build for flexibility in Angular by
using a reusable component

More Related Content

Similar to Reusable Component Structure.pptx

Taxi Booking Ondemand Business 2023.pptx
Taxi Booking Ondemand Business 2023.pptxTaxi Booking Ondemand Business 2023.pptx
Taxi Booking Ondemand Business 2023.pptx
Cubetaxi Technolabs
 
online pay and park system
online pay and park systemonline pay and park system
online pay and park system
Himanshu patel
 
Manually set up ALM accelerator for Power Platform components
Manually set up ALM accelerator for Power Platform componentsManually set up ALM accelerator for Power Platform components
Manually set up ALM accelerator for Power Platform components
faisal razzaq
 
Getting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulationGetting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulation
Upender Rawat
 
Azure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptxAzure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptx
pythagorus143
 
car showroom management project SE_!
car showroom management project SE_!car showroom management project SE_!
car showroom management project SE_!
Shoaib Ch
 
Use case
Use caseUse case
Use case
Zafar Ayub
 
Resolver in Angular
Resolver in AngularResolver in Angular
Resolver in Angular
Albiorix Technology
 
ClearMechanic Freemium Overview
ClearMechanic Freemium OverviewClearMechanic Freemium Overview
ClearMechanic Freemium Overview
bradsimmons09
 
AEM_eCommerce_integration_patterns
AEM_eCommerce_integration_patternsAEM_eCommerce_integration_patterns
AEM_eCommerce_integration_patterns
Gowrishankar V
 
Building blocks of Angular
Building blocks of AngularBuilding blocks of Angular
Building blocks of Angular
Knoldus Inc.
 
VPMS-PPT-wgubsa.pptx
VPMS-PPT-wgubsa.pptxVPMS-PPT-wgubsa.pptx
VPMS-PPT-wgubsa.pptx
MadanNR
 
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEMBuild single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
AdobeMarketingCloud
 
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEMBuild single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
connectwebex
 
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEMBuild single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
AdobeMarketingCloud
 
The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...
The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...
The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...
ParshantiniRoy
 
Scala Self Types by Gregor Heine, Principal Software Engineer at Gilt
Scala Self Types by Gregor Heine, Principal Software Engineer at GiltScala Self Types by Gregor Heine, Principal Software Engineer at Gilt
Scala Self Types by Gregor Heine, Principal Software Engineer at Gilt
Gilt Tech Talks
 
honda
honda honda
honda
Aman5252
 
Manage and consume the api
Manage and consume the apiManage and consume the api
Manage and consume the api
Achyuta Lakshmi Puvvala
 
Automation process -BMW case study
Automation process -BMW case studyAutomation process -BMW case study
Automation process -BMW case study
CALM-SUTRA
 

Similar to Reusable Component Structure.pptx (20)

Taxi Booking Ondemand Business 2023.pptx
Taxi Booking Ondemand Business 2023.pptxTaxi Booking Ondemand Business 2023.pptx
Taxi Booking Ondemand Business 2023.pptx
 
online pay and park system
online pay and park systemonline pay and park system
online pay and park system
 
Manually set up ALM accelerator for Power Platform components
Manually set up ALM accelerator for Power Platform componentsManually set up ALM accelerator for Power Platform components
Manually set up ALM accelerator for Power Platform components
 
Getting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulationGetting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulation
 
Azure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptxAzure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptx
 
car showroom management project SE_!
car showroom management project SE_!car showroom management project SE_!
car showroom management project SE_!
 
Use case
Use caseUse case
Use case
 
Resolver in Angular
Resolver in AngularResolver in Angular
Resolver in Angular
 
ClearMechanic Freemium Overview
ClearMechanic Freemium OverviewClearMechanic Freemium Overview
ClearMechanic Freemium Overview
 
AEM_eCommerce_integration_patterns
AEM_eCommerce_integration_patternsAEM_eCommerce_integration_patterns
AEM_eCommerce_integration_patterns
 
Building blocks of Angular
Building blocks of AngularBuilding blocks of Angular
Building blocks of Angular
 
VPMS-PPT-wgubsa.pptx
VPMS-PPT-wgubsa.pptxVPMS-PPT-wgubsa.pptx
VPMS-PPT-wgubsa.pptx
 
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEMBuild single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
 
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEMBuild single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
 
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEMBuild single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
 
The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...
The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...
The Ultimate Guide to Ad0 e904 adobe workfront core developer certified exper...
 
Scala Self Types by Gregor Heine, Principal Software Engineer at Gilt
Scala Self Types by Gregor Heine, Principal Software Engineer at GiltScala Self Types by Gregor Heine, Principal Software Engineer at Gilt
Scala Self Types by Gregor Heine, Principal Software Engineer at Gilt
 
honda
honda honda
honda
 
Manage and consume the api
Manage and consume the apiManage and consume the api
Manage and consume the api
 
Automation process -BMW case study
Automation process -BMW case studyAutomation process -BMW case study
Automation process -BMW case study
 

Recently uploaded

Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
Rakesh Kumar R
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
mz5nrf0n
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 

Recently uploaded (20)

Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 

Reusable Component Structure.pptx

  • 1. Delete Engine Module Root App Module Car Component Car Store Component Car Warehouse Component Car API Service Car Store API Service Car Warehouse API Service Delete Engine Service Delete Engine Component Delete Engine Component Delete Engine Component • First, we will create a Delete Engine Module • Then we will import it into the Root App Module
  • 2. Delete Engine Module Root App Module Car Component Car Store Component Car Warehouse Component Car API Service Car Store API Service Car Warehouse API Service Delete Engine Service Delete Engine Component Delete Engine Component Delete Engine Component • The next step is to create three different classes of API Service a. Car API Service b. Car Store API Service c. Car Warehouse API Service
  • 3. Delete Engine Module Root App Module Car Component Car Store Component Car Warehouse Component Car API Service Car Store API Service Car Warehouse API Service Delete Engine Service Delete Engine Component Delete Engine Component Delete Engine Component • Ensure the three API Service classes are extended to the Delete Engine Service class • The Delete Engine Service class serves as the generic API Service provider or wrapper of any API Resource Service class that can be used in any component that needs a deletion of a resource
  • 4. Delete Engine Module Root App Module Car Component Car Store Component Car Warehouse Component Car API Service Car Store API Service Car Warehouse API Service Delete Engine Service Delete Engine Component Delete Engine Component Delete Engine Component • The next step is to provide the Delete Engine Service class in the following components a. Car Component b. Car Store Component c. Car Warehouse Component
  • 5. Delete Engine Module Root App Module Car Component Car Store Component Car Warehouse Component Car API Service Car Store API Service Car Warehouse API Service Delete Engine Service Delete Engine Component Delete Engine Component Delete Engine Component • We will provide the Car API Service class directly to Car Component. Why? We don't want to expose this Car API Service in other places that do not need this! • Next is to provide the Delete Engine Service class as a "View Provider" of the source component and then use the existing API Service, which is the Car API Service class
  • 6. Delete Engine Module Root App Module Car Component Car Store Component Car Warehouse Component Car API Service Car Store API Service Car Warehouse API Service Delete Engine Service Delete Engine Component Delete Engine Component Delete Engine Component • The Delete Engine Service was provided as a "View Provider" because we want to share this service with the child or view component(s) of the source component • The Delete Engine Component uses the Delete Engine Service class to invoke the delete method
  • 7. Delete Engine Module Root App Module Car Component Car Store Component Car Warehouse Component Car API Service Car Store API Service Car Warehouse API Service Delete Engine Service Delete Engine Component Delete Engine Component Delete Engine Component • This is the full structure of how we build for flexibility in Angular by using a reusable component