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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 #66 of 74 |
Re: Using Xrules, schema and XML to maintain CRUD for an application

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 or thin
clients. So, we have multiple front ends for the one backend.
My goal is to encapsualte all data validation rules in one place,
not
have them spread all over.

Examples of business rules i am talking about here are:
1. Product type:
2. prouct days

-Valid values for prodcut type are A, B, C
-Valid values for prodcut days are 01, 04, 10, 07
-Cross validate type and days. If type =A, days must be less than
10. If type = B, days must be greater than 02.

If I can encapsulate these types of rules in a structured document
(such as xrules doc), then all my front end developers can build
their applications(using the xml data doc and xrules doc) to
capture data from users and will send the xml data doc back to the
backend.

With this approach, If I want to add any new parameters, it will be
very dynamic. If I want to change a rule, its easier to implement. I
just have to release a new xrules doc every time there is a new
release of the software.

hope this helps..

--- In xrules@yahoogroups.com, "Waleed K. Abdulla"
<waleed_abdulla@...> wrote:
>
> 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 on XML documents? And, how do you enter the data? Are
your
> parameters calculated values based on other parameters?
>
>
>
> Regards,
>
> Waleed
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: xrules@yahoogroups.com [mailto:xrules@yahoogroups.com] On
Behalf Of
> Ravi
> Sent: Wednesday, March 21, 2007 10:42 AM
> To: xrules@yahoogroups.com
> Subject: [xrules] Using Xrules, schema and XML to maintain CRUD
for an
> application
>
>
>
> 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 application. Part of that is to CRUD(create, read, update,
> delete) a few thousand parameters(about 5000). Given the number, I
am
> looking for a dynamic way of doing this rather than coding for all
the
> parameters.
>
> I am aware that we have to sitdown and prepare the xrules data.
But
> this is my attempt to capture all that metadata in xrules and
being
> able to resue it for other front ends(for a thick client, or
different
> os, or a future front end).
>
> 1) has anyone done this type of stuff before?
> 2) is there any fundamental flaw in this approach?
> 3) is there any toolset to acheive this with minimal coding effort?
>
> Please share any thoughts..
>
>
>
> Messages
>
<http://groups.yahoo.com/group/xrules/message/64;_ylc=X3oDMTMxbnZyMTc
4BF9TAz
>
k3MzU5NzE0BGdycElkAzE0NzY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARtc2dJZAM2NAR
zZWMDZn
> RyBHNsawN2dHBjBHN0aW1lAzExNzQ1MzIzODkEdHBjSWQDNjQ-> in this topic
(1)
>
<http://groups.yahoo.com/group/xrules/post;_ylc=X3oDMTJvN3EyNDlrBF9TA
zk3MzU5
>
NzE0BGdycElkAzE0NzY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARtc2dJZAM2NARzZWMDZ
nRyBHNs
> awNycGx5BHN0aW1lAzExNzQ1MzIzODk-?act=reply&messageNum=64> Reply
(via web
> post) | Start
>
<http://groups.yahoo.com/group/xrules/post;_ylc=X3oDMTJmajRkbGNyBF9TA
zk3MzU5
>
NzE0BGdycElkAzE0NzY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsawNud
HBjBHN0
> aW1lAzExNzQ1MzIzODk-> a new topic
>
> Messages
>
<http://groups.yahoo.com/group/xrules/messages;_ylc=X3oDMTJmMW0wZWo1B
F9TAzk3
>
MzU5NzE0BGdycElkAzE0NzY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsa
wNtc2dz
> BHN0aW1lAzExNzQ1MzIzODk-> | Members
>
<http://groups.yahoo.com/group/xrules/members;_ylc=X3oDMTJmYTllbGptBF
9TAzk3M
>
zU5NzE0BGdycElkAzE0NzY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsaw
NtYnJzB
> HN0aW1lAzExNzQ1MzIzODk->
>
>
>
<http://groups.yahoo.com/;_ylc=X3oDMTJlZ3RoN2JsBF9TAzk3MzU5NzE0BGdycE
lkAzE0N
>
zY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTE3ND
UzMjM4O
> Q--> Yahoo! Groups
> Change
>
<http://groups.yahoo.com/group/xrules/join;_ylc=X3oDMTJnaG0yYzFxBF9TA
zk3MzU5
>
NzE0BGdycElkAzE0NzY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsawNzd
G5ncwRz
> dGltZQMxMTc0NTMyMzg5> settings via the Web (Yahoo! ID required)
> Change settings via email: Switch
> <mailto:xrules-digest@yahoogroups.com?subject=Email%20Delivery:%
20Digest>
> delivery to Daily Digest | Switch
> <mailto:xrules-traditional@yahoogroups.com?subject=Change%
20Delivery%20Forma
> t:%20Traditional> format to Traditional
> Visit
>
<http://groups.yahoo.com/group/xrules;_ylc=X3oDMTJlbGV2ZWxuBF9TAzk3Mz
U5NzE0B
>
GdycElkAzE0NzY4ODU0BGdycHNwSWQDMTcwNjAzMDM5MARzZWMDZnRyBHNsawNocGYEc3
RpbWUDM
> TE3NDUzMjM4OQ--> Your Group | Yahoo! Groups
> <http://docs.yahoo.com/info/terms/> Terms of Use | Unsubscribe
> <mailto:xrules-unsubscribe@yahoogroups.com?subject=>
>
> Recent Activity
>





Fri Mar 23, 2007 1:58 pm

rckv
Offline Offline
Send Email Send Email

Forward
Message #66 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
Online Now 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
Online Now 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