> Firstly I should explain the current scenario where I am working.
> The Consumer on our site submits some information and on the other
> side Agents submits a plan which has criteria and select conditions. The
> Consumer, as soon as submits the information, gets the calculated result
> (which is based on the Agent's plan that has several conditions).
My understanding, is this is like some insurance company, where you try to
say these are my information, and then there is a auto-agent, who will go
through your parameters, and then suggest a typical plan for the consumer.
Any business logic is composed of a how logic and a where logic, when there
is dynamism in any of them, you go for a rule based system. Let me
substantiate my thoughts with an example
A simple business logic is
if (C1 and C2) then <do something>
This business logic has to applied to verified in all the places, where
C1 or C2 is created
C1 or C2 is modified
C1 or C2 is destroyed
In your case the how is coded you people and where is decided by the agent.
At any point in time you need to have a universal set of conditions which
the agent may need to work on, once the system is up and running putting a
new condition definitely could increase the anal retentivity. Moreover in
your project the agent might want to change this at runtime.
> We have to speed up the current system which is based on String
> Manipulations in VB component.
You need something that can take in your data object and as you modify it in
your business objects, it generates the events to say a particular criteria
got selected and so on. (How and where again).
> We want to use XML, Xquery, XPath and all the new technologies for
> speeding up the application. Can anybody help ?
> Basically, the idea that I thought was to use XML template at the
> Consumer side, XPath on the Agent side (with VB DOM's selectmethod) but
> finally came to know that there are lot of restrictions on XPath (as we
> have lot of conditions for a same plan) so we decided for XSLT but
> whether that will be suitable and furthermore what all Microsoft related
> Transformation facility is there for getting the final result. I heard
> Xslerator will also help. Totally confused
> ..................................... which one to use ???
You see the restriction is not on the XPath, but the inherent
complexity/dynamism in the system. You could use a XML template for the
consumer or whatever, this just helps you in pulling the required data
faster. XSlerator helps you in transforming from one DTD to another DTD, and
as John has given quite a cool explanation to the whole thing, that is what
it does. It can be compared to tieasia's product or something to that tune.
IT STILL DOES NOT AUTOMATE..!!!!!!!!!!!!. What you need is not the actual
implementation but something a level higher at a meta level guiding agent
for them to make those rules and for the consumers to apply those rules on.
If you have money you can try
www.blazesoft.com - Advisor
www.ilog.com - Jrules
www.haley.com - Rete++, CIA Server (read the whitepapers here, you will gain
a good understanding)
and if you don't have money
http://herzberg.ca.sandia.gov/jess - JESS - Java Expert System Shell
http://www.ghgcorp.com/clips/CLIPS.html - CLIPS - C Language Integrated
and if you don't have money and have a lot of time