Fundamental flaw in web frameworks… Not!

Daniel Hinojosa asks, “… what the hell happened to doGet() and doPost()?”

Well, Cocoon handles this nicely. If you want to limit a pipeline to GET/POST/PUT/DELETE, all you need to do is wrap the pipeline in a nice little RequestMethodSelector. You can even use the same pipeline and have different outcomes based on POST or GET, e.g. a GET on a pipeline will display something, but a POST to the same pipeline will result in a Flowscript function being called.

Comments are closed.