"Leon" <
[hidden email]> wrote in message
news:
[hidden email]...
> Hi newsgroup readers
>
> In a unmanaged language (C, C++, Delphi) you can write an extensible
> program by providing for a plug-in mechanism, e.g. by allowing the
> application to load DLL's at runtime.
>
> What sort of mechanisms if any are there in Dolphin Smalltalk, to
> provide for a dynamic plug-in mechanism, to extend the functionality of
> a deployed application. Is there for example a way to load a patch
> (extension) image or something similar.
The simplest way is to just use the Compiler class. You can just dynamically
load in code and execute it.
Another way is via binary packages loaded at runtime. (Do a search through
the archives for posts on binary packages)
Dynamically loaded/plugin code @ runtime is a particular strength of
Smalltalk given you're just operating within the standard confines of the
environment. Making it work in Dolphin is dead easy.