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

Re: Which should come first: code, XML Schema, or binary speci

  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Fri, 02 Nov 2012 08:40:13 -0400

Re:  Which should come first: code
At 2012-11-02 12:11 +0000, Costello, Roger L. wrote:
>Hi Folks,
>
>I am examining Microsoft Visio.
>
>It is a nice drawing application. You can create neat pictures.
>
>You can save your drawing as a binary file.
>
>You can also save your drawing as an XML file which conforms to an 
>XML Schema for Visio.

Readers of the archive should check out http://Inkscape.org ... the 
native format is SVG XML.  I've converted all of my new work from 
Visio (1994) to Inkscape.  And it's free.

>So there are three components:

Four:

0. Capability/user/performance/conformance specifications.

>1. Code which expresses the capabilities of the application
>
>2. XML Schema which expresses the capabilities of the application
>
>3. Binary specification which expresses the capabilities of the application
>
>In the development of an application which should come first: code, 
>XML Schema, or binary specification?

Step 0 first.  That will give the requisite guidance on the other 
three parts.  I don't think in your example there is a strong order 
to the other three parts as they could be done in parallel.

In your example, where it is a standalone application and the binary 
format is solely for its own use, who cares about what the XML Schema 
is?  Perhaps, then, the code might be done first after the 
specification in order to determine what belongs in an external representation.

In another example, such as when having multiple applications that 
interoperate, there would be a lean towards doing the interchange 
document model first after the specification.  That would then give a 
guide to all applications about the information they have to deal 
with from other applications.

I suspect the Inkscape folks started with the SVG XML specification 
and built their entire product on top of that.  It provided the 
conformance specification and experience with other drawing packages 
provided everything else.  In that case the schema isn't *just* a 
format, it was the birth of the application.  So that breaks my answer.

I just worry that your question is too general.  And it misses the 
point that user/program requirements are top priority and their 
results will hint towards the emphasis needed on the other parts.

Horses for courses.  Each project will have a different profile.  I 
don't think there is a general guide.

I hope this is helpful.

. . . . . . . . Ken

--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.