User Guide / Generating website using PCG / Design

Help on Design

PCG uses a module based approach. Consider every major elements as a module. On module user can define fields to hold data and actions to do any activity on the module. For every module in the generated code there will be a main table. PCG also uses many supporting common tables to store the common data across modules such as comments and images.

Adding new module

Click on the icon to add a new module to your website. You will be asked to enter the module name for your new module.

After adding a module user needs to add fields and actions before saving the module. Once it is saved it will be displayed under the module list in the left side.

Editing a module

The module currently active (being edited) is shown by an arrow right to the module name in module list display. User can change the active module by clicking the module name in module list display. User needs to save the changes before switching to another module otherwise the changes will be lost on the active module.

There will be four tabs in the module design screen.