Here are the definitions to some common terms
B
- BML Better Markup Language
A website template system written in Perl using Apache and mod_perl.
F
- FotoBilder
FotoBilder is a package of tools that allow you to create and maintain galleries of images
that can be used on the internet or a personal/corporate intranet.
FotoBilder is a compound german word: "das Foto" (photo) & "die Bilder" (pictures).
See Also PicPix.
G
- Gallery
An abstract element most often containing a group of pictures.
- Group
A user-defined list of peer accounts; used for setting security bits on elements.
P
- PicPix
PicPix is the internet photo gallery service that has been built using FotoBilder
as the primary backbone. Part of the money from the PicPix service funds the
development of the FotoBilder project.
S
- S2 Style System 2
A powerful user-layout template system, written in Perl and Java.
- Short Names
User defined abbreviated names for galleries which help speed the process of moving or
adding pictures.
- Scheme
A collection of BML templates that comprise a unique layout.
- Style
All S2 Layers that comprise a user's layout.
See Also
S2 - Style System 2
$Revision: 1.1 $
$Date: 2002/11/17 21:48:29 $
JesseProulxjproulx@livejournal.com
1.12002-11-15jproulxInitial version
S2 - Style System 2Introduction
S2 is actually a programming language, with syntax and semantics resembling Perl/C+/Java/etc.
S2 code is compiled into a lower level language (currently Perl) and run directly when the
page is loaded.
Influential Properties
While most properties defined in the core layer and layout layers are used only by the layers
themselves, the values of certain properties influence the engine that supplies the S2 data structures.
Those influencial properties are listed in the reference below.
prop_init()
The prop_init() function is the initial entry point called by the system,
and it's called before the influential properties are examined. This gives you a place to
conditionally setup the influential properties, if you don't want your layout layer to directly
expose them to the user.
Setting $*gallery_max_page_size
For example, if you wanted to allow the user to specify a grid layout of the displayed
thumbnails on a gallery page, you could create two properties: rows
and cols, and then calculate $*gallery_max_page_size
from those properties. By using this technique, the formula you write that calculates
how many pictures to display will be fed an appropriate number of pictures.
property int rows {
des = "Number of rows of pictures";
min = 1;
}
set rows = 5;
property int cols {
des = "Number of cols of pictures";
min = 1;
}
set cols = 5;
function prop_init ()
{
$*gallery_page_max_size = $*rows * $*cols;
}Reference$*thumbnails1$*gallery_min_page_size1$*gallery_max_page_size1Drop in sections for "language ref", "porting", etc.