4 |
* $Id$ |
* $Id$ |
5 |
* |
* |
6 |
* $Log$ |
* $Log$ |
7 |
* Revision 1.1 2003/04/06 01:35:25 jonen |
* Revision 1.3 2003/06/06 04:23:12 joko |
8 |
* + initial commit |
* minor update: comment |
9 |
* |
* |
10 |
|
* Revision 1.2 2003/04/06 04:35:58 joko |
11 |
|
* comments, prepared for phpDocumentor |
12 |
* |
* |
13 |
|
* Revision 1.1 2003/04/06 01:35:25 jonen |
14 |
|
* + initial commit |
15 |
* |
* |
16 |
*/ |
*/ |
17 |
|
|
18 |
/** |
/** |
19 |
* This implements an persistent storage for variables needed at links |
* LinkBuilder |
|
* where unique id are used to different the temporarly stored variables |
|
20 |
* |
* |
21 |
|
* This implements a persistent storage for variables needed at links |
22 |
|
* where unique id are used to different the temporarly stored variables |
23 |
* |
* |
24 |
* TODO: delete session entry after all needed stuff(entries) is loaded |
* It's similar to James A. Duncan's "Pixie", see |
25 |
* to prevent HUGE SESSION !! |
* Pixie - The magic data pixie |
26 |
* |
* http://search.cpan.org/author/JDUNCAN/Pixie-2.06/ |
27 |
|
* But that one - of course - is somehow more sophisticated. It offers multiple |
28 |
|
* storage implementations for your data payloads and also seems to implement |
29 |
|
* some locking strategies. (Pixie::LockStrat & Co.) |
30 |
|
* |
31 |
|
* However, their core concepts are comparable: |
32 |
|
* Expect an arbitrary variable as "data container" (hash prefered!?) and save it |
33 |
|
* away assigning an unique identifier for the slot the actual payload lives inside |
34 |
|
* the storage. |
35 |
|
* This identifier gets returned as a result of the save/store/create operation and |
36 |
|
* can be used later to get to the persisted data via a load/restore/retrieve operation. |
37 |
|
* |
38 |
|
* @todo prevent HUGE SESSION! delete session entry after all needed stuff(entries) is loaded to!! |
39 |
|
* @todo is php::CreateGUID expensive? review! |
40 |
|
* @todo maybe refactor to Data::PhpSpace::Persistent, which inherits from Data::PhpSpace? |
41 |
* |
* |
42 |
* @author Sebastian Utz <seut@tunemedia.de> |
* @author Sebastian Utz <seut@tunemedia.de> |
43 |
* @package org.netfrag.glib |
* @package org.netfrag.glib |
44 |
* @name LinkBuilder |
* @name LinkBuilder |
45 |
* |
* |
46 |
*/ |
*/ |
|
|
|
|
|
|
47 |
class LinkBuilder { |
class LinkBuilder { |
48 |
|
|
49 |
function LinkBuilder() { |
function LinkBuilder() { |