How much work is plugin compatibility?

Everything else that doesn't fall into one of the other PB categories.

How should I make the plugin interface?

All plugins can be used with all version of the program
0
No votes
Older plugins can be used with newer program but not the other way around
11
73%
Newer plugins can be used with older program but not the other way around
0
No votes
Only plugins which were made to use the same plugin interface as the main program are compatible
4
27%
 
Total votes: 15

Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

How much work is plugin compatibility?

Post by Trond »

I am making a program with plugins and I am wondering about how compatible the plugins should be across changes in (additions to) the plugin interface (for new versions of the program).

Obviously, the more compatible the better, but also it's more work.

All plugins can be used with all version of the program
Extra work in both the main program and the plugins.

Older plugins can be used with newer program but not the other way around
Some extra work, but only in the main program (plugin writers will not have to concern themselves with it).

Newer plugins can be used with older program but not the other way around
Only extra work for the plugin writer (not a good option).

Only plugins which were made to use the same plugin interface as the main program are compatible
Easy to program.
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Definitely Older plugins can be used with newer program but not the other way around.

One of the only gripes I have with firefox is how when they release a new version I don't use it because the plugins don't work.
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

it all depends on how many plugins are going to be there, and how many versions of these plugins you want to maintain. Also, are third parties going to write plugins that use your plugin API?

I voted for the last option, as this makes the logistics of deploying your app more manageable.
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

I would split it. So that major version releases like 1.0->2.0->3.0 don't feature any backward compabiliity, but minor releases like 1.1->1.2 etc should be backward compatible.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I have decided to at first go for only plugins that are perfectly compatible will be accepted. Maybe I'll change it later.

Note that this won't be like Firefox because I don't plan to change the interface, and it's the actual interface that is checked, not the program version as with Firefox.

Edit: But keep voting.
User avatar
SimpleMind
Enthusiast
Enthusiast
Posts: 112
Joined: Sun May 18, 2003 12:40 pm
Location: Netherlands

Post by SimpleMind »

Can I see a plug in as an ActiveX component?
Give me books, fruit, french wine, fine weather and a little music.
John Keats
Post Reply