-
Templating and Integration Guide
- Part 1: Concepts
- Part 2: Modules
- Part 3: Templates and Studio
- Part 4: Content Definitions and Views
- Part 5: Advanced Techniques
- Part 6: Setting up an integration environment
- Part 7: Step by step integration
- Further reading and resources
The Jahia actors
Let’s have a look at the global flow of content in the web layer (the top layer of the software) to understand what are the different actors and how you, as a developer, have responsibilities’.
![jahia6_6_integration_en-9.png [image]](/files/live/sites/jahiacom/files/documentation/6.6/en/images/IntegrationGuide/jahia6_6_integration_en-9.png)
Editors will login to the system and start creating sites, pages and other content types that were specified by the developers. They use Jahia’s Edit mode or the simpler Contribute mode to submit content and build the site bit by bit. As they enter content, rules, actions are used to perform logic actions upon submission; and then templates, scripts and finally macros are used to output the resulting HTML.
Visitors will surf anonymously or login to the system, browse the site and interact with any dynamic object types that the editors and developers have made available to them. An example of such a dynamic object could be a forum, or a comment list. The content they contribute is called “User Generated Content” (or UGC). Again, Jahia will use the templates, scripts and macros to render the pages for the visitors, and if they are allowed to enter content, rules, actions and content definitions will again come into play (but not illustrated above to keep the diagram simple).
Developers, integrators and webmasters will mostly interact with the studio as well as modules to create templates so that the other users may use a system that has been customized to their needs. In this role, this will enable them to « lock » the look and feel of the web site, as well as the content definitions, rules or any other custom logic needed.
Webmasters and/or editors will then use the output of the previous work to populate the site with content, using the edit mode and/or the contribute mode. The edit mode is a really powerful content editing interface, mostly targeted at advanced users, while the contribute mode is an easy-to-use content editing interface aimed at basic content editors. It should also be noted that integrators are free to customize the contribute mode to their requirements, in order to tailor the experience for the editors. Once the editors are happy with the content, they may use the workflow to publish the modifications to the live workspace (or if they are not directly allowed to do so, they may start the review process), at which point it will be available to site visitors.
Site visitors may then browse the site, and if allowed, also input user-generated content in modules such as the forum, wiki or another other components deployed in the site.

