You are here: Re: Integrating PHP and C++ or ASM for web applications? « PHP Programming Language « IT news, forums, messages
Re: Integrating PHP and C++ or ASM for web applications?

Posted by x0054 on 03/21/06 09:05

Ian Collins <ian-news@hotmail.com> wrote in
news:1142922872.905376@drone2-svc-skyt.qsi.net.nz:

> x0054 wrote:
>> I am simply experimenting in this area, but are there any tutorials
>> on integrating C++ or ASM binaries with PHP? For instance, I have an
>> application in PHP that reads a rather large matrix of data from a
>> database and then needs to structure it into a tree. Well, it works
>> fine in PHP, but it would be a lot faster in C++. I was thinking of
>> exporting the tree function to C++ so that I would have a faster
>> execution time of my PHP script.
>>
> You're talking about a PHP extension.
>
>> Is there a way to have like a function type interface in PHP to a
>> binary without writing a PHP module and installing it on a system?
>> Other then the obvious, just using standard output/input.
>>
> Have a look at
>
> http://www.zend.com/php/internals/extension-writing1.php
>

Thank you, I think I may try that. I was looking though for something that
does not need to be directly installed into the PHP tree. Like a
standalawn binary that php can interact with. But I guess the only way to
do that would be through standard output. I think I'll just try writing an
extension.

- Bogdan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация