Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1008

PHP + Caja Integration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.0
    • None
    • PHP
    • None

    Description

      Hi All,

      Here is the attached the Code which enables Caja support for PHP.

      Details:
      1. It uses Caja-r3034
      2. It creates a Socket Server which is basically a wrapper around Caja
      3. Shindig PHP code send the Gadget URL to Socket Server (TCP), Socket Server uses Caja to Cajole the gadget
      4. After Cajoling the gadget it sends back the cajoled code and its length to Shindig PHP.
      5. Shindig PHP processed that gadget's cajoled code in the same way as it process normal gadget xml (it uses caching too for cajoled code)
      6. Shindig PHP code uses server (shindig) configurations to check whether Cajoling should be done or not. (enableCaja = true/false)

      Any of the commiters/reviewers please review and verify the code (zip) attached with this issue and add to shindig code base if it works.
      Note : Shindig code patch file is also inside the zip.

      Attachments

        1. PHP - Caja Integration Code.zip
          3.78 MB
          impetus technologies

        Issue Links

          Activity

            People

              bhofmann Bastian Hofmann
              impetus impetus technologies
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: