I broke the REST

I’ve made a few mistakes with this plugin, called sfRestWebServicePlugin.

Time to regret

Cool thing, I’ve been cited as its author in the Symfony Live conference in Paris and, before seeing some people ranting here, I just want to make clear one concept: its aim is not to be your way to write a RESTful webservice.

Also, at the time I wrote it, I made a few mistakes in the implementations, which desn’t make it really a software respecting the RESTful constraints.

I’ve been young

What I hate about it?

These are just a few points.

Since I don’t want to evolve it, nor fix it, pretend to use it understanding this kind of limitations.

HATEOAS can’t be generalized

Since the hypermedia constraint of REST is a domain-specific-workflow dependant concept, just forget about any magic plugin that tells it can generate a RESTful version of your service: it just can’t be.

Any kind of plugin can help you design a RESTful interface for your service, not build it from scratch to the end.


Hi there! I recently wrote an ebook on web application security, currently sold on leanpub, the Amazon Kindle store and gumroad.

It contains 160+ pages of content dedicated to securing web applications and improving your security awareness when building web apps, with chapters ranging from explaining how to secure HTTP cookies with the right flags to understanding why it is important to consider joining a bug bounty program.

Feel free to skim through some of the free chapters published on this blog and, if the content seems interesting enough to you, grab a copy on leanpub, the Amazon Kindle store, gumroad or simply checkout right down below!

Buy the Web Application Security ebook for $6.99

In the mood for some more reading?

...or check the archives.