Questions tagged [plugin-pattern]

12 questions
13
votes
1 answer

Where can I find an introduction to a Plugin Pattern for ASP.NET MVC?

I am trying to figure out how to implement a "Plugin" framework with asp.net mvc. I have done some reading and found that many people recommended MEF for a plugin framework in asp.net mvc. link:…
quakkels
  • 11,676
  • 24
  • 92
  • 149
7
votes
3 answers

Javascript plugins design pattern like jQuery

Could someone write down a very simple basic example in javascript to conceptualize (and hopefully make me understand) how the jQuery plugin design pattern is done and how it works? I'm not interested in how creating plugin for jQuery (so no jQuery…
Marco Demaio
  • 33,578
  • 33
  • 128
  • 159
6
votes
3 answers

Plugin pattern in C#

Problem: I am constructing a framework which accepts a file, translates it and executes it. The framework should be able to handle any type of file, to this end i have provided a method of uploading a DLL containing classes and methods for…
David Colwell
  • 2,450
  • 20
  • 31
4
votes
3 answers

C# Plugin pattern without interfaces

I've encountered the need to implement a plugin pattern that doesn't fit with anything I've seen elsewhere and I'm just wondering whether I'm looking at it the wrong way or whether anyone else has encountered the same problem and might have a…
Chris Disley
  • 1,286
  • 17
  • 30
4
votes
2 answers

jQuery plugin pattern using "live"

I have red many articles about writing object oriented javascript code and developing jQuery plugin, so far so good, I understand how they work and I can create my own plugins. But, there is one problem with all the articles ( even with official…
Andrew
  • 127
  • 6
2
votes
1 answer

Java Plugin Pattern

I am a Java beginner and I would appreciate it if someone here can explain how to implement Martin Fowler's plugin pattern in Java. Thanks in advance.
Unplugged
2
votes
1 answer

jQuery Plugin Pattern With Data Persistence

I am working on a jQuery plugin, but I am having some trouble with the design pattern, which combines the defaults and options, data and namespacing techniques from jQuery's best practices. Here's the abstracted version of my code: (function($)…
2
votes
1 answer

Plugin/widgets pattern in React/Redux to add components dynamically

I have an application which uses React/Redux. I use Electron to package it as a standalone app. I am currently working on building the base to allow users to add their own plugin or widget to the app. Since I'm using Redux, I would like to keep…
Loic Duros
  • 5,472
  • 10
  • 43
  • 56
2
votes
1 answer

Creating a web application that can be extended by plugins/modules

I'm currently involved with developing a C# CMS-like web application which will be used to standardise our development of websites. From the outset, the idea has been to keep the core as simple as possible to avoid the complexity and menu/option…
Adam Pope
  • 3,234
  • 23
  • 32
1
vote
1 answer

Android plugin pattern

I am going to implement plugin pattern in my Android application. Right now I have created: public abstract class PluginReceiver extends BroadcastReceiver In an external plugin there is for example public class SmsPluginReceiver extends…
hsz
  • 148,279
  • 62
  • 259
  • 315
0
votes
4 answers

plugin pattern with .dll. how can I extract plugin interface from dll?

I have an application that's suppose to be realized in plugin pattern. Plugins are located in dll files and I'm loading them on the fly, depending on the parameter given from a user via command line. That is, if user wants to use plugin1 he types…
dragan.stepanovic
  • 2,955
  • 8
  • 37
  • 66
0
votes
1 answer

JQuery Plugin Pattern - Code Organization for multiple scripts

I'm developing a client using JQuery based on lightweighted plugin pattern as listed here. https://github.com/jquery-boilerplate/jquery-patterns/blob/master/patterns/jquery.basic.plugin-boilerplate.js I've been working on one file, but it's getting…
lustdante
  • 483
  • 4
  • 14