question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement plugins mechanism

See original GitHub issue

We need to answer the following questions for implementing a mechanism that will register and load plugins in the main editor:

  1. What kind of instance a plugin should be.
  2. How to register a plugin.

There is a related question in SO https://stackoverflow.com/questions/44654508/angular-creating-plugins-for-3rd-party-packages-libraries.

Possible solutions could be:

  • forRoot: used by convention to configure a module’s providers
  • Component discovery and dynamically load (not so robust, needs a way to know the type of the actual plugin in order to load it)
  • A nice implementation from guys in ng-grid

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
stevermeistercommented, Mar 11, 2019

@bampakoa ok, I’ve implemented first version with an option to add config, please have a look

1reaction
stevermeistercommented, Jan 21, 2019

I mean took the best our of 3 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plug-in Architecture. and the story of the data pipeline…
The generic workflow, such as how the data flow inside the application is defined. But, the steps involved inside that workflow is up...
Read more >
Creating a Simple Plugin Mechanism - TechNet Articles
To solve this problem, a simple plugin mechanism is implemented that search and loads plugins from a predefined location.
Read more >
Build a Plugin System With Node.js - Fusebit
System Services: Extended functionalities from the system implemented via plugins. Plugin Manager: Manage the plugin's lifecycle.
Read more >
Plugin architecture
The Plugin architecture pattern consists of two types of architecture ... The core needs some way to know what plugins are connected and...
Read more >
Implementing a Plugin Architecture in a Python Application
This got me thinking about how to implement a plugin system in one of my own applications. Creating a plugin architecture? It sounded...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found