]> err.no Git - sope/blob - sope-core/NGExtensions/NGRuleEngine.subproj/README
906bc085c159877e1751980a16eadb4246fb6120
[sope] / sope-core / NGExtensions / NGRuleEngine.subproj / README
1 # $Id$
2
3 NGRuleEngine
4 ============
5
6 This is a rule engine inspired by the "BDRuleEngine" available from 
7 bDistributed.com (www.bdistributed.com).
8 We have choosen different class names, so that NGExtensions can be used
9 together with the BDRuleEngine framework.
10
11 It's a nice application of EOControl qualifiers and key-value coding to
12 implement a simple rule evaluation system. It consists of just five small
13 classes:
14   NGRuleAssignment
15   NGRuleKeyAssignment
16   NGRule
17   NGRuleContext
18   NSRuleModel
19
20 Priorities
21 ==========
22
23 You should normally use one of the predefined priorities:
24   - important (override)
25   - very high
26   - high
27   - normal/default
28   - low
29   - very low
30   - fallback
31 If you need fine-grained control, you can use priority numbers which should
32 be between 50 (low) and 150 (high).