Feature #27322

Add support for Appserver-in-PHP, which could result in much faster executions.

Added by Sebastian Kurfuerst over 10 years ago. Updated about 9 years ago.

Status:
On Hold
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-06-09
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Add support for Appserver-in-PHP, which could result in much faster executions.

Installation of AiP

  • Install php5-posix and php5-pcntl (through MacPorts, APT, ...)
  • pear channel-discover pear.indeyets.pp.ru
  • pear install indeyets/AppServer
#1

Updated by Sebastian Kurfuerst over 10 years ago

  • % Done changed from 0 to 80

https://review.typo3.org/#q,topic:27322,n,z

  • There will still be problems with uploaded Resources (no URI mapping for that yet).
#2

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from Accepted to Under Review
#3

Updated by Christopher Hlubek about 10 years ago

I played around with this and we have some problems with FLOW3 and AiP: sessions and Login don't seem to work, I was only able to login sometimes. RequestURI detection for resources is started at initialization, when AiP has no information about the RequestURI. We need to change that.

The routing sometimes generates URLs with a prefix of /index.php/ which is annoying. I did not figure out yet, when that happens.

But there is one big design issue with the Request handling in FLOW3: we need to use the request handler (e.g. for SOAP requests or other flexible handling of requests) instead of building just web requests and the request handler doesn't expose any response object. So we don't get access to the generated content (could be fetched from output buffer) and to any headers that were set (I see no way to get these).

My idea would be to have a lowlevel and thin layer that could expose this information from the RequestHandler: each RequestHandler would have to use the environment to output information (like it does for getting arguments and headers), since we already have a special AiP environment in place and could collect data for each run.

#4

Updated by Karsten Dambekalns about 9 years ago

  • Status changed from Under Review to On Hold
  • % Done changed from 80 to 0
  • Has patch set to No

Also available in: Atom PDF