Differences between revisions 2 and 7 (spanning 5 versions)
Revision 2 as of 2007-02-24 10:57:17
Size: 1591
Editor: KaiJaeger
Comment:
Revision 7 as of 2007-02-24 12:22:07
Size: 1569
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= WhyUsingCategories =

== Overview ==
Line 3: Line 7:
If category names are chosen carefully, the concept is even more powerful. Imagine that you have several categories used to distinguesh between general articles and articles specific to a particular dialect of APL. An article about a special feature of Dyalog APL "Object Orientation" therefore should get the "!CategoryArticleDyalogObjectOrientation" category. If category names are chosen carefully, the concept is even more powerful. Imagine that you have several categories used to distinguesh between general articles and articles specific to a particular dialect of APL. An article about a special feature of Dyalog APL "Object Orientation" therefore should get the "!CategoryArticlesDyalogObjectOrientation" category.
Line 5: Line 9:
* If you serach for "CategoryArticle" now, you get a dynamically created list of all articles in wiki
* If you serach for "CategoryArticle" now, you get a dynamically created list of all articles in wiki
* If you serach for "CategoryArticle" now, you get a dynamically created list of all articles in wiki
* If you serach for "CategoryArticle" now, you get a dynamically created list of all articles in wiki
If you search for...

 * "!CategoryArticles" you get list of '''all'' articles
 * "!CategoryArticlesDyalog" you get a list of all articles '''related to Dyalog'''
 * "!CategoryArticlesDyalogObj" you get a list of all articles '''relateted to Dyalog starting with "Obj"'''

All of these lists are created automatically and dynamically and are therefore up-to-date.
Line 12: Line 19:
You can add several categories to a particular page. For example, you can add one or more of "CategoryDyalog", "CategoryDyalogDotNet", "CategoryGeneralUtilities". You can add several categories to a particular page. For example, you can add both "!CategoryDyalogDotNet" and "!CategoryGeneralUtils".
Line 14: Line 21:
When you think about a new category, check the list of already defined categories carefully! When you think about a new category, check the list of already defined categories carefully.

WhyUsingCategories

Overview

Adding a string "CategorySomething" to one of your pages is in first place nothing but a simple keyword. But there is some magic in place: That keyword is, according to the "WikiSyntax" linked automatically to a page of that name. If you follow the link, this page, if it's already existing, will create then a list of all pages containing that keyword. And because it is created dynamically when called, it is definitly *up-to-date*.

If category names are chosen carefully, the concept is even more powerful. Imagine that you have several categories used to distinguesh between general articles and articles specific to a particular dialect of APL. An article about a special feature of Dyalog APL "Object Orientation" therefore should get the "CategoryArticlesDyalogObjectOrientation" category.

If you search for...

  • "CategoryArticles" you get list of all articles

  • "CategoryArticlesDyalog" you get a list of all articles related to Dyalog

  • "CategoryArticlesDyalogObj" you get a list of all articles relateted to Dyalog starting with "Obj"

All of these lists are created automatically and dynamically and are therefore up-to-date.

Inventing a new category page is simple: choose the appropriate template - the name is obvious. That's it!

You can add several categories to a particular page. For example, you can add both "CategoryDyalogDotNet" and "CategoryGeneralUtils".

When you think about a new category, check the list of already defined categories carefully.

WhyUsingCategories (last edited 2009-03-26 10:49:55 by KaiJaeger)