Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Blog:
New in symfony 1.2: Toward a RESTful architecture (Part 1)
Sep 04, 2008 @ 17:08:49

The symfony blog points out more new functionality included in the latest version of the framework - a move towards a RESTful architecture.

Yesterday, I have committed the first slew of changes to the routing framework. Thanks to this refactoring, developers have new opportunities to customize the routing and this will allow very cool features in the very near future. But today, let's dive into the goodness of the symfony 1.2 routing framework.

He illustrates the (now built-in) routing functionality that allows you to define customized routes that can do things like pattern matching and can push the output through another external function to handle the results. He also takes a look at the sfRequestRoute component that forces the request to match the route definition

tagged: rest restful architecture symfony framework sfrequestroute route

Link:


Trending Topics: