Category Archives: web style

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 […]

microformats: process discussion: search results as evidence

Before creating a microformat, the process demands a couple of concrete actions to be taken first. The general idea is to document current authorship techniques. If current techniques make it possible to encode a piece of information, there is no need for a microformat. Thus, we set ourselves up to make it difficult to create […]

implementing email over atom pub

It would be kind of neat to refactor email into a web style system which conforms to atom publishing protocol. POP3 could be a type of store. When a user wants to check their email, their email client software could ask the atom server “GET /email/messages?start=yesterday%20afternoon&count=100“. The server would respond with a list of members […]

atom pub, gdata, and one way to improve amazon+alexa

Has anyone tried using Amazon’s “RESTful” webservices? I’ve had many headaches using them. If I’m using PHP, I like to use nuSOAP to access SOAP services, because PHP’s facilities for XML (at least in version 4) are terrible. nuSOAP seems to have interop issues with some of Alexa’s/Amazon’s webservices, so that’s a pretty big turn […]

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: Give Yourself a URI with Hcard

Summary Use to describe yourself on a web page People are more important than computers. The “person” datatype, and implications for Search Presenting Hcard Hello World Hcard Demystified Using an hcard on your web page helps search engines learn more about you, can help people find your site, improves the computing ecosystem, and makes it […]

definition of microformat

A microformat is a specific collection of names, values, and accompanying structure defined through rigorous market research intended to consider pervasive use of semantic html that increases data fidelity in HTML-borne data widely distributed on the web. Microformats are more than one of these, eg: “hcard and hcal are microformats.” This is my definition for […]

toolbox: webdev unicorns: intro (0/4)

After years of using php for web development, my needs have changed, and I’ve decided to use python. I’ve been struggling to refill my toolbox with tools that suit my needs, and this post is the intro to a series of posts to capture my current findings in this search. There are five parts: intro […]

toolbox: webdev unicorns: servers (2/4)

Servers This is kind of a big topic because several components are so interconnected. Exposing Code to the Web I like cherrypy’s approach of navigating an object hierarchy slightly better than django’s approach of evaluating a list of regular expressions. The problem, of course, is how to deal with URIs that are illegal python symbols, […]