WebConfig - Requirements guideline

From Catglobe Wiki
Jump to: navigation, search

<accesscontrol>Main:MyGroup</accesscontrol> There are some requirements you should specify clearly when making a request for the new webconfig keys:

WebConfig Requirements

Syntax

Syntax of that new key

Description

What is that? What's that used for? (The purpose of the key)

Type

Type of key's value (Int, UInt, Boolean, String...etc)

Required

Is that key required or not?

Default value

The default value for the key, if it is missing. Obviously it makes no sense to have a default, if it is required.

Recommend value

How should the administrator of the site determine what to set this value to.

Validation rule

Describe the validation rule for the key. We will base on these rules to implement the validation method for the

new one. If no any validation rule specified, we will implement the validation base on Type, Required...etc

Example

Give us an example of the new key plz