version=pmwiki-2.2.0-beta68 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 author=simon charset=ISO-8859-1 csum=not on trail host=202.37.32.2 name=PmWiki.WikiArchitecture rev=22 targets=PmWiki.PmWiki,PmWiki.WikiGroup,PmWiki.WikiTrails,PmWiki.MailingLists,PmWiki.WikiFarms,PmWiki.Categories,Sites.CNCLoisirsArchitecture,Category.DocumentationToDo text=!!How to design your wiki architecture with [[PmWiki]].%0a%0aMost wiki's are built upon page ensembles without hierarchical structure.\\%0a`PmWiki proposes more possibilities about general organisation.%0a%0a!!! Groups%0aThere is a hierarchical level defined by [[Wiki group]]s. Each wiki group allows:%0a* A unique menu (sidebar) for this group.%0a* The definition of access rights and specific page layout for the group.%0a* A unique 'namespace' for the group where pages call themselves by [@OnePage@] or [@[[one page]]@]. To go to pages outside the group, you have to declare the given group like: [@ThatGroup.OtherPage@] or [@ThatGroup/OtherPage@] (the second syntax doesn't display the group name on screen).%0a%0a->Though, one can use groups to make a hierarchy and get menus without a separate namespace, by building what is called a 'flat' namespace. This is described in [[Cookbook:Page Paths]]%0a%0a!!! To have more than one hierarchical level%0a%0aInside one group, it is possible to navigate from one page to another with [[wiki trails]]. These trails are handled by commands that look like [@%3c%3c previous page | pages index | next page >>@]. You can have multiple [[wiki trails]] for one group and each trail shall have its own index page. This allows for building multiple page ensembles inside one group or to have cross-group page organisation.%0a%0aWhile it is not possible in the basic `PmWiki distribution to create a second hierarchical level, there exists the possibility to name pages producing something like a second level, this is described in [[Cookbook:Subgroup Markup]].%0a%0aThe possibility to have subgroups has been intensively discussed multiple times in the [[mailing list(s)]]. A motivation for not using them can be found in [[(PmWiki:)Hierarchical Groups]].%0a%0aAnother way of adding a new level, mostly designed for content separation (e.g. when you want to separate some groups of users or some unrelated data), is to use [[Wiki Farms]]%0a%0a!!! Categories%0a%0aA non hierarchical organisation, allowing linking pages while defining their belonging to a category is proposed. One page can be member of multiple categories. Each category has its own group (but pages can be part of any other group). This functionality is in development, but it can be used now by following the recommendations of [[categories | using categories]].%0a%0a!!! Example(s)%0a%0aYou can find an example ('''not''' representative) of a wiki architecture organised with a unique 'flat' namespace: [[Sites/CNCLoisirs Architecture]]%0a%0aCategory: [[!Documentation ToDo]]%0a time=1220229640