Issue Type: Docs: Problem Created: 2009-07-01T08:51:18.000+0000 Last Updated: 2009-08-21T22:01:30.000+0000 Status: Resolved Fix version(s): - 1.9.2 (25/Aug/09)
Reporter: vincent (vistahr) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Cache
Related issues: Attachments:
There is no description in the docs how to instatiate the ZendServer cache backends
This wont work:
<pre class="highlight"> $cache = Zend_Cache::factory('Core', 'ZendServer_ShMem', $frontendOptions, $backendOptions );
The problem is the name normalize function.
The 6. parameter has to be true and the name have to be full written.
<pre class="highlight"> $cache = Zend_Cache::factory('Core', 'Zend_Cache_Backend_ZendServer_ShMem', $frontendOptions, $backendOptions, false, true );
May it will be better the two backends move from backend/ZendServer/ to /backend/ and move the abstract class ZendServer to backend/ZendServer
Posted by Fabien MARTY (fab) on 2009-07-17T11:03:32.000+0000
change Assignee because I'm inactive now
Posted by Satoru Yoshida (satoruyoshida) on 2009-08-19T06:31:04.000+0000
I think there are 3 problems.
$standardBackends in Zend/Cache.php has no entry for the Zend Server backends.
The factory parameter.may be not ZendServer_ShMem, but Zend Server_ShMem (or may be Zend_Server_ShMem).
We can not find detail about using the Zend Server backends .
Posted by Satoru Yoshida (satoruyoshida) on 2009-08-21T09:41:43.000+0000
I would vote the comment of vincent. "the two backends move from backend/ZendServer/ to /backend/".
If we would move the 2 class to /backend/ZendServerDisk.php and /backend/ZendServerShmem.php, they could work more easy.
Posted by Satoru Yoshida (satoruyoshida) on 2009-08-21T21:59:10.000+0000
Add description to manual at SVN r17742 . This issue could be solved without code change.nor class moving.
Have you found an issue?
See the Overview section for more details.