[futurebasic] Re: [FB] RFC Plugins in FB3

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2001 : Group Archive : Group : All Groups

From: Pete <furbies@...>
Date: Thu, 01 Nov 2001 06:31:14 +1100
Peter Bancroft on 1/11/01 1:52 AM  scrawled:

> Hi all,
> 
> I need to use and write plugins in FB3 for a specific app I am starting.
> Covert Robbington and :-j need to write them too, a la Photoshop Plugins.
> 
> There have been some attempts to coax Staz and Andy in this, but they seem
> to have it low on the list for undisclosed reasons.
> 
> Suggestions have been made about different ways of making plugins. Can we
> put together a RFC (Request for Comment) and see what happens.
> 
> I am willing to co-ordinate this on or off list, or via the xfb forum.
> 
> I'll start the ball rolling by saying that I want a plugin to be linked in
> at runtime and work just as if it were part of a fully written app. I need
> this to add behaviours to my app so that I can extend it in a customisable
> way depending upon the exact use that it is put to. It also helps me to
> build and debug reusable modules that could be used somewhere else just by
> plugging them in. How do we do it? Shared libraries? Docs that contain only
> resources?
> 
> What do you think? Is there much interest out there at all for plugins?
> 
> Peter
> 

I've managed to write 'plugins' in FBII for a project I'm writing in FB^3.

The code isn't really sharable because it's so closely intertwined into my
other code in the project, but it is doable. I even allow for the plugins to
be passed a list of globals from the app and the plugins being able to use
FNs in the calling app.

But if folks ask about a praticular problem maybe I'll be able to help

-- 
Pete...                     (the other one)