[fpc-pascal] fpWeb REST support (asking about features)

ik idokan at gmail.com
Tue Jun 7 09:22:17 CEST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110607/083fc676/attachment.html>


More information about the fpc-pascal mailing list