Issues

ZF2-139: Zend\Cache\Storage\Adapter\Dba

Issue Type: New Feature Created: 2012-01-09T20:23:37.000+0000 Last Updated: 2012-07-09T11:02:00.000+0000 Status: Closed Fix version(s): Reporter: Marc Bennewitz (private) (mabe) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend\Cache

Related issues: - ZF-11073

Attachments:

Description

Based on php-dba-cache a have writen a "Zend_Cache_Backend_Dba" class. The php-dba-cache uses the database (dbm-style) abstraction layer to cache your objects, strings, integers or arrays. Even instances of SimpleXMLElement can be puted to the cache. I just wrote the Class "Zend_Cache_Backend_Dba" for my company, and it works fine. More information about php-dba-cache you can find at https://github.com/gjerokrsteski/php-dba-cache

I allso can see the "Zend_Cache_Backend_Dba" class at https://github.com/gjerokrsteski/… for inspection.

Best regards, Gjero Krsteski

Comments

Posted by Marc Bennewitz (private) (mabe) on 2012-01-09T20:26:31.000+0000

cloned from ZF-11073.

There is a not ready refactored version on github: https://github.com/marc-mabe/zf2/…

-> I'm not sure if it's the right way to store a serialized array of the cache data and the mtime or if it is better to only store the cache data and say no ttl will be supported by this adapter but can be implemented as plug-in.

Posted by Maks 3w (maks3w) on 2012-05-07T07:22:57.000+0000

I will close this because the code referenced in the first comment not longer exists

https://github.com/marc-mabe/zf2/…

Posted by Marc Bennewitz (private) (mabe) on 2012-05-07T18:32:21.000+0000

Sorry the link changed: https://github.com/marc-mabe/zf2/…

The code is really outdated but the issue should live as long as the adapter has been implemented or it's marked as Won't fix.

Posted by Maks 3w (maks3w) on 2012-05-07T18:36:43.000+0000

Ok, I suggest you to write this request in the Mailing List.

Posted by Marc Bennewitz (private) (mabe) on 2012-07-06T10:43:55.000+0000

PR commited https://github.com/zendframework/zf2/pull/1781

Posted by Marc Bennewitz (private) (mabe) on 2012-07-09T11:02:00.000+0000

merged into master for beta5

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts