GithubHelp home page GithubHelp logo

DriverFactory and Select about aura.sql HOT 8 CLOSED

harikt avatar harikt commented on August 15, 2024
DriverFactory and Select

from aura.sql.

Comments (8)

pmjones avatar pmjones commented on August 15, 2024

Ah, thanks for pointing out instance.php. I don't know if DriverFactory is going to make it in; to have that, we need Aura.Di, and I want to keep the dependencies at zero. Might be a way to do it without the DI package.

from aura.sql.

pmjones avatar pmjones commented on August 15, 2024

So, AdapterFactory is back in place, but I'm going to leave out the Select object for the first release (it's a lot of work to get it going). Anything else on this issue?

from aura.sql.

harikt avatar harikt commented on August 15, 2024

no for now I don't have anything :)

from aura.sql.

harikt avatar harikt commented on August 15, 2024

In config/default.php , I am not sure why you didn't add

use Aura\Sql\AdapterFactory;
$adapter_factory = new AdapterFactory;
$sql = $adapter_factory->newInstance();

Or you missed it ?
I guess you may have thought if the user needs let them add.

from aura.sql.

pmjones avatar pmjones commented on August 15, 2024

I think I'm going to leave that out of config/default.php, at least for now. It makes more sense to have the DI service be the connection manager, rather than the adapter factory. (Going to try to add the connection manager to the SQL package, but at worst it will be in the Framework package.)

from aura.sql.

harikt avatar harikt commented on August 15, 2024

Why not bring it here itself . If people love to use the Aura.Di let them use connection manager , else the same as above ?

from aura.sql.

harikt avatar harikt commented on August 15, 2024

Anything to add over here ? Close it ?

from aura.sql.

pmjones avatar pmjones commented on August 15, 2024

Yeah, this seems like it's been taken care of. Thanks!

from aura.sql.

Related Issues (20)

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.