Re: Using .Net assemblies with PHP

Trevor <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
In my testing, I can load a browser page with 1,000 
encryption/decryption operations in less than 2 seconds. Since I really 
only need to do at most a couple at a time (which comes back instantly), 
I can't really complain about the performance. And it certainly beats my 
testing of dotnet (when it actually works).

I do see the advantage of how you did it, but I was looking for a more 
generic solution that could be used for multiple assemblies, rather than 
having to write a custom interface for each one. And, just to be clear, 
I did not write the universalccw library. I actually stumbled upon it 
when I was trying to figure out how to make the dotnet stuff work. 
Apparently the author had similar frustrations and decided to do his own.

Anyway, I just thought I'd pass the info on in case it helps someone 
else avoid the frustration that I've been going through for the last few 
days. :)

- Trevor

On 5/17/2011 3:59 PM, Pierre Joye wrote:
> hi,
>
> Interesting but it is somehow poor in term of performance (not very
> important in most cases).
>
> As a somehow cleaner alternative (COM is such a pain), I use C++/CLI.
> For example I wrote (early stage but works) an extension for the MS
> Chart module, you can see it here
> https://github.com/pierrejoye/php_mschart
>
> Cheers,
>
> On Tue, May 17, 2011 at 7:42 PM, Trevor<[email protected]>  wrote:
>> Just in case anyone else needs to do this, I just spent a frustrating week
>> figuring out how to make an assembly I created with PowerBuilder.Net work
>> with PHP. The dotnet class in PHP doesn't work very well, and has apparently
>> been abandoned. I ended up using this instead:
>> http://universalccw.sourceforge.net/
>>
>> It's finally working great, and I am very happy. (The library also, of
>> course, works with the regular Microsoft assemblies.)
>>
>> - Trevor
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.