...
Mockup | ||||||||
---|---|---|---|---|---|---|---|---|
|
Requests from users are processed by FarCry's built-in "smart controller" which automatically determines wiring based on the URL convention or the friendly URL sub-system. The COAPI always ends up calling a principal content type (a special type of class) that manages how we interact with the model
and view
. When thinking of views
(or webskins) its important to realise that they are always executed in the context of a specific content type.
...
Mockup | ||||||||
---|---|---|---|---|---|---|---|---|
|
Note |
---|
FarCry doesn't prescribe a specific templating architecture - you can get pretty sophisticated in your approach or keep it dead simple. Fandango is a good best practice starting point. |
...
Looking at our dmHTML content type in Fandango, we have at least the following views available:
- displayPageStandard
- displayTeaserStandard
- displayHeaderStandard
- displayFooterStandard
- displayBody
- displaySimpleSearchResult
Webskin Tracer
The tray that appears at the bottom of the website when you are logged in, contains a marvellous developer utility called the "Webskin Tracer". You can activate it for any page by simply selecting the webskin tracer option.
...