PHP Classes
elePHPant
Icontem

Anyem: Exchange variable values between PHP servers

Recommend this page to a friend!
  Info   View files View files (38)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-07-29 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 121 All time: 9,054 This week: 251Up
Version License PHP version Categories
anyem 1.0.0GNU General Publi...5Networking, PHP 5, Language
Description Author

This package can be used to exchange variable values between PHP servers.

The server part listens to network socket connections on a given IP address and port to accept requests sent by the clients.

The clients can connect to the server and send several types of requests to manipulate variable values. Currently it can send requests to:

- Reserve a variable and returns his value
- Unreserve a variable and update it with a new value
- Delete a previously stored variable
- Unreserve a variable without changing its value
- Retrieve the value of the variable

The client can attempt to reserve a variable after a while if it is already reserved by another client. The limit number of attempts and the delay between attempts is configurable.

The limit of the length of a stored serialized variable is configurable.

The server uses the Judy Array extension to optimize the storage of variables for performance and size.

Innovation Award
PHP Programming Innovation award nominee
August 2015
Number 9


Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
Memcached is an application that is used to store and retrieve values of variables in a server that can be accessed by multiple clients.

This package implements an infrastructure to store and retrieve variable values that can be shared between multiple clients very similar to memcached, except that it uses PHP to act as server and stores variables in Judy arrays for greater efficiency.

Manuel Lemos
  Performance   Level  
Name: Anis Halayem <contact>
Classes: 1 package by
Country: Tunisia Tunisia
Age: 36
All time rank: 418915 in Tunisia Tunisia
Week rank: 745 Up2 in Tunisia Tunisia Up
Innovation award
Innovation award
Nominee: 1x

 

Details

ANYEM

PHP - Synchronized Data Structure Server

ANNYEM is an open source project, written in PHP, mainly for PHP applications. The main objective for this project is to have the possibility to have a 'static synchronized' variables for PHP Also, to share variables between any PHP Applications.

ANYEM is a Client/Server Application

ANYEM_SERVER : Written in PHP and it is based on Socket, it holds data in memory, and use Judy Array.

ANYEM_CLIENT : A client for PHP that offers for the developer to do : GET : reserve a variable and obtains his value PUT : unreserve a variable and push a new value DELETE : delete the Key/Value from ANYEM_SERVER RELEASE : unreserve a variable without changing his value READ : read the content of the variable from ANYEM_SERVER

  Files folder image Files  
File Role Description
Files folder imageANYEM_CLIENT (5 directories)
Files folder imageANYEM_SERVER (6 directories)
Files folder imageANYEM_SHARED (5 directories)
Files folder imagenbproject (2 files)
Accessible without login Plain text file README.md Data Auxiliary data
Accessible without login Plain text file readme.txt Data Documentation

  Files folder image Files  /  ANYEM_CLIENT  
File Role Description
Files folder imageanyem.client.api (2 files)
Files folder imageanyem.client.impl (3 files)
Files folder imageanyem.client.tst (4 files)
Files folder imageconfig (1 file, 1 directory)
Files folder imagenbproject (2 files)

  Files folder image Files  /  ANYEM_CLIENT  /  anyem.client.api  
File Role Description
  Accessible without login Plain text file IClient.php Class Class source
  Accessible without login Plain text file IClientConnection.php Class Class source

  Files folder image Files  /  ANYEM_CLIENT  /  anyem.client.impl  
File Role Description
  Accessible without login Plain text file AnyemClientImpl.php Class Class source
  Accessible without login Plain text file ClientConnectionImpl.php Class Class source
  Accessible without login Plain text file ClientImpl.php Class Class source

  Files folder image Files  /  ANYEM_CLIENT  /  anyem.client.tst  
File Role Description
  Accessible without login Plain text file AnyemClientMultiThreadTest.php Test Unit test script
  Accessible without login Plain text file AnyemClientReadTest.php Test Unit test script
  Accessible without login Plain text file AnyemClientTest.php Test Unit test script
  Accessible without login Plain text file ClientIncrementationTest.php Test Unit test script

  Files folder image Files  /  ANYEM_CLIENT  /  config  
File Role Description
Files folder imagelog4php (1 file)
  Accessible without login Plain text file anyem_config.properties Data Auxiliary data

  Files folder image Files  /  ANYEM_CLIENT  /  config  /  log4php  
File Role Description
  Accessible without login Plain text file config.xml Data Auxiliary data

  Files folder image Files  /  ANYEM_CLIENT  /  nbproject  
File Role Description
  Accessible without login Plain text file project.properties Data Auxiliary data
  Accessible without login Plain text file project.xml Data Auxiliary data

  Files folder image Files  /  ANYEM_SERVER  
File Role Description
Files folder imageanyem.app.server.api (1 file)
Files folder imageanyem.app.server.impl (1 file)
Files folder imageanyem.bsrv.impl (2 files)
Files folder imageanyem.bsrv.tst (1 file)
Files folder imageconfig (1 file, 1 directory)
Files folder imagenbproject (2 files)

  Files folder image Files  /  ANYEM_SERVER  /  anyem.app.server.api  
File Role Description
  Accessible without login Plain text file IServer.php Class Class source

  Files folder image Files  /  ANYEM_SERVER  /  anyem.app.server.impl  
File Role Description
  Accessible without login Plain text file ServerImpl.php Class Class source

  Files folder image Files  /  ANYEM_SERVER  /  anyem.bsrv.impl  
File Role Description
  Accessible without login Plain text file ResourceHolderImpl.php Class Class source
  Accessible without login Plain text file ResourceManagerImpl.php Class Class source

  Files folder image Files  /  ANYEM_SERVER  /  anyem.bsrv.tst  
File Role Description
  Accessible without login Plain text file ResourceHolderTst.php Test Unit test script

  Files folder image Files  /  ANYEM_SERVER  /  config  
File Role Description
Files folder imagelog4php (1 file)
  Accessible without login Plain text file anyem_config.properties Data Auxiliary data

  Files folder image Files  /  ANYEM_SERVER  /  config  /  log4php  
File Role Description
  Accessible without login Plain text file config.xml Data Auxiliary data

  Files folder image Files  /  ANYEM_SERVER  /  nbproject  
File Role Description
  Accessible without login Plain text file project.properties Data Auxiliary data
  Accessible without login Plain text file project.xml Data Auxiliary data

  Files folder image Files  /  ANYEM_SHARED  
File Role Description
Files folder imageanyem.bsrv.api (1 file)
Files folder imageanyem.resource.api (2 files)
Files folder imageanyem.resource.impl (4 files)
Files folder imageanyem.utils (4 files)
Files folder imageconfig (1 file)

  Files folder image Files  /  ANYEM_SHARED  /  anyem.bsrv.api  
File Role Description
  Accessible without login Plain text file IResourceHolder.php Class Class source

  Files folder image Files  /  ANYEM_SHARED  /  anyem.resource.api  
File Role Description
  Accessible without login Plain text file IResource.php Class Class source
  Accessible without login Plain text file IResponseWrapper.php Class Class source

  Files folder image Files  /  ANYEM_SHARED  /  anyem.resource.impl  
File Role Description
  Accessible without login Plain text file ResourceIdentifierImpl.php Class Class source
  Accessible without login Plain text file ResourceImpl.php Class Class source
  Accessible without login Plain text file ResourceWrapper.php Class Class source
  Accessible without login Plain text file ResponseWrapperImpl.php Class Class source

  Files folder image Files  /  ANYEM_SHARED  /  anyem.utils  
File Role Description
  Accessible without login Plain text file AnyemConfigReaderimpl.php Class Class source
  Accessible without login Plain text file AnyemDateTimeUtilsImpl.php Class Class source
  Accessible without login Plain text file IAnyemConfigReader.php Class Class source
  Accessible without login Plain text file IAnyemDateTimeUtils.php Class Class source

  Files folder image Files  /  ANYEM_SHARED  /  config  
File Role Description
  Accessible without login Plain text file anyem_config_shared.properties Data Auxiliary data

  Files folder image Files  /  nbproject  
File Role Description
  Accessible without login Plain text file project.properties Data Auxiliary data
  Accessible without login Plain text file project.xml Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:121
This week:0
All time:9,054
This week:251Up