|
The PARSEC Download
The download consists of one directory which contains several sub directories. The are six sub directories: Applications, Commands, Metadata, Programs, Schemas and Templates. How they're used and what they contain is described in the following sections.
Also, included in the PARSEC download are a number of tutorial examples which are explained elsewhere. Each example is presented as a mini system but is based upon the same Metadata as used by the Website example. For the purposes of clarification these tutorial systems are ignored in this description.
Applications Directory
This directory contains a Website sub directory that is named after the System being implemented. The Website directory contains five further sub directories. A Bin directory which holds the generated HTML page code, an Images directory that holds various logos, icons and graphics which are used on the site, a Styles directory which holds the Websites Cascading Style Sheet, a Source directory that contains files that form part of the site but are not generated and a Text directory that holds files supplying the main textual content for Sub Pages when the HTML for the Website is generated.
Commands Directory
A simple batch file called Gen.bat that invokes PARSEC with the correct parameters is contained in this directory. To generate code, just double click on it from within Windows or type "gen" from the command line when in the directory.
Metadata Directory
This contains Website, Domain and WEB sub directories on subsequent levels. The WEB directory contains a number of plain text files each of which correspond to an object in the Website Analysis Model. The files provide the data which populate the objects in the model. Making a change to these files and regenerating, changes the Website.
Programs Directory
This contains the PARSEC executable invoked by Gen.bat.
Schemas Directory
This contains the systems Website directory which in turn contains three plain text files OBJ.txt, ATT.txt and REL.txt. These files define the object schema that PARSEC is to work with. For normal code generation they would describe the PLASMA Metamodel, but for this example they simply describe the Website Analysis Model.
Templates Directory
This contains a Website directory that contains the template files used by PARSEC to build the system.
|