A call for inter-plugin communication
m.schonewille at economy-x-talk.com
Mon Feb 13 10:29:58 CST 2012
I could imagine that Installer Maker would be a candidate for such an API, but currently I have no clue what people might need. Send in your feature requests and I'll see what I can do.
Economy-x-Talk Consulting and Software Engineering
Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za
On 13 feb 2012, at 17:15, Andre Garzia wrote:
> Hey Folks,
> I've been wondering why most of the plugins for LC do not publish an API
> that developers (and other plugins) can call. Since the addition of
> "dispatch", plugin developers could provide an API in the form of
> dispatchable calls, it would be great. The plugins could dispatch some
> calls to a registered object. This way we could start to exchange data
> between our plugins. For example, I could build a "Dropbox IDE service
> plugin", all plugins wanting to save stuff to dropbox could do it thru my
> service plugin.
> In mock xtalk script could go like:
> dispatch "register_plugin" to stack "dropbox_service"
> put "blablabla" into tParamsA["content"]
> put "file.txt" into tParamsA["filename"]
> dispatch "save_file" to stack "dropbox_service" with tParamsA
> This would save other developers the need to implement dropbox on their own
> for usage inside the IDE. Other useful cases could be for installers,
> Developers who build Installers maker tools, could provide a set of APIs
> that we could call, for example from inside standaloneSaved message. People
> who build color pickers, could provide an API so that we could call their
> I am not saying that we need inter-plugin communications on standalones. I
> think it is useful to have this kind of technology inside the IDE where we
> have a dozen plugins that don't talk to each other.
> Anyone care for a comment?
More information about the use-livecode