GithubHelp home page GithubHelp logo

Comments (5)

FabioBatSilva avatar FabioBatSilva commented on May 18, 2024

@kinncj

from doctrinecachebundle.

kinncj avatar kinncj commented on May 18, 2024

pong

from doctrinecachebundle.

stof avatar stof commented on May 18, 2024

@FabioBatSilva Given that this will only be available as of Symfony 2.5 (and so all DoctrineBundle would have to avoid using it if they want to keep compatibility with the Symfony LTS, as seen in doctrine/DoctrineBundle#270 today)

And relying on the abstract extension in the bridge to configure the cache means that the support of new cache providers will always be tied to new Symfony versions, while all bundles are actually leaving in the Doctrine organization.
A better solution might be to provide a way for other Doctrine bundles to use DoctrineCacheBundle to configure their cache (they would then depend on it). This way, we can solve the issue of supporting older Symfony versions (we would simply need to ensure that DoctrineCacheBundle is compatible with the 2.3 LTS) and supporting new cache drivers would be under the control of the Doctrine team.
what do you think ?

from doctrinecachebundle.

FabioBatSilva avatar FabioBatSilva commented on May 18, 2024

@stof The idea in here is translate the old configuration (bridge) to the new config format in DoctrineCacheBundle..

The next step will be change DoctrineBundle to use this adapter ( DoctrineCacheBundle) to create the cache drivers instead of using doctrine bridge.

from doctrinecachebundle.

FabioBatSilva avatar FabioBatSilva commented on May 18, 2024

Fixed by : 7b7a637

Thanks @kinncj

from doctrinecachebundle.

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.