Re: another crazy idea
If I've understood was Zeev has said before right, Zend has a mechanism
to allow hooking in objects like that, with a COM implementation of
it done already. Presumably a Java or CORBA implementation would be
feasible for someone who understood how to talk to those things from
C code.
Jim
Brian Schaffner wrote:
>
> this is a 2 part question:
>
> 1) just how difficult (ok, you already know it is...) would it be to "allow"
> php to access some Java classes? ie:
>
> <?
> $myinstance = java MyClass("a", "b"); /* maybe
> "java" could
> work like "new" ...
> maybe extend
> this to a "com" operator as well? */
> $myinstance.MyFunc();
> $myinstance.fubar = 12;
> ?>
>
> 2) would anyone see any real benefit to this?
>
> let the brainwars begin...
>
> -brian-
Thread (15 messages)