Table of Contents
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 | |
---|---|
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! |
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
Name | Description |
---|---|
index.php | The main menu of the simple skins site - equivalent to wacsfp in WACS itself |
latest.php | The simple skins combined new models, new sets and new videos page - no direct WACS equivalent |
girlie.php | The model page of the simple skins site - very loosely equivalent to wacsmpthumbs in WACS itself |
directory.php | The Alphabetic directory of models - similiar to just one of the modes of wacsmodelthumbs in WACS itself |
galleries.php | The index of galleries - a rather different approach from wacsshow in WACS itself. |
gallery.php | An individual gallery display - similiar to that produced by wacsimglist in WACS itself. |
movies.php | A video clip version of the above. |
photos.php | A photo set front page - similiar to wacsindex in info mode. |
videos.php | The video clip version of the above. |
search.php | Where the search system will be in the simple skin! |