Coder Social home page Coder Social logo

pdoconnection's Introduction

PDOConnection

Useful library for connect of easy way apps with any DB supported by PDO

What can you do with this library?

You can connect to any DB supported by PDO(Mysql and Postgresql for the moment) and make CRUD or call to functions and stored procedures

DBMS supported?

This library was tested with:

  • Mysql -- result: all operations were successful.
  • Postgresql -- result: all operations were successful.
  • Microsoft sql: -- result: it is waiting.

look at the following tests to learn to use the library

About other DBMS supported by PDO

It is possible that in the moment of connect your app with some DBMS that was not tested, the connection can fail.

you can solve that problem changing the following code line to the dbms dns

//Example with firebird

//Change this line
$uriConnection = "".$this->dbms.":host=".$this->host.";dbname=".$this->database."";//Old line
//To this line -Here the dns of dbms-
$uriConnection = "firebird:dbname=hostname/port:/path/to/DATABASE.FDB";//New line

Connection parameters

You must indicate where is the file connectionparameters.json and the file must be configured, on the contrary, the connection will not run.

File setup:

{
    "dbms": "your_dbms",
    "host": "your_dbms_host",
    "database": "your_database",
    "username": "your_username",
    "password": "your_username_password"
}

Developed by: Carlos Mario


pdoconnection's People

Watchers

James Cloos avatar Carlos Mario avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.