473,385 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

rules, dotnet applications and XML

vcp
<xml newbie>

Hi all,

We are considering using XML to specify rules, policies. This XML file
will be used to generate source code in either managed C++ or C#,
which will be implemention of API to be used by different applications
program (written in .NET language, for this dicussion). You can
contribute your ideas.

Time for an example. A company or a government body has lot of
policies which can be captured in the form of IF-THEN rules. These
rules needs to be accomodated in application program(s).

o Imagine an application program which processes visa applications,
social security etc.

o Imagine a application program at shopping mall counter (rules
related to discount etc.)

Bad thing about them (from the point of view of developers writing
application whose behaviour depends on those rules) is that they
change frequently. So if developer code them with rest of the
application in a manner that they are tightly coupled with rest of the
application, too bad ! Because changing code (when rules get changed)
might cause unexpected effects.

Common approach to deal with this is to separate IF-THEN rules from
application and having an API (so separate library takes care of
implementation) to be used by application(s).

Thats precisely what we are planning to do.

[ Rules Specification ]----> [Library in C++/C#]
|
|---> [ API ]
|
|
[ Application program ]
Let me get to the point. We are planning to have rule specification as
an XML file. Why ?

o We assume that it will be easy to develop a GUI to create/edit that
XML file, even some third party GUIs say M$ Excel 2003 might be used.

o We assume that govt orgs (specially US gov) will publish rules in
English and XML as well, for app programmer which means just copiing
new XML file and replacing old one. (making sure of authenticity
before go live ! )

Your comments are required, especially on XML part.
If anybody has already worked with such projects please write
something
TIA
Nov 11 '05 #1
0 1164

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David | last post by:
Hi everyone, I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes various public methods that can be called by several other independent Windows EXE applications (also written...
10
by: Darren | last post by:
OK, I'm trying to understand the need for this. If I understand correctly without this anyone can reverse engineer and obtain the source code of my application - is this correct? And this tool will...
1
by: Alex | last post by:
Dear colleagues I am going to deploy dotnet framework in our company. For this I need to do a risk assessment of dotnet framework. Thus I have following question: Is there an available risk...
4
by: Dave | last post by:
I need to add the ability to drag from a Windows Form and drop into a non dotNet application. For example, having a generated image in my app that I wish to drag out into explorer as a friendly way...
3
by: Bhaskar | last post by:
Folks, I have both Coldfusion and dotnet applications (written in 1.1 framework) on the same server. It's an Windows 2003 Server that has coldfusion installed first. My dotnet programs are...
9
by: Jim | last post by:
With .net having been around for a while now, does anyone know what the uptake of major software houses is in using .net for Windows Application development? e.g. have the likes of Adobe, MS,...
37
by: Master Programmer | last post by:
I love VB.Net! The next version is going to be even better. I'm sorry if I offended anyone with my rants. Please forgive me. OK?
7
by: Nick Chan | last post by:
hello, i've just started playing around with rules and udt is it possible to alter rule? are rules 'slower' compared to check constraint?
27
by: matt | last post by:
Hello group, I'm trying to become familiar with the information hiding design rules, and I have a lot (3) of questions for all you experts. AFAIK, a generic module has 2 files: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.