[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

A Business Analysts View: 3 XML Design Principles

  • To: "Roger L. Costello" <costello@m...>
  • Subject: A Business Analysts View: 3 XML Design Principles
  • From: w3c@d...
  • Date: Sun, 20 Feb 2005 12:09:57 -0700
  • Cc: 'XML Developers List' <xml-dev@l...>

business analysts
Roger,

Hope about an alternate view?  

One that is Business-Centric!  

Principle #1 - Making the XML match the business problem
you are trying to solve. XML is self-documenting - therefore
please use it to explain what is going on, rather than hide
what is happening.  

Principle #2 - machine time is much cheaper than people time.
Unless you are processing millions of these things a
second - optimize for people time first.

Principle #3 - If people find your angle-brackets hard to grok,
they are less inclined to use it. Some may view this as
job security - but it continues to dog XML adoption.

Making the XML match the business problem you are trying to solve.
I guess this is the difference between asking a business analyst
for the answer or an <angle_bracket> engineer ; -)

So given your task I would prefer something like:

<grape_harvesting>
   <pickers>
        <picker name="Fred" skill="3" years_experience="3"/>
        <picker name="John" skill="4" years_experience="0"/>
   </pickers>
   <farm name="Hill Top">
       <lots>
           <lot ID="1" location="X,Y"/>
       </lots>
       <harvest season="2004">
             <assignments>
                 <today>
                    <picker name="Fred" lot="1"/>
                    <picker name="John" lot="1"/>
                 </today>
             </assignments>
             <history>
              <week Jdate="254">
                 <activity picker="Fred" lot="1" grapes="25lbs"
start="8:00am" time="4hrs"/>
                 <activity picker="John" lot="1" grapes="25lbs"
start="8:00am" time="5hrs"/>
              </week>
             </history>
        </harvest>
   </farm>
</grape_harvesting>

Where the business goals aare tracking the grape harvesting, assigning
staff on a daily basis,
and then tracking each picker to assess pay (based on results) and
overall performance
(eg pickers may be operating on more difficult lots to pick on), etc. 
Once we grok what
the business needs are - much easier to design optimal XML.  Too often
people start the
other way around and that's when the XML / business syste,, interface
gets really ugly!

DW



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.