Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-725

JBoss AS 7 PHP/Quercus integration

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Optional
    • Awaiting Volunteers
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: