PHP Classes

Create Rest API using PDO: i want to create web API using PDO and json for mobile app

Recommend this page to a friend!
  All requests RSS feed  >  Create Rest API using PDO  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Create Rest API using PDO

Edit

Picture of prashant kumar by prashant kumar - 9 years ago (2015-10-30)

i want to create web API using PDO and json for mobile app

This request is clear and relevant.
This request is not clear or is not relevant.

+9

i want to create Web API for ecommerce mobile APP using PDO and json.

Ask clarification

1 Recommendation

PHP REST Server Class: REST Web service server that maps URL to API calls

This package implements a REST Web service server that maps URL to API calls.

The main class can register one or more objects that will handle API calls. Handler objects must be of classes based on the REST object class.

The main class also dispatches API calls by extracting the handler object name, API call function name and any parameters from the URL.

The return values of the REST object handler functions are returned JSON encoded as responses to the REST requests.
This recommendation solves the problem.
This recommendation does not solve the problem.

+4

Picture of Dave Smith by Dave Smith Reputation 7620 - 9 years ago (2015-10-30) Comment

Here is the server. You would use the example in restObjects to create your responses which you could retrieve from a database using PDO. The responses are up to you.


Recommend package
: 
: