Le 15/06/2011 17:16, Thomas Parisot a écrit :
Hello everybody,

I'm planning to use Symfony2 to create a REST API, dealing with data in MongoDB and MySQL, with user quota (depending on the URL and its method).
I have several questions:

    * what is the best strategy
          o simple routing/controllers
          o EverzetRestfulControllersBundle (not sure it's stable enough)
          o other thing?
    * how would you render results (XML and CSV for example)
          o by using templates
          o by converting collections of objects to the targeted format

I was willing to use XML as the ideal way to link data (rel is a nice way to achieve that). So it's not always a simple object traversal output.
I'm new to Symfony2 but experienced with symfony 1.

Thanks a lot for your feedbacks :-)

You should look at FOSRestBundle, which has been created by merging EverzetRestfulControllersBundle (handling easy routing for restful controllers) and LiipThemeBundle (handling easy output in different formats). EverzetRestfulControllersBundleis not maintained anymore as FOSRestBundle should be used instead

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to