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

PHP 5.3 namespaces

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      I've created patch, with which you can generated namespaces as defines in
      PHP5.3, i.e. \Thrift\SharedServiceIf etc.
      With this patch, thrift php generator will recognize two new parameters:

      • namespace53 - generate namespaces as defines in PHP 5.3. Without it, it
        generates same code as before
      • nsglobal - global namespace, default is Thrift. From tutorial, it will
        create classes \Thrift\tutorial\CalculatorIf etc.

      What can I do to make it attached to trunk? Thanks for any ideas, because
      I'm very new to Thrift and also open-source development.

      Link: http://helemik.cz/juzna/opensource/php/thrift/php53.patch

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              juzna.cz Jan Dolecek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified