Login   Register  
PHP Classes
elePHPant
Icontem

IPC Shared Memory: Access data stored in shared memory containers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Craig Manley
Name: Craig Manley <contact>
Classes: 5 packages by
Country: The Netherlands The Netherlands
Age: ???
All time rank: 2104 in The Netherlands The Netherlands
Week rank: 1154 Down35 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 4x


  Detailed description   Download Download .zip .tar.gz  
This is a package that can be used to share information between different processes using several types of shared memory containers.

A few shared memory container classes are provided implementing the same interface: file based, SysV shm, MySQL record.

The interface has functions for atomically fetching or storing shared memory data and also functions to start or finish transactions that allow multiple read or write access operations to be safely execute assuring the necessary integrity.

  Classes of Craig Manley  >  IPC Shared Memory  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IPC Shared Memory
Base name: ipc_sharedmem
Description: Access data stored in shared memory containers
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 1869 users
All time rank: 1955
Week users: 1 user
Week rank: 1517 Up
 
  Groups   Rate classes User ratings   Dependents   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image System information Information about servers, processes and operating system facilities View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
January 2005
Number 3


Prize: One book of choice by O'Reilly
Using shared memory is a solution for exchanging information between two or more processes or programs, that may or may not be running at the same time, in the same computer or even in different computers.

The uses of shared memory can be for instance: accessing to information application variables, exchanging messages between programs, etc..

Depending on the requirements of the applications that can benefit from its use, shared memory can be implemented using for instance OS specific shared memory extensions, memory mapped files and database accessible remotely via a network.

This class implements an abstracted solution that provides a single interface for accessing storing and retrieving information from different types of shared memory containers, thus making it possible to switch between container types as the requirements of an application evolve.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (87%) Good (87%) Sufficient (75%) Sufficient (68%) - - Sufficient (66%) 374
Month: Not yet rated by the users

  Other classes that need this package  
Class Why it is needed Dependency
Authen_DAP for shared memory Required

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file File.php Class File based shared memory class.
Plain text file MySQL.php Class MySQL based shared memory class.
Accessible without login Plain text file README.TXT Doc. Instructions
Plain text file SharedMem.php Class Common Interface class.
Plain text file ShmOp.php Class PHP shmop and sysvsem extensions based shared memory class.
Accessible without login Plain text file tfile_atomic.php Example Example/test script for IPC_SharedMem_File class.
Accessible without login Plain text file tfile_trans.php Example Example/test script for IPC_SharedMem_File class.
Accessible without login Plain text file tmysql_atomic.php Example Example/test script for IPC_SharedMem_MySQL class.
Accessible without login Plain text file tmysql_trans.php Example Example/test script for IPC_SharedMem_MySQL class.
Accessible without login Plain text file tshmop_atomic.php Example Example/test script for IPC_SharedMem_ShmOp class.
Accessible without login Plain text file tshmop_trans.php Example Example/test script for IPC_SharedMem_ShmOp class.

Download Download all files: ipc_sharedmem.tar.gz ipc_sharedmem.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.