Am 19.08.2011 13:12, schrieb Jonathan Bond-Caron:
On Thu Aug 4 09:54 PM, Raymond Irving wrote:
Hello,
I came across this little library called TameJS (http://tamejs.org/)
and fell in love with the it's syntax. This had me thinking if it was
possible to add such features to a PHP CLI (or web app
On Thu Aug 4 09:54 PM, Raymond Irving wrote:
> Hello,
>
> I came across this little library called TameJS (http://tamejs.org/)
> and fell in love with the it's syntax. This had me thinking if it was
> possible to add such features to a PHP CLI (or web app):
>
Thanks for sharing, never heard of
Ah, I've just done a bit of reading in to the PHP MySQL native driver.
It is already possible to do async mysql calls. The documentation in
mysqli::query (http://www.php.net/manual/en/mysqli.query.php) references
MYSQL_ASYNC.
So, if you're just using Mysql, I think there is enough functionali
This looks similar to Twisted in Python (http://twistedmatrix.com/trac/)
and NodeJS (http://nodejs.org/) which are both non-blocking event driven
IO engines.
The actual event driven side of things could be written today in PHP.
There's nothing stopping you from writing an event call stack that
Hello,
I came across this little library called TameJS (http://tamejs.org/) and
fell in love with the it's syntax. This had me thinking if it was possible
to add such features to a PHP CLI (or web app):
fetchAll();
// do something here
?>
The "await" keyword marks a section of code that depends