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