Category Archives: xml

webforms 2 submission/validation model

I was reading some of the webforms 2 spec, when I stumbled across the steps for form submission. The first step is to check the form for validity, presumably using an implementation in the user agent. The 6th and 7th step deal with encoding and sending the form to the server, and step 8, the […]

idea:schema2class using breve and metaclass

I’m sorry this renders so poorly. WordPress won’t let me use CSS, so I’m stuck, until I get a proper site of my own. Try either http://deadbeefbabe.org/paste/4031 or http://pastebin.ca/399774 to see it better. “”” An experiment using breve xml library, and metaclass. Author: Ben West Email: bewest at gmail blog: https://bewest.wordpress.com/ I hang out on […]

s-expression templating in python

I’m constantly on the hunt for the perfect templating module. When I was much younger, primarily doing PHP, I quickly saw that string concatenation and variable interpolation were not good solutions when trying to author lots of complex documents. I did some searching, and found Smarty, which satisfied my needs at that time. Over the […]

tools: atom and atompub

I just had a realization that I’ve been trying to invent ATOM and the Atom Publishing Protocol. I’ve been pining for web services, and a standardized way for representing resources and URI publishing patterns. I wanted it to work with storage engines of my choosing (eg, mercurial) so that I could use my favorite tools […]

toolbox: webdev unicorns: templates (1/4)

Templating is an important way for multi-disciplined teams to work together on software projects. In addition, they serve as an important component for making applications loosely coupled and more easily understood. Templating Kid, the templating language isn’t working out for me very well. There are some basic things that I don’t understand how to do, […]

toolbox: webdev unicorns: components (3/4)

The web is a big place, and being a part of it increases the value of both the network your application interacts with and your application. This creates a need to interoperate with other applications on the web, the fulfillment of which actually helps create a better end-user experience. What this boils down to are […]

idea: todo: improve amara’s scimitar api

First of all, if you haven’t seen amara yet, go check out amara today and stick it in your toolbox. It’s a very very nice library for python that lets you create objects out of XML documents. One of the nifty things amara provides, it scimitar, which is an implementation of schematron, a rich schema […]

germinal: idea: todo: closing a gap with dbus and python

There is an unnatural separation in many common computing environments between “web space” and “local space”. They are both equally foreign to users (meaning we aren’t evolutionarily equipped with tools for natively manipulating these spaces, and we aren’t indigenous to them), and so making a distinction between them doesn’t help us use them. There are […]

questions: amara and python

I’m a recovering PHP fiend so please forgive me if this is incredibly simple. One big reason I’m switching to python is all of the wonderful tools for manipulating XML. For example, the amara xml toolkit is exactly what I’ve been looking for. It’s really really nice. I’ve been toying around, and I was able […]