Questions tagged [plugin-architecture]

Plugin architecture is an approach to creating software that allows adding additional functionality at configuration or even run-time by adding so called "plug-in"s . Each plug-in is capable to add customized capabilities to the base software. Often plugins are available via a public repository for download or even direct installation from the base software.

Links

Typical Plugin frameworks

Java

C

61 questions
178
votes
9 answers

How To Create a Flexible Plug-In Architecture?

A repeating theme in my development work has been the use of or creation of an in-house plug-in architecture. I've seen it approached many ways - configuration files (XML, .conf, and so on), inheritance frameworks, database information, libraries,…
justkt
  • 14,610
  • 8
  • 42
  • 62
154
votes
8 answers

Best way to build a Plugin system with Java

How would you implement a Plugin-system for your Java application? Is it possible to have an easy to use (for the developer) system which achieves the following: Users put their plugins into a subdirectory of the app The Plugin can provide a…
75
votes
7 answers

The view must derive from WebViewPage, or WebViewPage

I'm following Justin Slattery's Plugin Architecture tutorial and trying to adapt it for Razor, instead of WebForm Views. Everything else (controllers, plugin assembly loading, etc) seems to be okay. However, I'm not able to get embedded Razor views…
Nasir
  • 10,935
  • 8
  • 31
  • 39
64
votes
3 answers

Java plugin framework choice

We're trying to determine how to implement a simple plugin framework for a service we are implementing that allows different types of calculators to be "plugged-in". After reading a number of posts about Java plugin frameworks, it seems like the…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
41
votes
6 answers

How to create a pluginable Java program?

I want to create a Java program that can be extended with plugins. How can I do that and where should I look for? I have a set of interfaces that the plugin must implement, and it should be in a jar. The program should watch for new jars in a…
pek
  • 17,847
  • 28
  • 86
  • 99
17
votes
3 answers

Implementing plugin architecture in annotation based Spring Boot Application

I want to implement plugin architecture in Spring Boot application. Let me explain my scenario. I have a main application, which starts the server, manages security, etc. The app is like the root of my final product which will include this root app…
yuva
  • 3,108
  • 4
  • 20
  • 35
16
votes
4 answers

Building a Plugin Architecture with Adobe AIR

I'm thinking of choosing Adobe AIR as the client-side implementation technology for an upcoming project. (The previous choice was C# and WPF, but I've been really impressed with Flash/Flex/AIR lately.) But one of the most important features of my…
benjismith
  • 16,559
  • 9
  • 57
  • 80
12
votes
1 answer

Golang events: EventEmitter / dispatcher for plugin architecture

In Node.js I was able to make a WordPress clone rather easily using the EventEmitter to replicate and build a hooks-system into the CMS core, which plugins could then attach to. I now need this same level of extensibility and core isolation for my…
Dac0d3r
  • 2,176
  • 6
  • 40
  • 76
11
votes
1 answer

Dynamically load modules with Webpack using Typescript

I'm trying to build a web app which supports plugins, the environment is Angular 2 (so far), Typescript 2.1 and Webpack 2. I have some extension points (slots) where plugins can draw their content in: basically I have a component which is capable of…
9
votes
1 answer

Angular App dynamically load plugin without recompile

I'm trying to develop the frontend of my Web Api (NET CORE) pluginable application. I would like to use Angular 9 but im not an expert in angular. My backend was designed to be extensible and at startup it watches in a specified folder and if exists…
9
votes
2 answers

Create a plugin, expose events

How do I expose events to my plugin users? I know that I should use: $('#myPluginDiv').trigger('eventName', ["foo", "bar"]); to trigger the event but I'm looking for best practices describing how to declare and invoke events in plugins.
jgauffin
  • 99,844
  • 45
  • 235
  • 372
8
votes
6 answers

C# DLL's plugin-architecture

I have a program that i developed to use a basic plugin architecture. Effectively, when the program loads it uses reflection to search the directory for dll's that fit a certain interface and then loads them. It now appears that the current list of…
Darren Young
  • 10,972
  • 36
  • 91
  • 150
7
votes
2 answers

How do I have plugin architecture in Ruby on Rails?

I have to built a social networking site on Ruby on Rails. The features in the site may change from time to time; so we will need to add/remove features with ease. Moreover, we may be building another social networking site. Due to these reasons, we…
6
votes
1 answer

Getting the Razor templates in a class library

I got a plugin based architecture (using areas) in my solution which works fine. The problem is that the plugin projects are class libraries and the Add View wizard is therefore not visible when I right-click on the views folder. Are there a way to…
jgauffin
  • 99,844
  • 45
  • 235
  • 372
6
votes
2 answers

How to Plugin Web Pages dynamically in ASP .NET (and update the plugin)?

For regular assemblies one can use MEF to load assemblies dynamically. If a live update is required of those assemblies, the recommendation is to use AppDomains to host the dynamic assemblies (potentially one can use Managed Add-in Framework (MAF)).…
Mark
  • 5,223
  • 11
  • 51
  • 81
1
2 3 4 5