Re: Beginners questions about Xaraya
"Jason Judge" <[email protected]> Mon, 13 Oct 2003 09:18:40 +0100
| Newsgroups | gmane.comp.cms.xaraya.documentation |
|---|---|
| Organization | Xaraya News Server |
| Message-ID | <[email protected]> |
"SpiritTech" <greg-7AJS2N3YFopQWC9lL0RKGQC/[email protected]> wrote in message news:[email protected] This should answer some of the main questions. Most of the remainder focus on one specific module - the "articles" module - and others are probably better at answering those questions than me. > 1 What are the basic bulding blocks of Xaraya? How do they interoperate? The core (stuff in the includes directory) handles each page request. Modules provide units of functionality, and can be extended or disabled as required. Some modules are mandatory, meaning that the core system expects them to be there. There is an instance of ADODB, which is a tool that manages all database connections and queries. > 2 What is a Template? A template is a file that defines how some content will be rendered (displayed). It takes output from a module and formats it using various rules. Templates can be very simple or very sophisticated. A normal page usually consists of many templates, each nested within each other. Each module has a default set of templates that it uses, but you can over-ride that template by creating a theme. You can switch themes at will, and each page request will always check whether there is an over-riding template in the current theme (for that page request) before using a default template. > 4 Are Templates and Publication Types related? How? Each publication type uses a specified template to display the content of that type. This means each publication type can have a different layout or format.