Search by

se7enxweb / nxc_memcache

7x

There is no license information available for the latest version (v0.1) of this package.

NXC Memcache eZ Publish extension Official Community Project: usable with Exponential 6 after review; not yet in the App Store.

v0.1 2026-12-03 19:16 UTC

This package is auto-updated.

Last update: 2026-12-03 19:17:35 UTC


README

This extension is simplified distributed file system based on Memcache. The main feature is to store some files by linux standard paths.

But there is no any difference between dirs and files. Dir is just a file without content. Thus files also may contain other subfiles or subdirs.

It has been implemented to provide an ablity to remove dirs and files recursively and to use it on cluster installations where several nodes must have rapid access to shared data.

Example

$m = new nxcMemcache( 'profiles/bill_gates.txt' );
$m->store( 'some content' );

var_dump( nxcMemcache::fetch( '/' )->getChild( 'profiles/bill_gates.txt' )->getContent() );
var_dump( nxcMemcache::fetch( 'profiles' )->getChild( 'bill_gates.txt' )->getContent() );
var_dump( nxcMemcache::fetch( 'profiles/bill_gates.txt' )->getContent() );

// Purge just a file
nxcMemcache::fetch( 'profiles/bill_gates.txt' )->delete();
// Remove root dir thus remove all files
nxcMemcache::fetch( '/' )->delete();

Official status: Official Community Project for Exponential 6. Usable with Exponential 6 after review; not yet in the App Store.