This is something about your design, not about the web2py. You may,
for example, define your "rules" table, and let your app's user (ok,
"maybe he is a system administrator") to define new rules. But after
all, these rules are logically stored as data inside web2py's db.
Then, you may define specific actions to use those rules.
PS: I am doing same thing in my app, an order management system.
Perhaps we can exchange some experience in private mail.
On May 27, 12:57 am, BearXu <
bearx...@gmail.com> wrote:
> The reason to save some rules into the database is because sometimes these
> rules are changing with time. So maybe every year we have a new version of
> rules. We may add some new rules in the future.
> What is a better solution?
>
> 2009/5/26 BearXu <
bearx...@gmail.com>
>
> > yesMaybe the customer is a system-administrator.