phpdesktop
phpdesktop copied to clipboard
PHP extension to interact with PHP Desktop/Chromium API
Currently you can call PHP Desktop internal functions only from within
javascript, see the JavascriptApi wiki page.
It would be nice to be able to interact with PHP Desktop or the Chromium API
directly from within PHP.
See the PHP-CPP project that lets you easily develop PHP extensions in C++,
with no need to know all the internals of the Zend Engine:
http://www.php-cpp.com/
Original issue reported on code.google.com by [email protected] on 26 Mar 2014 at 11:16
The communication between the php extension and phpdesktop can only occur using
asynchronous IPC messaging between the PHP process and PHPDesktop process.
Returning any values would require callbacks. But this raises problems, because
the response is not immediate. The php script may complete its execution before
the response arrives, in such case the response would be lost. This also
introduces threading issues. I'm not sure how php handles/supports threading,
the callback would be called in a separate thread, or is there something
similar to python like GIL (global interpreter lock)?
Original comment by [email protected] on 29 Apr 2014 at 4:42
Original comment by [email protected] on 21 Oct 2014 at 10:38
- Added labels: Restrict-AddIssueComment-Commit
Project will move to Github. Find this issue at the new address (soon):
https://github.com/cztomczak/phpdesktop/issues/99
Original comment by [email protected] on 24 Aug 2015 at 3:29