Search the web
Sign In
New User? Sign Up
xrules · XRules & DynamicDOM
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Using Xrules, schema and XML to maintain CRUD for an application   Message List  
Reply | Forward Message #70 of 74 |
Re: [xrules] Re: Using Xrules, schema and XML to maintain CRUD for an application

Waleed K. Abdulla wrote:
>
> I agree with Dave’s comment that XRules is suitable for the .NET
> platform because there is only a .NET implementation right now.
> However, in terms of speed, I would argue that XRules is faster than
> Schematron. I haven’t done any testing, but I’m basing my opinion on
> the following:
>
> 1. Schematron also loads the whole XML document into memory (that’s
> necessary to implement XSLT transformations, which are used
> behind the scenes)
> 2. XRules doesn’t do any XSLT transformations and therefore escapes
> these resource-intensive operations. On the other hand,
> Schematron performs two XSLT transformations for each validation.
> 3. XRules provides syntax to easily select the nodes and context in
> which XPath expressions work, while in Schamtron all expressions
> are global. Therefore, you’ll notice that XRules expressions are
> consistently smaller and easier to write and read than
> Scheamtron expressions. And, expectedly, simpler expressions run
> faster.
>
> And, other than performance, XRules provides many features that are
> impossible to implement in Schematron due to it’s dependency on XSLT.
> Obviously, dynamic validation and dynamic node updates are the most
> obvious, but also XRules Properties, simpler expressions, and more
> built-in rules.
>
Yep, agree with all of these. However, how XSLT is implemented varies
from implementation to implementation. Plus, unless you implement SAXON
.NET, there is still no support for XPath 2.0, which is much improved
over XPath 1.0. Regardless, XRules is still a very good rule engine...
Now if it just worked with Java. :)

Dave




Mon Mar 26, 2007 12:38 pm

d_a_carver
Offline Offline
Send Email Send Email

Forward
Message #70 of 74 |
Expand Messages Author Sort by Date

Hello all.. I am fairly new to xrules. seems like an interesting concept and may solve the problem I am trying to resolve. I am trying to design a web based...
Ravi
rckv
Offline Send Email
Mar 22, 2007
2:59 am

Ravi, I'm not sure I fully understand your proposed approach. XRules is suitable for encoding and executing business rules on XML documents. Are you doing CRUD...
Waleed K. Abdulla
waleed_ka
Offline Send Email
Mar 23, 2007
9:45 am

Waleed, Thanks for your response.. Our backend parameter data is exposed as XML documents for other groups to build a CRUD application. These groups use thick...
Ravi
rckv
Offline Send Email
Mar 25, 2007
8:13 am

Ravi, This is a good use case. Sure, you can encapsulate your validations in an XRules document and use it on the client to validate the XML data. All you need...
Waleed K. Abdulla
waleed_ka
Offline Send Email
Mar 25, 2007
10:32 am

... XRules would be my first choice for a Windows platform, with small data sets. Reason I say small data sets is that it loads items into a DOM, which means...
David Carver
d_a_carver
Offline Send Email
Mar 25, 2007
2:08 pm

I agree with Dave's comment that XRules is suitable for the .NET platform because there is only a .NET implementation right now. However, in terms of speed, I...
Waleed K. Abdulla
waleed_ka
Offline Send Email
Mar 26, 2007
6:57 am

... Yep, agree with all of these. However, how XSLT is implemented varies from implementation to implementation. Plus, unless you implement SAXON .NET, there...
David Carver
d_a_carver
Offline Send Email
Mar 26, 2007
11:47 am

Thank you Waleed and David for your valueble comments. I am going to start with making it work with .net. Obiviously my other challenge is being able to...
Ravi
rckv
Offline Send Email
Mar 27, 2007
1:48 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help