Login   Register  
PHP Classes
elePHPant
Icontem

Recursive reference serialize

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

  Author  
Picture of nghia nguyen
Name: nghia nguyen <e-mail contact>
Packages: 1 Browse all classes by nghia nguyen Browse all classes by
Country: Viet Nam Viet Nam - PHP jobs in Viet Nam
Age: 30
All time rank: 319416 in Viet Nam Viet Nam
Week rank: 2041 Up10 in Viet Nam Viet Nam Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to serialize objects with cyclic references.

It can take an object value and generate a string that represents the information contained in the object.

The class can also do the opposite, i.e. process a string with an object representation and recreate the original object value.

The class takes care of cyclic object references, i.e. objects that reference other objects and those objects contain references back to the original objects.

It uses object keys to represent object values and detect cyclic references.

  Classes of nghia nguyen  >  Recursive reference serialize  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Recursive reference serialize
Base name: recursive-serialize
Description: Serialize objects with cyclic references
Version: 1.0
PHP version: 5.1
License: The PHP License
All time users: 292 users
All time rank: 6142
Week users: 0 users
Week rank: 2369 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
May 2009
Number 3

Prize: One book of choice by Manning
PHP serialize function can generate a string that may represent complex data structures, including those that may contain object references.

However, it cannot handle the situation of objects that reference each other in a cycle.

This class provides a practical workaround that can serialize and unserialize objects with cyclic references.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
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
Accessible without login Plain text file post-serialize-by-manager.php Example post serialize by manager helper
Accessible without login Plain text file serialize-example.php Example serialize example
Accessible without login Plain text file serialize-object-by-manager.php Example serialize object by manager helper
Plain text file SerializeManager.php Class Serialize Manager
Plain text file TSClass1.php Class TSClass1 implement demo
Accessible without login Plain text file unserialize-object-by-manager.php Example unserialize object by manager helper

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