Friday, December 21, 2007

Schema-Typed Languages

BEA Systems may have invented something quite novel and useful. In a recent patent application, BEA's John Schneider proposes using XML schema definitions as data types in, say, ECMAScript. The main intuition is that you would use an import statement to make the interpreter aware of a particular schema definition. From that point on, you could instantiate whole objects based on that schema def, or (if it's a simple data type) declare variables to be of type "MyElement.xsd" and manipulate them directly. Type-checking is delegated to the schema validator; and suddenly you have a scripting language that acts like a strongly typed language and groks XML to boot.

At first blush, it sounds and feels a lot like a new twist on object relational mapping, but it's actually a bit more than that. This goes to the heart of language design and behavior.

Neat. I wonder what BEA plans to do with it next?

5 comments:

  1. Anonymous5:18 PM

    look this is the "diet" i told you about you should really enter the site :) bye enter the site

    ReplyDelete
  2. To generate onlinefreerobux for the free roblox robux game to play free then use my link www.onlinefreerobux.com/ for the free and online play to enjoy the roblox free robux game.

    ReplyDelete
  3. A great information about Schema and XML Thanks for sharing ,Your Post is very helpful and information is reliable for new readers.
    Website Designer Amravati

    ReplyDelete


  4. You need to cover a lot of ground to write a good research paper. But it gets easier with our help!
    Just tell us your topic and download a custom-made research paper when it’s due. https://gurudissertation.net/

    ReplyDelete
  5. Our online assignment makers understand all your demands and work in the asked direction to compose an accurate assignment. You must contact Assignment help and seek the best help.
    Engineering Assignment Help

    ReplyDelete

Add a comment. Registration required because trolls.