+1000 =)

However shouldn't the driver (in your example memcache) be more 
interchangeable? The "key" memcache is now part of the definition right?

cache:
    calculation:
        driver:
            name: memcache
            options:
                host: localhost:11211

Perhaps a cachebundle should provide a cache engine interface to 
standardize driver composition. 

Imho, engines can be fully enabled/disabled and should be retreiveable from 
a manager or something.

$engine = $manager->getEngine('calculation');
$engine->enable();
$driver = $engine->getDriver();

Op dinsdag 14 mei 2013 21:42:01 UTC+2 schreef JF Simon het volgende:
>
> Hello,
>
> Based on the poc I done, I tried to imagine how a cache bundle could be 
> used.
> I wrote a simple example: 
> https://gist.github.com/jfsimon/d006baadb0fc89d4984d
> I guess these functionalities could be achieved without major problems.
> What do you think?
>

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

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
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to symfony-devs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to