An example of a REST server using symfony2 framework