Re: Rest
| From: | Matijn Woudt | Date: | Sat, 27 Oct 2012 19:48:54 +0000 |
| Subject: | Re: Rest | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319614@lists.php.net to get a copy of this message | ||
On Sat, Oct 27, 2012 at 7:47 PM, Adam Tong <adam.tongu@gmail.com> wrote:
> Hi,
>
> I need to develop a rest API.I want your feedback on how you develop
> rest apis. I don't want to use a heavy framework just for that, and I
> find url rewriting time consuming.
>
> Any suggestions?
>
> Thank you
>
I'd suggest you google for "PHP REST".
It has plenty of information. There are even lightweight frameworks
that do nothing more than providing REST API. And while URL rewriting
may be time consuming, you could use a single rewrite that pushes all
to PHP and you can do the rest in PHP.
- Matijn