KBD

Keith Devens .com

Saturday, August 30, 2008 Flag waving
That's all I have to say about that. – Forrest Gump
← Declarative ProgrammingHTTrack Website Copier →

Daily link icon Tuesday, August 5, 2003

Yet another XML API (for Python)

Uche Ogbuji: Anobind - A Python/XML data binding, serving as a very Pythonic XML API

Example: given this:

<monty>
 <python spam="eggs">What do you mean "bleh"</python>
 <python ministry="abuse">But I was looking for argument</python>
</monty>

You write things like this:

binding.monty.python.spam

There are other such tools for Python, and what makes Anobind unique is that it's driven by a very declarative rules-based system for binding XML to the Python data. One can register rules that are triggered by XPath-like expressions or plain Python code in order to register specialized binding behavior.

Ok, I'll have to check that out Smiley

See, a language that allows you to overload its syntax (unlike Java) can allow much more natural programming that has a much lower "cognitive load".

← Declarative ProgrammingHTTrack Website Copier →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

August 2008
SunMonTueWedThuFriSat
 12
3456789
10111213141516
17181920212223
24252627282930
31 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

new⇒Johnny Walker Blue Label

Wow, thanks for the scotch review​:D

Lagavulin and Laphroaig are​some of...

Keith: Aug 29, 3:35pm

Girls, please don't get breast implants

Wow, After all this time, the​comments on this page continue to​grow. It wa...

Ajeet: Aug 25, 2:36am

Generated in about 0.153s.

(Used 8 db queries)

mobile phone