Wiki Domain Guide Pub

This is a domain-driven Wiki... what does that mean?

Domain

The domain is a set of categories and associations between them.

Let's look at a simple Blog Post association. If you look at Blog you will find this in the meta section:

{{roles:Post:Child}} displayed as {{Has Post(s)}} a blog has posts

This indicates that a Post is a child of a Blog. This is where the domain-driven nature kicks in: all blogs will have the option to create Posts.

If you look at Post, you will notice:

{{roles:Blog:Parent}} displayed as {{Owned by Blog(s)}}

Which simply is the flip side of the same coin, indicating that Blog is a parent for Post.

You will also notice that child categories cannot be created without a parent.

See more in the Wiki Category Guide.

WikiDomain

API: this domain is loaded, indexed and available to drive behaviour, inside the engine.


Was this useful?    

By: Razie | 2014-11-30 .. 2022-10-22 | Tags: admin , guide


Viewed 810 times ( | History | Print ) this page.

You need to log in to post a comment!