Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Language neutral plugin architectures

I am looking at extending an existing application through the use of a plugin architecture. The application id written in Delphi, but I want to be able to implement various plugins in whatever language is best of the job. Currently we have skills in Delphi, C# and Java, and would like to be able to implement a plugin in whatever language is required.

Does anyone know of an example system that can be used to implement this ?

I am assuming that I could standardise on a particular COM interface and anything that implements that interface could be a plugin.

Does anyone have any pointers ?

Thanks

like image 915
mmmm Avatar asked Jun 01 '10 20:06

mmmm


People also ask

What is plugin based architecture?

A plug-in is a bundle that adds functionality to an application, called the host application, through some well-defined architecture for extensibility. This allows third-party developers to add functionality to an application without having access to the source code.

Are plugins Microservices?

Microservices are always a part of a larger distributed system whereas plugins are typically deployed on the same host often as dynamic modules inside the same process (even though for stability purposes modern applications prefer to run every plugin in a dedicated process).

What is the primary benefit of a plugin architecture?

The plug-in architecture offers the following advantages. Due to the separation of the customization code changes from default code, plug-ins can be used to extend functionality of MicroStrategy Web without the need to recompile or to add new functionality to MicroStrategy Web without requiring access to source code.

What are the roles of core and plugin in plugin architecture?

Plugins are beneficial, providing extensibility, flexibility, and isolation of application features and custom processing logic. The core system is often defined as the general business logic or bare minimum for the application to function.


1 Answers

Here is a good overview of a COM-based plugin system that works in both Delphi and C++Builder:

Implementing a Plug-in Framework

like image 116
Remy Lebeau Avatar answered Sep 29 '22 15:09

Remy Lebeau