Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-architecture]

The tag has no usage guidance.

-5
votes
1answer
57 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 ...
10
votes
2answers
829 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
0answers
20 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 ...
0
votes
0answers
21 views

CMS add-on installation/activation system design to handle errors

I'm creating my own CMS (just for fun). I came to the point of handling add-ons (themes and plugins). An add-on has 4 available functions (defined by the add-on developer) for the CMS to use on it: ...
45
votes
11answers
11k 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
1answer
129 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/...
2
votes
2answers
623 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 ...
0
votes
0answers
67 views

How to recreate objects deleted reactively in an undo-redo operation ?

I am writing an extension plug-in for software X, for which I can't modify the source. My plug-in creates a new window, and for a certain set of objects Foo in software X, I create mirror objects ...
2
votes
0answers
222 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 ...
1
vote
0answers
35 views

Can a message broker be used with a hook, extension point, or plugin design?

When designing a plugin system with publishers and subscribers, is it possible to have a message broker be the manager of the "extension point"? For example, if I wrote a program and it had a hook ...
4
votes
4answers
443 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 ...
2
votes
0answers
85 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 ...
1
vote
0answers
202 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
1answer
121 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 ...
1
vote
0answers
102 views

WCF Windows Service with plugin pattern, accessing several webservices and a database

I'm redesigning a WCF Windows Service (InstanceContextMode.Single) which was created by an external supplier, while it was super urgent and when there wasn't really much time to design the software. ...
2
votes
2answers
219 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 (...
0
votes
0answers
221 views

Designing a plugin-based platform - control vs. functionality

TL;DR I want to build a host application/framework for plugins. On the one hand I want to enable plugins to do anything and on the other hand I want to have control over them. Background I'd like ...
1
vote
1answer
980 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 ...
6
votes
1answer
2k 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
1answer
330 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 ...
2
votes
1answer
646 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
0answers
131 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
2answers
101 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
1answer
87 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
3answers
586 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
1answer
200 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
3answers
3k 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
1answer
304 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
1answer
397 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 ...
3
votes
2answers
9k 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 ...
3
votes
0answers
96 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
1answer
349 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 ...
2
votes
3answers
4k 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 ...