|
User Management Guide |
This chapter describes an alternative method of profiling, using rules instead of attributes.
This chapter has these sections:
For an overview of profiling with rules, see
The User subsystem.
If you are developing an application that implements profiling extensively, you should consider using Director's Rule subsystem. The following scenario suggests how rules can be applied to user profiling.
Suppose you have a retail Web site where you want to track the total amounts of customers' Web purchases and specify a threshold amount that triggers a special discount. Here is how you could use rules to develop this application:
Add a user attribute to track the amountAllPurchasesAmt, for example.
In the Rule Editor, create a rule using the built-in CheckWhiteboard condition that allows you to check user profiles (through the ^attributename syntax). Enter a threshold amount and give it a key valuesuch as ^threshold. For the action section you can return a boolean or appropriate content.
For more information, see the chapter on developing rules and pipelines in the Rules Guide.
Conditions and actions are available in the Director rules engine to interact with the User and Content Management subsystems (through the Content Query Action). This means you can easily implement personalization rules like this:
If "UserAge" > 35 AND "PortfolioTotal" > 30,000 Then Select Investing Documents Level 3 AND set "FinanceLevel" to "Gold"
Through Director's easy-to-use API, custom tag library, and rules engine conditions and actions, you can quickly deliver personalization services to users. This persistence mechanism for user data is leveraged by other Director subsystems to store user-related information. The Portal subsystem, for example, stores user-defined layouts, pages settings, and component customization parameters.
|
User Management Guide |
Copyright © 2000, 2001, 2002, 2003 SilverStream Software, LLC, a wholly owned subsidiary of Novell, Inc. All rights reserved.