Le lundi 26 novembre 2012 à 14:18, Lukas Kahwe Smith a écrit : > > On Nov 26, 2012, at 14:14 , Jérôme Vieilledent <lolautru...@gmail.com > (mailto:lolautru...@gmail.com)> wrote: > > > Hello > > > > On the road back from Symfony Live Berlin, I discussed a bit with Hugo > > Hamon about the need of a Cache component in the Symfony stack. This is > > indeed something regularly needed and no solution is provided out of the > > box. > > I know there is Doctrine Commons which is nicely integrated with > > LiipDoctrineCacheBundle, but the problem is that the approach is not > > generic and doesn't allow other integration. Furthermore, Doctrine cache > > doesn't have hierarchical cache approach like ZetaComponents Cache. > > > > I found 2 open PRs in the Symfony repository > > (https://github.com/symfony/symfony/pull/5903 and > > https://github.com/symfony/symfony/pull/3225), but both approaches are at > > the bundle level. > > there are also PRs for components: > https://github.com/symfony/symfony/pull/5902 > https://github.com/symfony/symfony/pull/3211 > >
OK Thanks, didn't see them :-) > > However before adding a new component we want to ensure that there isnt an > easily useable better alternative out there .. like Stash or something else. Didn't know Stash, looks pretty powerful ! However the idea here is more to have at least an interface we can rely on. > > > So I would like to begin a discussion on how we could introduce a real > > cache component, ideally for Symfony 2.2. > > > > My 2 cents : > > • Provide a generic interface > > • Provide a basic implementation based on what is currently done in the > > Config component > > • (Optional) Provide a bundle integrating a more advanced lib (I'd vote for > > ZetaComponents cache of course ;-P) > > > > > One key topic here is imho to push for FIG to publish a PSR for caching. I > think we are semi close to get there, but we need someone to really invest > the time to ensure that the discussion doesnt get too distracted. Yeah, Hugo mentioned it as well. So I guess we won't get there for 2.2 :-) > > regards, > Lukas Kahwe Smith > m...@pooteeweet.org (mailto:m...@pooteeweet.org) > > > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com (http://symfony-project.com) > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to symfony-devs@googlegroups.com > (mailto:symfony-devs@googlegroups.com) > To unsubscribe from this group, send email to > symfony-devs+unsubscr...@googlegroups.com > (mailto:symfony-devs+unsubscr...@googlegroups.com) > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en