Perch | Kirby | more information |
---|---|---|
mysite.com/perch | mysite.com/panel | |
Page Properties | make a page tab in the panel | tabs in panel |
<?php perch_layout('header');?> |
<?php snippet('header') ?> |
snippet |
Page template | 1. In a blueprint of the page, for the data definition and panel appearence | 2. In a page template for the frontend website |
update by replacing /core/ | update by replacing /kirby/ | update kirby |
Perch datamodel
The definition of the data, the presentation of the field in Perch editor and the frontend presentation of this fields content is all defined in one place: in the content template.
The data is stored in a mySQL database.
Kirby datamodel
The definition of the data as well as the presentation in the Kirby Panel is defined in blueprints.
The website HTML is defined in page templates.
The data is stored in text files. It is possible to only define the blueprint for a page and fill in the data textfile by hand to make the website page appear. If you don't want to use the Panel you dont have to. This makes it possible to easily fill the initial site with existing data.