Make the location implicit

URLs are the addresses of the internet. Each URL points to a location and your user can go there. However on the internet the addresses are not that important to the users and browsers. Especially since we can read almost any page on such a location. So the location doesn’t matter as long as we find what we expect. The URL and the link text both build an expectation in us....

April 3, 2011

Using user-generated HTML on webpages

Jeff on Coding Horror writes: Among programmers of any experience, it is generally regarded as A Bad Idea (tm) to attempt to parse HTML with regular expressions. You should read the rest of the article. I’m mostly of the same opinion about this as Jeff. Additionally I think that parsing HTML is a bad idea in the first place. One of the examples Jeff gives for parsing HTML is sanitizing user input....

February 13, 2010

First try Haskell web applications

I’m trying Haskell for writing Web applications. It should be really easy, but at the moment I’m missing the examples. The documentation doesn’t really help for generating the XHtml. The following bit of code is something that I found: Haskell and Web applications. The article contains a simple example. I changed the code in the example to use a table instead of the spans. This turned out to be really easy to do....

May 15, 2008