Coder Social home page Coder Social logo

thin-pdo-wrapper's People

Contributors

mikehenrty avatar tohir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thin-pdo-wrapper's Issues

Bump Version to release to packgist

Hey,

just one thing, can you bump the version to release the Composer Autoload Fix to Packagist? The latest "official" Version on Packagist still contains the bug. The dev-master branch is correct for sure.

Thanks!

Private construct

Singleton patron permit __construct as protected or private?

And maybe will be good block clone method as

public function __clone()
{
trigger_error("Cant clone ". get_class($this) ." class.", E_USER_ERROR );
}

And solution for serialize:

public function __wakeup()
{
trigger_error("Cant unserialize". get_class($this) ." class.");
}

And instance method

if ( !self::$instance instanceof self) {
self::$instance = new self;
}
return self::$instance;

Create Adapters for more refined multiple database experience

I built the first step in making this PDO wrapper more diverse and I'd like to proceed with phase two.

Phase two would create database-specific adapters to help combat a couple problems encountered from phase one.

Bad news, it would add more files to the wrapper library. Good news, it'll be 100% database agnostic and it will not break any current installs.*

I'm seeking your approval of such an overhaul, I'll still do it but if you prefer not to have it in your main repo, I'll just keep it on my fork and can just be an alt version for those who want it (such as myself ;)).

*as long as they include the adapter to the database their using, so minor code change will be needed depending on how the programmer added the library.

Is this project maintained?

I see a couple outstanding issues from 2013, and was looking for a lightweight PDO wrapper. I was wondering if this project is maintained.

make connction string more generic

The most glaring issue I see with this PDO class is that its hard coded to use MySQL.

The connection string portion should get rewritten so that any connection string supported by PDO will work instead of just one.

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.