LinuxWorld.Com: Intro to programming in LXP
Dec 12, 2001, 12:14 (0 Talkback[s])
(Other stories by Joshua Drake)
[ Thanks to Joshua
Drake for this link. ]
"My first article on LXP was essentially an
introduction, and a basic HOWTO on LXP as a whole. This article
will detail the basics of creating an actual application with LXP.
However, before we get into that, I would like to introduce you to
a particular feature of LXP -- reserved objects.
LXP, like PHP, implicitly creates a global variable in memory
for each CGI argument passed to it. Legal characters in a
variable's name are any number, any letter, and the underscore.
Additionally, LXP can set variable values associated with an LXP
An object represents a collection of variable values, referenced
through a common name. A variable within an object can be set and
referenced either by a period, or by square brackets following the
object name (e.g., myobject.value, or myobject ). LXP's argument
parser identifies periods and brackets if they are passed to LXP
through an HTML GET or POST method. Once the arguments are passed
the corresponding objects will be built, with the exception of