Chapter 6. Wacs-PHP: The Skins

Table of Contents

Introduction To PHP Skins
Wacs-PHP: The Simple Skin
WACS and Web 2.0

Introduction To PHP Skins

In previous chapters we've mentioned that the WACS Application Programming Interface (API) is available in both Perl and PHP5. We've also mentioned that many commercial web sites will choose to design their own web pages and will make use of the extensive WACS database infrastructure and utilities via the API from such pages. Other people may simply be interested in using it to tailor the presentation of their WACS site to their personal preferences.

With the Skins project, we go a step further by providing an alternative WACS-based web site written using the Wacs API for PHP5. This can serve one of two purposes - to provide a more complex set of example programs for web designers to study in order to familiarise themselves with how the APIs are used, or it can simply be restyled and personalised to provide a turn-key porn web site quickly and easily. In due course we hope people will contribute some sample pages of their own and there may be a choice of components to make the process easier. Initially we are providing just one skin known as simple. To aid both understanding and the ease of restyling, the Simple Skin is implemented using an external cascading style sheet separate from the HTML output generated by the php programs.

[Note]Note

The Wacs-PHP Simple Skin is still very much an under development project and parts of it are not yet fully functional. You can always dive in and help us complete it quicker!

Wacs-PHP: The Simple Skin

The provided simple skin consists of a number of small PHP5 programs and a single large style sheet shared by all the applications. The php programs are:

Table 6.1. Simple Skin: Components

NameDescription
index.phpThe main menu of the simple skins site - equivalent to wacsfp in WACS itself
latest.phpThe simple skins combined new models, new sets and new videos page - no direct WACS equivalent
girlie.phpThe model page of the simple skins site - very loosely equivalent to wacsmpthumbs in WACS itself
directory.phpThe Alphabetic directory of models - similiar to just one of the modes of wacsmodelthumbs in WACS itself
galleries.phpThe index of galleries - a rather different approach from wacsshow in WACS itself.
gallery.phpAn individual gallery display - similiar to that produced by wacsimglist in WACS itself.
movies.phpA video clip version of the above.
photos.phpA photo set front page - similiar to wacsindex in info mode.
videos.phpThe video clip version of the above.
search.phpWhere the search system will be in the simple skin!