[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kjsembed
Subject:    Re: [kjsembed] Puggable script bindings
From:       Richard Moore <rich () xmelegance ! org>
Date:       2004-08-27 23:43:38
Message-ID: 20040827234338.GB519 () trinity ! fluff ! org
[Download RAW message or body]

On Thu, Aug 26, 2004 at 11:08:18AM -0400, Hihn, Jason wrote:
> 
> Would it be possible to develop a way of doing pluggable script
> bindings, where a provider could just provide a module and have it
> linked in at run-time?

Yes.

> 
> I foresee the situation where after KJSEmbed takes off, people want to
> provide KJS bindings to their custom objects. Under the current scheme,
> they have to be compiled in, or make a custom KJSEmbed.

I agree with you 100% about this requirement, so it is already possible
via the JSBindingPlugin class. This class is there for both this situation
and to make is feasible to bind rarely used classes without adding a
prohibitive startup cost when the interpreter is created.

Cheers

Rich.


_______________________________________________
kjsembed mailing list
kjsembed@kde.org
https://mail.kde.org/mailman/listinfo/kjsembed
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic