Questions tagged [plugin-architecture]

41 questions
45
votes
11 answers

What does Robert C. Martin mean by SQL being unnecessary?

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 random articles describing the difference of SQL…
25
votes
2 answers

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 Model-View-ViewModel (MVVM) design pattern or is…
Fearnbuster
  • 401
  • 1
  • 4
  • 11
7
votes
2 answers

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 new use. This new code will be called from an…
Walls
  • 233
  • 3
  • 10
5
votes
2 answers

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 but since I don't want to rule out any languages…
5
votes
2 answers

Where to start when designing an application that allows plugins

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 scripting language, or is it better to require…
ryandawkins
  • 209
  • 1
  • 2
  • 4
4
votes
3 answers

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://jenkins.io/doc/book/managing/plugins/ - which does it…
4
votes
4 answers

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 the same base class) are instantiated. My goal…
Chris
  • 149
  • 4
4
votes
3 answers

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 library projects. These classes provide all sorts of…
Andrew Stephens
  • 1,105
  • 11
  • 19
4
votes
0 answers

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, sandboxed, and the ability to launch an arbitrary number…
Tyler Scott
  • 151
  • 3
4
votes
1 answer

Dangers when implementing features as plugins

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 can be moved into plugins, allowing them to be…
3
votes
0 answers

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 separate project calling ExternalService 2 …
3
votes
0 answers

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 directory. Then, the program would load the classes at…
3
votes
1 answer

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 it can be unclear when looking at a bit of code…
3
votes
3 answers

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 code because you can dynamically load classes from…
Tulains Córdova
  • 39,201
  • 12
  • 97
  • 154
2
votes
2 answers

Plugin system for app with microservice architecture

Long story short: I would like to create a plugin system for my microservice architectured app. so we can allow our customers to install their plugins. (something like a plugin system on wordpress|...) Each plugin: Receives pre/post hooks for every…
1
2 3