Re: GWT and Client-side rules engine
I kind of wanted to have the rules stored as a business logic - albeit running on the client side. - So the rules themselves are editable by a super-group of users via an editor or atleast in form of xml. This requirement is something similar to drools.
The normal users enter data in some form of table - and the rules automatically run in the background to ensure data validity. The validations are not just data validation but also business logic validation - this requirement is a bit different from drools where the check runs only when the engine is fired/started. In my requirement the checks run continuously in the background - and popping errors whenever the entered data violates some business constraint. - this requirement is similar to having functions in M$ excel
Not sure if i am being too ambitious with the requirements - but any pointers is useful.
On Friday, August 9, 2013 3:49:17 PM UTC-4, salk31 wrote:
-- The normal users enter data in some form of table - and the rules automatically run in the background to ensure data validity. The validations are not just data validation but also business logic validation - this requirement is a bit different from drools where the check runs only when the engine is fired/started. In my requirement the checks run continuously in the background - and popping errors whenever the entered data violates some business constraint. - this requirement is similar to having functions in M$ excel
Not sure if i am being too ambitious with the requirements - but any pointers is useful.
On Friday, August 9, 2013 3:49:17 PM UTC-4, salk31 wrote:
I've only heard of MVEL (an expression language) and metawidget (meta data driven UI). Do you really mean a rule engine like Drools? If so I can't imagine there is anything like that off the shelf. It is still quite exotic (if not that new) for the client side.If you just want something like MVEL then why not just JavaScript scripting? Write the framework in GWT but script/rules in JavaScript?
On Friday, August 9, 2013 2:38:21 PM UTC+1, asif...@gmail.com wrote:Hi,
The architecture and requirement is as follows
1>. The application has an extensive domain model and significant amount of business logic
2>. At runtime, the user populates data in the domain model.
3>. "The rules engine" evaluates the data and takes various actions including
a>. Change subsequent data entry forms and data entry process flows
b>. Pops up ui errors.
Since, I don't want to undergo the cost of server roundtrip for each evaluation, I am looking for a good architecture or pre-built client side rules engine.
In the threads, I came across
1>. Jess
2>. MVEL
3>. Tohu
4>. Metawidget
A brief browse, and I have a feeling that MVEL would be the way to go. Tohu is kind of ruled out for the same reason that I steered clear of Drools/jBPM.
Any expert ideas? Anybody else has attempted anything similar - would love to get their view.
Regards
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home