![]() |
introduction
iphlex > webphlex > documentation > introduction |
show contents
hide contents |
|
| ||
| ||
| ||||
|
top of page
| ||||
| page groups, pages and page elements
The basic unit of data is a page group. Each page group has
A page group consists of pages, each with its own template containing replacement codes, and the data with which these codes will be replaced during generation. When generated, a page will produce at least one output file, e.g. a HTML or Javascript file.
A page is made up internally of one or more page elements. Whereas the pages generate output files, a page element can never in itself produce an output file, but only form part of a page.
An element can consist of a block of text, an image, a hyperlink, or any combination of these.
| ||
(image_0009) |
|
| |||
|
top of page
| |||
| web sites and page groups
A web site can consist of one page group, or be made up of several.
Although a 'web site' as such doesn't exist in this system, page groups which form part of the same web site can be handled as a group by putting them on a list which represents the web site. To ensure internal link consistency, the entire web site can be generated before uploading any changed files.
| ||
(image_0007) |
|
| |||
|
top of page
| |||
|
the three types of page
A page group can consist of three types of page:
| ||
| ||
| the main page
The main page consists of a number of elements. Each element can be a block of text, an image, etc. A simple picture gallery page might look like this: | ||
(image_0001) |
|
|
| ||
| ||
|
If there are a lot of elements, the main page might be spread out over several files. Our picture gallery might have index pages for images 1-100, 101-200, etc.: | ||
(image_0002) |
|
|
| ||
| ||
| detail pages
Each element on the main page can generate a detail page. The detail page could for example contain extra text, an image, etc.
Using the picture gallery example, each preview image on the main page(s) is linked to its own detail page containing the full size picture, title, descriptive text etc.:
| ||
(image_0003) |
|
|
| ||
| ||
| extra pages
In many situations it can be useful to generate extra files based on the same data used to produce the main pages and detail pages. Any number of extra files can be produced for a page group. They can be generated for each main page, for each detail page, or just once for the whole page group (e.g. a HTML file containing a frameset). They can be HTML files, but also, for instance, Javascript routines which need to be different for each main page or detail page.
Continuing with the example of a photo gallery, suppose that for each detail page with the standard size photo we want another detail page with larger versions. For each main page an extra page will also be generated with preview images pointing to the large version detail files:
| ||
(image_0004) |
|
|
| ||
| ||
|
The group might also include a frameset page for the structure, and a search page showing all picture titles in alphabetical order. These will only be generated once for the page group: | ||
(image_0005) |
|
| |||
|
top of page
| |||
| language versions
Last but not least, the entire page group can be duplicated in different languages. | ||
(image_0006) |
|
| |||
|
top of page
| |||
(image_0015) |
|
| |||
|
top of page
| |||
| iphlex > webphlex > documentation > introduction | Copyright © 2006 iphlex systems |