Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Seeking configuration language for rules based system.

by Biker (Priest)
on May 15, 2002 at 07:45 UTC ( #166660=note: print w/replies, xml ) Need Help??

in reply to Seeking configuration language for rules based system.

From your description it sounds like this is a commercial system where one could assume a certain level of commitment and some serious resource availability. (Correct me if/where I'm wrong.)

I here assume that you have a backend database for prices, 'gizmos', etc. I guess it's some kind of SQL database. If so, I would implement the rules system in the backend database.

You build your frontend application to understand possible generic rules like 'volume discount percentage' and 'volume discount threshold'.

Then you let your co-worker manipulate the rules in the database, using any tool s/he's comfortable with. Either a specific tool built by you or a generic database manipulation tool, all depending on your co-workers skills.

So your co-worker could make sure that for 'gizmo', the client must by 30 units before having a volume discount, but for 'thing' the client must buy 50 units. Furthermore, the volume discount for 'gizmo' is 20% whereas for 'thing' it's 23%. Etc.

Everything went worng, just as foreseen.

  • Comment on Re: Seeking configuration language for rules based system.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://166660]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2017-12-16 13:42 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (453 votes). Check out past polls.