SlideShare a Scribd company logo
1 of 9
Module
Root Component
User Info Card Component
User Info
Component
User Document
Component
User Contact
Component
User Document View
Component
User Contact View Component
The Angular module is represented as orange box. This
module acts as a container for organizing related
components, services, and other resources. It serves
as a cohesive unit within our application.​
User Contact Service
User Document Service
User Info Service
Root Component
• In our application, we have a powerful Root
(Bootstrap) component represented by an orange
box, which serves as a versatile container. It
provides structured layout and styling to enhance
the visual presentation of our content.
• The service providers, depicted as yellow boxes,
play a crucial role in offering important
functionalities that can be accessed and utilized by
multiple components within our application.
• By sharing these service providers through the
Root component using view providers, we ensure
consistent and efficient data management and
communication. The child components of the Root
can easily access and interact with these shared
services, eliminating the need for redundant code
or unnecessary data duplication.
User Contact Service
User Document Service
User Info Service
Root Component
User
Info Card Component
User Info
Component
User Document
Component
User Contact
Component
• Now that we've designated these services as
view providers for the Root component, the
child components will have access to them.
• Please note that the view providers can be
assigned to any component other than the
Root component. We assign them to the
component's view to enable the sharing of the
same service instances with the child
components.
User Contact Service
User Document Service
User Info Service
Root Component
• User Info Service: This service is responsible for
displaying user information such as first name, last
name, and birthdate.
• User Contact Service: This service handles the
management and display of user contacts.
• User Document Service: This service manages and
displays user documents or valid IDs.
User Contact Service
User Document Service
User Info Service
Root Component
User
Info Card Component
User Info
Component
User Document
Component
User Contact
Component
• Now, let's shift our focus to the four child
components nested within the Root
component. Each of these child components
has a specific role and contributes to different
functionalities within our application.
• User Info Card Component: This component
provides a quick view of the user. It utilizes
three service providers to display the user's
name, birthday, and the number of contacts
and documents they have.
• User Document Component: This component
utilizes the User Document Service to update
only the list of documents or valid IDs
associated with the user.
• User Document View Component:
This component utilizes the User
Document Service to retrieve only the list
of documents or valid IDs associated with
the user.
User Contact Service
User Document Service
User Info Service
Root Component
User
Info Card Component
User Info
Component
User Document
Component
User Contact
Component
User Document View
Component
• User Contact Component: This component
utilizes the User Contact Service to update only
the list of contacts associated with the user.
• User Contact View Component:
This component uses the User Contact
Service to retrieve only the list of available
contacts for the user.
User Contact Service
User Document Service
User Info Service
Root Component
User
Info Card Component
User Info
Component
User Document
Component
User Contact
Component
User Contact View
Component
• User Info Component: This component
provides a comprehensive view of the
user's information, contacts, and
documents. It primarily utilizes the User
Info Service to display the user's first name,
last name, and birthday. Additionally, it
contains child components responsible for
rendering the complete view of the user's
documents and contacts.
• User Document View Component: This
component utilizes the User Document
Service to retrieve only the list of
documents or valid IDs associated with the
user.
• User Contact View Component: This
component uses the User Contact Service
to retrieve only the list of available contacts
for the user.
User Contact Service
User
Document Service
User Info Service
Root Component
User
Info Card Component
User Info
Component
User Document
Component
User Contact
Component
User Contact View
Component
User Document View
Component
• Finally, here is the complete structure of
our application. Notice how we have
shared the three service providers
through the Root component, allowing
the components to operate
independently with their respective
functionalities and behaviors.
• Additionally, we have leveraged code
reuse by implementing functionalities
such as the list view of user documents
and contacts.
User Contact Service
User
Document Service
User Info Service
Root Component
User
Info Card Component
User Info
Component
User Document
Component
User Contact
Component
User Contact View
Component
User Document View
Component

More Related Content

Similar to Stateful Data Binding.pptx

Grant Document Sample
Grant Document SampleGrant Document Sample
Grant Document Sample
Cecilia Roche
 
Synergy My Account Design_3
Synergy My Account Design_3Synergy My Account Design_3
Synergy My Account Design_3
Martin O'Donnell
 

Similar to Stateful Data Binding.pptx (20)

numérique reports MiniProjet pour setram
numérique reports MiniProjet pour setramnumérique reports MiniProjet pour setram
numérique reports MiniProjet pour setram
 
On-Demand Home Service App Development Cost & Key Features
On-Demand Home Service App Development Cost & Key FeaturesOn-Demand Home Service App Development Cost & Key Features
On-Demand Home Service App Development Cost & Key Features
 
HMRS - Human Resource Management System (VB.Net)
HMRS - Human Resource Management System (VB.Net)HMRS - Human Resource Management System (VB.Net)
HMRS - Human Resource Management System (VB.Net)
 
Mobile based online tv guide
Mobile based online tv guideMobile based online tv guide
Mobile based online tv guide
 
Mobile based online tv guide
Mobile based online tv guideMobile based online tv guide
Mobile based online tv guide
 
Grant Document Sample
Grant Document SampleGrant Document Sample
Grant Document Sample
 
online national polling
online national pollingonline national polling
online national polling
 
On Demand Home Service App Development Cost & Key Features.pdf
On Demand Home Service App Development Cost & Key Features.pdfOn Demand Home Service App Development Cost & Key Features.pdf
On Demand Home Service App Development Cost & Key Features.pdf
 
Basics 4
Basics   4Basics   4
Basics 4
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
 
SMART ASSIST SERVICE AT YOUR DOOR STEPS
SMART ASSIST SERVICE AT YOUR DOOR STEPSSMART ASSIST SERVICE AT YOUR DOOR STEPS
SMART ASSIST SERVICE AT YOUR DOOR STEPS
 
Service Desk Fulfiller Training.pptx
Service Desk Fulfiller Training.pptxService Desk Fulfiller Training.pptx
Service Desk Fulfiller Training.pptx
 
Online vehicle service center management system project report
Online vehicle service center management system project reportOnline vehicle service center management system project report
Online vehicle service center management system project report
 
Local Service Search Engine Management System LSSEMS
Local Service Search Engine Management System LSSEMSLocal Service Search Engine Management System LSSEMS
Local Service Search Engine Management System LSSEMS
 
Final Poster C4 G
Final Poster C4 GFinal Poster C4 G
Final Poster C4 G
 
Constraint Aware Dynamic Web Service Composition for A Specific Business Requ...
Constraint Aware Dynamic Web Service Composition for A Specific Business Requ...Constraint Aware Dynamic Web Service Composition for A Specific Business Requ...
Constraint Aware Dynamic Web Service Composition for A Specific Business Requ...
 
human computer interaction of movie booking system project
human computer interaction of movie booking system projecthuman computer interaction of movie booking system project
human computer interaction of movie booking system project
 
Soa chapter 5
Soa chapter 5Soa chapter 5
Soa chapter 5
 
Synergy My Account Design_3
Synergy My Account Design_3Synergy My Account Design_3
Synergy My Account Design_3
 
Salesforce Miami User Group Event - WrapUp
Salesforce Miami User Group Event - WrapUpSalesforce Miami User Group Event - WrapUp
Salesforce Miami User Group Event - WrapUp
 

Recently uploaded

Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Marc Lester
 

Recently uploaded (20)

Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In soweto
^Clinic ^%[+27788225528*Abortion Pills For Sale In soweto^Clinic ^%[+27788225528*Abortion Pills For Sale In soweto
^Clinic ^%[+27788225528*Abortion Pills For Sale In soweto
 
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
 
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4jGraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale IbridaUNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
 
Transformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with LinksTransformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with Links
 
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
 
What is a Recruitment Management Software?
What is a Recruitment Management Software?What is a Recruitment Management Software?
What is a Recruitment Management Software?
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST API
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
Test Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdfTest Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdf
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
Abortion Pill Prices Germiston ](+27832195400*)[ 🏥 Women's Abortion Clinic in...
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
 

Stateful Data Binding.pptx

  • 1. Module Root Component User Info Card Component User Info Component User Document Component User Contact Component User Document View Component User Contact View Component The Angular module is represented as orange box. This module acts as a container for organizing related components, services, and other resources. It serves as a cohesive unit within our application.​
  • 2. User Contact Service User Document Service User Info Service Root Component • In our application, we have a powerful Root (Bootstrap) component represented by an orange box, which serves as a versatile container. It provides structured layout and styling to enhance the visual presentation of our content. • The service providers, depicted as yellow boxes, play a crucial role in offering important functionalities that can be accessed and utilized by multiple components within our application. • By sharing these service providers through the Root component using view providers, we ensure consistent and efficient data management and communication. The child components of the Root can easily access and interact with these shared services, eliminating the need for redundant code or unnecessary data duplication.
  • 3. User Contact Service User Document Service User Info Service Root Component User Info Card Component User Info Component User Document Component User Contact Component • Now that we've designated these services as view providers for the Root component, the child components will have access to them. • Please note that the view providers can be assigned to any component other than the Root component. We assign them to the component's view to enable the sharing of the same service instances with the child components.
  • 4. User Contact Service User Document Service User Info Service Root Component • User Info Service: This service is responsible for displaying user information such as first name, last name, and birthdate. • User Contact Service: This service handles the management and display of user contacts. • User Document Service: This service manages and displays user documents or valid IDs.
  • 5. User Contact Service User Document Service User Info Service Root Component User Info Card Component User Info Component User Document Component User Contact Component • Now, let's shift our focus to the four child components nested within the Root component. Each of these child components has a specific role and contributes to different functionalities within our application. • User Info Card Component: This component provides a quick view of the user. It utilizes three service providers to display the user's name, birthday, and the number of contacts and documents they have.
  • 6. • User Document Component: This component utilizes the User Document Service to update only the list of documents or valid IDs associated with the user. • User Document View Component: This component utilizes the User Document Service to retrieve only the list of documents or valid IDs associated with the user. User Contact Service User Document Service User Info Service Root Component User Info Card Component User Info Component User Document Component User Contact Component User Document View Component
  • 7. • User Contact Component: This component utilizes the User Contact Service to update only the list of contacts associated with the user. • User Contact View Component: This component uses the User Contact Service to retrieve only the list of available contacts for the user. User Contact Service User Document Service User Info Service Root Component User Info Card Component User Info Component User Document Component User Contact Component User Contact View Component
  • 8. • User Info Component: This component provides a comprehensive view of the user's information, contacts, and documents. It primarily utilizes the User Info Service to display the user's first name, last name, and birthday. Additionally, it contains child components responsible for rendering the complete view of the user's documents and contacts. • User Document View Component: This component utilizes the User Document Service to retrieve only the list of documents or valid IDs associated with the user. • User Contact View Component: This component uses the User Contact Service to retrieve only the list of available contacts for the user. User Contact Service User Document Service User Info Service Root Component User Info Card Component User Info Component User Document Component User Contact Component User Contact View Component User Document View Component
  • 9. • Finally, here is the complete structure of our application. Notice how we have shared the three service providers through the Root component, allowing the components to operate independently with their respective functionalities and behaviors. • Additionally, we have leveraged code reuse by implementing functionalities such as the list view of user documents and contacts. User Contact Service User Document Service User Info Service Root Component User Info Card Component User Info Component User Document Component User Contact Component User Contact View Component User Document View Component