php-windows Digest 18 May 2011 23:51:32 -0000 Issue 3950
Topics (messages 30627 through 30629):
Re: Using .Net assemblies with PHP
30627 by: Trevor
30628 by: Trevor
30629 by: Richard Quadling
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
On 5/18/2011 2:00 AM, Pierre Joye wrote:
On Wed, May 18, 2011 at 12:34 AM, Trevor<[email protected]> wrote:
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).
Btw, which encryption algorithms were you looking for? Using the
native PHP versions would be even faster and easier :)
True. Unfortunately, the native ones don't meet my needs. I needed
something that was compatible with existing encrypted data that we use
with a Windows desktop application, so I ended up encapsulating the same
encryption code from the Windows app in the assembly.
- Trevor
--- End Message ---
--- Begin Message ---
On 5/18/2011 9:42 AM, Trevor wrote:
Btw, which encryption algorithms were you looking for? Using the
native PHP versions would be even faster and easier :)
True. Unfortunately, the native ones don't meet my needs. I needed
something that was compatible with existing encrypted data that we use
with a Windows desktop application, so I ended up encapsulating the same
encryption code from the Windows app in the assembly.
The nice thing about this little adventure is that I now know how to
encapsulate any of the business logic from our desktop application
(PowerBuilder makes it very easy) to use on our website with just a few
lines of PHP code. :)
- Trevor
--- End Message ---
--- Begin Message ---
On 18 May 2011 17:39, Trevor <[email protected]> wrote:
> On 5/18/2011 9:42 AM, Trevor wrote:
>
>>> Btw, which encryption algorithms were you looking for? Using the
>>> native PHP versions would be even faster and easier :)
>>
>> True. Unfortunately, the native ones don't meet my needs. I needed
>> something that was compatible with existing encrypted data that we use
>> with a Windows desktop application, so I ended up encapsulating the same
>> encryption code from the Windows app in the assembly.
>
> The nice thing about this little adventure is that I now know how to
> encapsulate any of the business logic from our desktop application
> (PowerBuilder makes it very easy) to use on our website with just a few
> lines of PHP code. :)
>
> - Trevor
Interesting. As I said earlier, I use PHP+COM to talk to Crystal
Reports. One of the issues I have is that the COM interface is no
longer part of the current version of Crystal. The last one was CR XI
Release 2. Newer versions are only supporting .NET and Java.
If UniversalCCW can provide me with access to the latest .NET
libraries, then that seems like a really useful addition.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--- End Message ---