Hello,

One of the thing that I find really missing in fpWeb is the ability to have
support for REST.

That is, to place different callbacks to GET, POST, UPDATE, DELETE, HEAD and
PUT.

Let's say that I create a support for the following PATH_INFO:

/records/

The class should have support imho to OnGet OnPost OnDelete etc..
So there will be separation of the code, while the OnRequest will fire
anyway (if assigned) prior to each such request.
That way, it will be easier to separate code, but remain DRY.

Does anyone else find such feature something that can be useful for them ?

Ido


LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to