In Part 1 we showed you the very basics of Arcos. In Part 2, we show more features by means of a larger example.
In this example, you will create four web pages:
Since we do not want to modify any of the previous pages we have written, we will put the new page definitions into a file called configuration.bigexamplepages.xml
.
We will put the recordset definition into a separate file called configuration.recordsets.xml
.
To create the extended example
configuration.1.xml
file and save it in the /config directory. Here is our code:
<Configuration>
<FileInclude File="configuration.database.xml"/>
<FileInclude File="configuration.pages.xml"/>
<FileInclude File="configuration.recordsets.xml"/>
<FileInclude File="configuration.bigexamplepages.xml"/>
</Configuration>
configuration.recordsets.xml
file in the /config
directory. The file is explained in the Recordset topic./admin/GenerateAllPages.php
. This will highlight any errors.InputSerch
) in a web browser.