Questions tagged [plugin-architecture]
The plugin-architecture tag has no usage guidance.
39
questions
-3
votes
1
answer
53
views
Best way make a complex libraries as a plugin with dependency inversion principle [closed]
For instance, if we have a complex library with many functionalities, how can we make this lib a plugin such that it can be replaced with another lib more easily.
The answer obviously is the ...
0
votes
1
answer
89
views
Clean Architecture - Support plugins that can add new entities? [closed]
I'm following Uncle Bob's clean architecture for my application.
However, I wish my application to be extensible via plugins. More specifically, I want the plugins to be able to add new entities and ...
1
vote
0
answers
116
views
How to isolate a Python script/plugin from the main Python program?
I want to have a Python application - complete in itself - that allows the user to extend it via scripting (or a plugin model) in Python. But I want the script/plugin to have an isolated environment (...
1
vote
0
answers
51
views
How does a framework manager, broker or coordinator class handle pluggable extensions and make them run?
I'm trying to understand if there is a manager/broker/coordinator class in frameworks and I hope so, but what possible ways are in a framework to make it run the pluggable extensions and what the term ...
0
votes
0
answers
78
views
Different approaches to plugin system
Having an application that defines a plugin API, I was wondering how (if possible at all) to achieve both stability and performance (see below for what that means) at the same time.
A plugin in my ...
2
votes
1
answer
42
views
How to allow for seamless upgrades from base/forked application?
I built a base/skeleton user-based web app. It just has sign up, log in, log out, forgot password, verify email address, etc. Now I can easily build user-based apps by developing on top of the base ...
3
votes
3
answers
2k
views
Is there an architecture pattern for "microservice as a plugin"?
Long story short - I would like to make a web application, solely for self-education purposes, that should allow user to add additional functionalities via plugins - just like Jenkins - https://...
2
votes
0
answers
91
views
How to design generic bug-tracker integration? [closed]
I'm looking for ideas on how to design a "generic" bug-tracker integration architecture for Kiwi TCMS (opensource test case management system).
Background: at the moment we support integration with ...
1
vote
0
answers
543
views
Plugins system for an Electron/React app
I'm developing a Electron/React app which uses Webpack and Asar technologies. It's designed to be a host app providing a common platform for some plugins. These plugins are downloaded and plugged into ...
2
votes
0
answers
393
views
Extensible / Plugin Architecture in Python - overwriting methods deep in the inheritance tree?
Current situation
I'm developing a test-framework in python for end-to-end tests for a large ERP application. The AUT (application under test = ERP system) is structured in modules and provides a lot ...
1
vote
1
answer
68
views
Developing an app extensible with standalone executable plugins
I am developing a desktop application (C++/Qt), which might be roughly represented as consisting of two parts - data-handling part and the GUI.
I want the data-handling part to be extensible with ...
-6
votes
1
answer
61
views
App vendor vs Plugin vendor - who's responsible for fix?
An app generates a PDF based on user entered data in text fields. Copying and pasting users can inadvertently end up pasting "tags" in the field. Eg -
<foo@bar.com>
The PDF generator plugin ...
22
votes
2
answers
9k
views
Clean Architecture: What is the View Model?
In his book 'Clean Architecture', Uncle Bob says that the Presenter should put the data that it receives into something he calls the 'View Model'.
Is this the same thing as the 'ViewModel' from the ...
0
votes
0
answers
36
views
Web application with plugins: how to transfer orders between plugins
This question is about the application's architecture and is thus language independent. Should it matter: I'm using python 3.6 and http.server.
Context and architecture
I'm writing a software that ...
45
votes
11
answers
13k
views
What does Robert C. Martin mean by SQL being unnecessary? [closed]
I've been reading/watching a lot of Robert C. Martin content. I've come across him saying SQL is unnecessary because of solid state drives. When I search other sources to back this up I get a bunch of ...
1
vote
1
answer
174
views
How to create a framework in Express.js
I'm trying to figure out how to create a Node.js/Express.js application that is a framework for hosting and running third-party code in my application, and what are the appropriate JavaScript/Node/...
5
votes
2
answers
2k
views
Making a language agnostic Plugin system
I want to make some software which relies heavily on Plugins. I plan on writing it in C++ and will most likely be getting plugins built in C++, Python and possibly Java But most likely C++ and python ...
3
votes
0
answers
400
views
How to separate data layer from business layer?
My current .NET project looks like below:
Solution (.sln)
--BusinessProject A (.proj)
--BusinessProject B (.proj)
--DataLayer (.proj)
--A separate project calling ExternalService 1 (folder)
--A ...
4
votes
4
answers
939
views
How to share dependent classes between a main app and plugins in Java?
Assume, I have a relatively large and complex application (100 MB .war file) with multiple dependencies. Some part of the code is defining an object factory, where similar objects (all inheriting from ...
3
votes
0
answers
191
views
Object oriented design of a plugin framework based on user defined classes?
I would like to design a plugin framework, but I have not been able to find an object oriented design that fits my objectives.
My broader design goal is for me to let users define classes in a ...
2
votes
0
answers
323
views
Dynamic assembly loading vs multiple executables
I have ecommerce webapplication, that can connect to multiple storage systems. Currently I am using nuget to deploy it.
I would like to split my application into parts (per storage system), because ...
2
votes
1
answer
167
views
How to architecture and expose an API for creating custom data filters?
This question is in the context of a server application - an API that feeds data to its clients.
Here is the obvious: if I have some data, I can search and filter on that data however I please. Let's ...
2
votes
2
answers
230
views
What should you replace an enumeration with if values are to be provided by plugins?
I'm working on a piece of software which generates configuration data for certain hardware and currently needs to be adapted each time the hardware is released in a new version by an external company (...
1
vote
1
answer
3k
views
Is using __import__('module_name') an antipattern in Python?
I'm currently refactoring a Python 2 project which includes the ability to add or remove plugins, which are Python modules implementing a given API.
The main app accesses add/remove/update hooks in ...
7
votes
2
answers
6k
views
How can I plugin new JARs implementing an interface dynamically?
Quick background: I am working on developing an interface that will be implemented by myself and other developers. This interface will allow users to "plugin" new functional code into a system for ...
2
votes
1
answer
417
views
Writing a programming api for an existing project? [closed]
I've an already existing project in C#. Now I should implement a plugin system. For this plugin system I've to implement a programming api/sdk. I dont want, that plugins have access to the assemblies ...
3
votes
1
answer
959
views
Struggling about the benefits of using a plugin approach in a Industrial Software Architecture [closed]
I'm trying to design an application, something quite generic over a .NET C# Stack.
It's supposed to be an desktop application intended to control industrial equipment and to perform measurements and ...
0
votes
0
answers
191
views
Architecture of an extendable application
I am developing an embedded application on an ARM platform. I want to use ArchLinux as the underlying operating system and then create my own GUI. I want the application to be extendable (have apps if ...
1
vote
2
answers
121
views
arbitrary data shared between plugins
I'm making a program that supports plugins. The program is being written in F#.
The program maintains a single object that represents the state of the program. When a plugin is invoked, it takes ...
1
vote
1
answer
123
views
How to separate different plugins with the same name
I'm writing the installation code of my modular web application and I stumbled on writing the update code for the plugins.
The problem I am having is: how do you know if the plugin is already ...
4
votes
3
answers
766
views
Plugin/modular architecture - deployment concerns
I'm developing a desktop application in .Net that follows a plugin architecture, something like this:-
I have a "core" .Net solution, containing the desktop exe project, and a handful of class ...
1
vote
1
answer
212
views
Would this be considered a plugin or template type architecture?
I would like to build a system that basically offers the option to make various APIs interchangeable for usage to the end user. For example, the person using the software would have the option of ...
1
vote
3
answers
4k
views
Pluggable UI Components in Java Web Applications
I will try to explain my question with an example. Let us say that we are writing a hotel reservation system which is web based using Java. We will have different payment methods, say Paypal, Master ...
2
votes
1
answer
309
views
How to allow multiple plugins to provide data for multiple aggregation processes?
I'm working on a Java project in which we want to have data collection plugins that collect data to be processed by one or more data aggregation modules. The plugins will all written in-house. Say for ...
3
votes
1
answer
441
views
Is there a term for this coding practice?
One of the incidental complexities of introducing features to an existing system is that the programmer often has to touch several areas of code that are not immediately adjacent. Over the long haul ...
5
votes
2
answers
11k
views
Where to start when designing an application that allows plugins [closed]
I'm building an application, and I'm thinking long-term I would like to be able to allow plugin support. The application I'm creating is a Java based application. How could I allow plugins using a ...
4
votes
0
answers
108
views
Is it possible to use PNaCl as a plugin framework?
I am looking to design an extremely modular game engine that allows for portable native plugins similar to the way PNaCl works with chrome. The biggest factors I need would be: cross platform, ...
4
votes
1
answer
372
views
Dangers when implementing features as plugins [closed]
What kind of problems have you encountered when building plugin interfaces for your application? And how did you resolve them?
Background
I want to refactor an application so that various features ...
3
votes
3
answers
7k
views
Avoid malicious code while dynamically loading classes with ClassLoader
Background
One of the advantages of decoupled components in systems is that you can extend the system without having to touch the existing code.
Sometimes you don't even have to recompile the old ...