[jboss-jira] [JBoss JIRA] (AS7-6756) JBoss AS 7 PHP/Quercus integration
Ondrej Zizka (JIRA)
jira-events at lists.jboss.org
Tue Mar 19 22:51:41 EDT 2013
Ondrej Zizka created AS7-6756:
---------------------------------
Summary: JBoss AS 7 PHP/Quercus integration
Key: AS7-6756
URL: https://issues.jboss.org/browse/AS7-6756
Project: Application Server 7
Issue Type: Feature Request
Reporter: Ondrej Zizka
Priority: Optional
Fix For: Awaiting Volunteers
PHP is popular, Java is fast, development with JBoss AS is a pleasure. It would be cool to have it together.
There's an implementation of PHP interpreter and libraries in Java - Caucho Quercus, which is reportedly 4x faster.
It seems to have lost momentum, but it's almost fully compatible with the original PHP 5.
First goal is to create a deployer which would scan a deployment for (public) PHP files, bind them to JBoss Web AS service.
Also, it would have to deal with loading the other PHP scripts.
Second goal would be to research which Java EE concepts could be integrated, and how.
For example, having context and dependency injection (CDI) integrated with this would also be nice. PHP doesn't have annotations, but Quercus has hooks for variable read/write, so there could be some magical global variables which would query CDI when read - e.g. $_PersistenceContext, $_CDI[...] etc.
Inspiration: Caucho Resin has some PHP integration. See [this case study|http://quercus.caucho.com/casestudies/Caucho_LiveProcess_casestudy.pdf].
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list