Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1615

PHP Namespace

    XMLWordPrintableJSON

    Details

    • Patch Info:
      Patch Available

      Description

      Hi,

      In order to use Thrift with the Framework Symfony 2 and its great ClassLoader, I have:

      namespaced your PHP Lib (phpsf2)
      added an option sf2 to the PHP compiler. The main differences, are the use of namespace, and remove your autloader.
      I have done this in the 0.8x branch (stable version) and in your trunk.

      I use it with a Symfony bundle I create to have a cool integration in Symfony 2. Here is the git: git@github.com:ebuzzing/OverblogThriftBundle.git

      Feel free to send me any question, any feedback on my pull request.

      Best regards.

      Xavier HAUSHERR
      Overblog CTO
      @xkobal

        Attachments

        1. namespace.patch
          286 kB
          Xavier HAUSHERR
        2. thrift.patch
          382 kB
          Xavier HAUSHERR
        3. thrift-0.8.x-phpsf2.patch
          151 kB
          Xavier HAUSHERR
        4. thrift-2012-09-05.patch
          0.9 kB
          Xavier HAUSHERR
        5. thrift-trunk-phpsf2.patch
          190 kB
          Xavier HAUSHERR

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              xkobal Xavier HAUSHERR
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: