Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illustrate the handshake between an application and a component #5337

Open
bajtos opened this issue May 5, 2020 · 2 comments
Open

Illustrate the handshake between an application and a component #5337

bajtos opened this issue May 5, 2020 · 2 comments

Comments

@bajtos
Copy link
Member

bajtos commented May 5, 2020

This is a follow-up for #5337 and #5122 (comment) in particular.

Create a diagram to show the handshake between an application and a component as well as typical artifacts exported from a component.

Add the diagram to our docs for component authors, e.g.

@bajtos
Copy link
Member Author

bajtos commented May 5, 2020

We already have few diagrams in existing component-related pages, make sure to review those diagrams first.

@jannyHou
Copy link
Contributor

Outline:

  • configure it before mounting it to app
  • component injects the application itself
  • component is a collection of bindings to be added to app
  • component is an observer with start/stop
  • it can register some booters to be booted as the component lifecycle

We can pick an existing component and add diagram there. https://github.com/strongloop/loopback-next/tree/master/extensions

@dhmlau dhmlau removed the 2020Q3 label Sep 11, 2020
@stale stale bot added the stale label Sep 27, 2021
@loopbackio loopbackio deleted a comment from stale bot Sep 27, 2021
@stale stale bot removed the stale label Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants