PHP Classes

PHP Database Web Service Layer: Execute queries prepared to use in Web services

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 196 All time: 8,521 This week: 34Up
Version License PHP version Categories
database-connect 1.0.0The PHP License5PHP 5, Databases
Description 

Author

This package can execute queries prepared to use in Web services.

It provides a class that can connect to a SQL database and executes prepared queries using PDO.

Another class provides a database access layer that developers can use to call from a Web service handling application to perform additional functions with the SQL queries.

Currently, it can:

- Execute a query and automatically determine if it returns query results or not. The result values are stored in an array class variable if the query execution has results.

- Return query results as a JSON encoded string

- Execute a SQL query and automatically assign prepared statement parameter values after parsing the query

Innovation Award
PHP Programming Innovation award winner
April 2022
Winner
Web services often need to store and retrieve data from SQL databases.

Web service clients pass parameters that the Web service providers need to process to perform the operations controlled by the parameter values sent by the Web service clients.

This package simplifies using the parameter values passed by Web service clients and executing prepared queries by assigning automatically prepared query values to the parameter values passed to Web service.

Manuel Lemos
Picture of António Lira Fernandes
Name: António Lira Fernandes <contact>
Classes: 13 packages by
Country: Portugal Portugal
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

  Files folder image Files (2)  
File Role Description
Plain text file Database.php Class Class source
Plain text file LayerDB.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:196
This week:0
All time:8,521
This week:34Up
User Comments (2)
Usages? Examples?
2 years ago (Luiz Claudio)
15%Star
Usages? Examples?
2 years ago (Luiz Claudio)
15%Star