You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Xavier HAUSHERR (JIRA)" <ji...@apache.org> on 2012/06/24 02:36:42 UTC

[jira] [Updated] (THRIFT-1615) Thrift for Symfony 2

     [ https://issues.apache.org/jira/browse/THRIFT-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier HAUSHERR updated THRIFT-1615:
------------------------------------

    Attachment: namespace.patch

Finally, I have finished the patch. You can find it attached to that post. The patch is up to date with your last commit "Adding svn propset ignore for compiler/src/windows/version.h"

What I have done: 
- Namespaced the PHP library
- Added Symfony UniversalClassLoader with its license to give developer an autoloader
- Update PHP tutorial and test
- Remove namespace and autoload option from PHP Compiler, and update every code to generate namespace compliant code.

Tell me if you have any question or if you wan't som changes.
                
> Thrift for Symfony 2
> --------------------
>
>                 Key: THRIFT-1615
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1615
>             Project: Thrift
>          Issue Type: Improvement
>          Components: PHP - Compiler, PHP - Library
>    Affects Versions: 0.8, 0.9
>            Reporter: Xavier HAUSHERR
>              Labels: improvement, php, symfony2
>             Fix For: 0.9
>
>         Attachments: namespace.patch, thrift-0.8.x-phpsf2.patch, thrift-trunk-phpsf2.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira