Pierre-Mikael Legris wrote:
> Hello,
> Here you will find 3 "ideas" Top Variables, Libs architechture and
> documentation standards.

I'm not sure that I entirely understand the Top-variable concept.
Nevertheless, I'd like to share a few thoughts. The basic purpose og TVs
is to save some data persistently without using a database. Persistent
data may be relevant at three levels:

* Session level
* Virtual server level
* Global level

Variables at session level are implemented in php4 as session variables.
Currently there is no session concept in mod_dtcl, but it would
certainly be very useful. It should be possible to use it together with
authentification or alone - possibly with a different authentifiation
scheme.

The php4 API is really simple and easy to use. When you want a session
variable, yout just have to register it using the function
session_register(variable_name). After that you can use the variable
like any other variable. It's automatically made persistent throughout
the session.

Persistent variables at virtual server and global level are relevant as
flags (semaphores?) for accessing system resources, as examplified in
the original posting.

regards, jfk

-- 
J�rgen Fr�jk Kj�rsgaard, Systemkonsulent (Systems Consultant)
Inform@ticon ApS * Web: www.informaticon.dk * Tlf: 8672 0093
Internet programmering * Systemudvikling p� Linux, FreeBSD og PalmOS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to