17 Mar 2008

JavaScript Based Code Prettification

As seen on Google Code’s new and improved source browser.

tomayko.com   18:02

14 Mar 2008

Administrative Debris

“I hold that simplicity is the most important attribute of design,” I say. To which Tufte would reply, “No, you don’t.”

tomayko.com   13:13

08 Mar 2008

So, What Does "HREF" Stand For, Anyway?

Today it occurred to me that, after a little over ten years of basic fluency in HTML, I have absolutely no idea why the href attribute is named “href”. Why not “url”, “link”, or even just “ref”?

tomayko.com   20:46

03 Feb 2008

PrinceXML Is Extremely Impressive

I didn’t know it was possible to build such nice closed-source programs.

tomayko.com   01:06

22 Jan 2008

IE8 To Make Tender Chickens

“The MIT guy did not like this solution because it was not the right thing.”

tomayko.com   14:31

18 Jan 2008

Full Page Zoom Is For Sissies

Did I ever tell you about the guy that spent the better part of a day making his site’s layout entirely em based …

tomayko.com   12:57

18 Jan 2007

This word - "Web" - I do not think it means what you think it means.

Somebody pinch me; this must be a nightmare.

tomayko.com   07:47

27 Oct 2005

The Zen of Microformats

How to understand what those barbarians are doing over there and why your going to keep on hearing about it.

lesscode.org   17:00

05 Jan 2010

Optimizing Optimizing HTML

Oh neat. You can drop the type='text/javascript' from your <script> tags, type='text/css' from your <style> (and/or <link rel='stylesheet'>) tags and the browsers won’t care. Also, in 2010, <b> and <i> are cooler than <strong> and <em>, and trailing slashes on self closing tags are lame.

Personally, I like these little tricks for making HTML more human readable but I can’t believe people are actually doing stuff like this in an attempt to compress HTML to gain network/browser efficiencies. I dare someone to actually benchmark those optimizations. Cutting your sucky EULA page in half and trimming away all that shit in your header/sidebar would be much more productive (but still barely worthwhile).

annevankesteren.nl   13:22

08 Dec 2009

Google Chrome for the holidays: Mac, Linux and extensions in beta

Google’s shipping official beta builds of Chrome for Mac and Linux. I’ve been using Chromium for a few months now and it’s definitely become my favorite browser. It needs a flash blocking extension and an ad blocker. I’m using userscripts for both but they’re a little janky.

chrome.blogspot.com   14:47

08 Sep 2009

Detecting HTML 5 Features

Mark has published the second chapter in his upcoming book, Dive Into HTML 5. I still can’t get past the typography. It’s so pretty.

diveintohtml5.org   22:24

04 Sep 2009

Snakes on the Web

Jacob Kaplan-Moss somehow pulls a bunch of interesting contemporary web development issues into a coherent essay. This bit on what happens when web apps begin to mature is especially well stated:

This is an impossible situation for framework developers: by optimizing for a quick start, by focusing on common needs, we’re essentially guaranteeing future failure. Remember the “Rails doesn’t scale” pseudo-controversy last year? I guarantee it’s only a matter of time until there’s an angry “Django FAIL” moment.

Frameworks ought to gracefully fade away as you replace them, bit by bit, with domain-specific code. (This is what I meant, above, that inter-op is also a scaling issue.) Right now, they don’t.

I wish more people would write about their experiences growing out of the general purpose web framework. It’s a totally natural thing but most people seem hesitant to talk about it because it’s interpreted as an attack on the framework or community.

jacobian.org   10:13

20 Aug 2009

Let's make the web faster

Big giant list of articles, essays, tutorials, and tech talks on making the web faster. This is part of a larger Google Code project that asks, “what would be possible if browsing the web was as fast as turning the pages of a magazine?”

code.google.com   15:14

Dive Into HTML 5

My God the typography is stunning. There’s currently only a single chapter — on Canvas — but I imagine the others will fill in rather quickly.

diveintohtml5.org   14:53

12 Apr 2009

8 Simple Ways to Improve Typography In Your Designs

Measure, Leading, Quotes, Rhythm, Widows, Emphasis, Scale, and Rags. Great piece.

aisleone.net   17:56

27 Mar 2009

Dive into history, 2009 edition

Mark Pilgrim: “Anyway, I now realize that there were some hidden assumptions behind my design decisions in 2000. Some of those assumptions turned out to be wrong, or at least not-completely-right. Sure, a lot of people downloaded dip, but it still pales in comparison to the number of visitors I got from search traffic. In 2000, I fretted about my ‘home page’ and my ‘navigation aids.’ Nobody cares about any of that anymore, and I have nine years of access logs to prove it.

I don’t think most people realize how little site navigation matters anymore. Your site’s navigation is google, topic sites, blogs, and feeds. The “website” is dead. Long live the individual useful resource.

diveintomark.org   11:40

26 Jan 2009

Javascript, it's Python with braces!

Guyon Morée shows how JavaScript 1.7/1.8 have been moving more and more toward Python with a few side-by-side examples. List comprehensions and generators would definitely be extremely cool to have in browser land.

gumuz.nl   18:44

15 Jan 2009

Advantages and Disadvantages of Learning in a Hypertext environment

Via Ted Han (@knowtheory): “Hypertext allows information to be organized and connected in a variety of ways that provide the user with a flexible working environment. The following advantages highlight the benefits of working and learning in a hypertext environment…”

accesswave.ca   02:34

01 Jan 2009

Sanitize: A whitelist-based Ruby HTML sanitizer

Finally, a sane looking sanitization lib that doesn’t try to do too much.

wonko.com   14:29

19 Nov 2008

Why specs matter

I’ve linked to this before and I’ll link to it again.

diveintomark.org   07:56

17 Nov 2008

Showcase Of Clean And Minimalist Designs

Smashing Magazine shows off a massive catalog of minimalist designs and then attempts to deconstruct them.

smashingmagazine.com   14:27

11 Nov 2008

The Road to HTML 5: getElementsByClassName()

Includes a brief history of native support for getElementsByClassName in Mozilla and other browsers.

blog.whatwg.org   11:53

27 Oct 2008

Why Programmers Suck at CSS Design

Stefano Mazzocchi: “I have a much simpler and humble goal here: give programmers some tricks and some advice in how to proceed to make their web pages look cleaner, more readable and, hopefully, more professional, elegant and original than before.”

betaversion.org   13:35

24 Oct 2008

Introducing ActsAsMarkup: A Markdown, Textile, Wikitext, and RDoc Plugin for ActiveRecord

Interesting Rails plugin from Viget Labs that adds ActiveRecord attribute helpers for various humane markup languages. The markdown variation supports both rdiscount and rpegmarkdown. Cool. Not sure how I missed it when it was released in August.

viget.com   09:00

16 Oct 2008

Conditional classnames

Using conditional comments to stick an “ie” classname on <body> so that you can target IE from a single CSS file instead of bringing in a separate stylesheet. Nice hack.

paulhammond.org   06:46

08 Oct 2008

class='robots-nocontent'

Apparently, Yahoo!’s indexer supports marking specific content on a page as “extraneous to the main unique content”. This lets you prevent headers, navigation, and other types of site-level crud from overwhelming the content and the search results will excerpt only content that’s relevant to the page.

From the Yahoo! Web Crawler FAQ: “… apply the robots-nocontent attribute to indicate to search engines any content that is extraneous to the main unique content of the page. Yahoo! Search observes the class='robots-nocontent' present on XHTML elements, such as div, span, and all others.”

help.yahoo.com   13:04

07 Oct 2008

"Air Budd Form Builder" meets "/admin Considered Harmful"

Bill Burcham applies the technique of making form controls inherit style from their container in the Air Budd Form Builder Rails plugin. Cool.

youtube.com   19:56

05 Oct 2008

Google's undocumented favicon to png convertor

I’m using this on all of my “linkings” index pages now (see here, for example). It works pretty well. I really like the idea of integrating a piece of the destination site’s visual identity instead of using a generic del.icio.us/bookmark icon. Some site’s with favicons don’t work properly, however, and I’d give anything to have another parameter that let me override the default globe icon (this one: ). It’d be nice if I could say, grab the favicon for this domain but if it doesn’t exist, give me the favicon for delicious.com ().

simonwillison.net   12:41

04 Oct 2008

Cross Site XMLHttpRequest Design

Oh, nice. Here’s a high-level design document that describes the new cross-site XmlHttpRequest (their calling it, “XXX”) functionality and ties the other documents floating around out there together. It seems that servers will be able to signal that certain resources are accessible from other domains using HTTP headers or (gasp!) XML processing instructions (PIs). Weird.

wiki.mozilla.org   18:17

Bug 389508 – Implement Cross-site XMLHttpRequest

Just landed on mozilla trunk a few days ago. See the draft spec for specifics.

bugzilla.mozilla.org   18:10

27 Sep 2008

HTML5 Validator

Highly experimental HTML 5 validation service. More info and bookmarklets available on the about page.

html5.validator.nu   08:07

09 Aug 2008

Web Development for the iPhone

“You can specify CSS based on viewport orientation which you determine via javascript and update the orient attribute of the body element. Target the browser with body[orient=‘landscape’] or body[orient=‘portrait’]”

evotech.net   00:16

28 Jul 2008

Timeplot

Very nice and functional JavaScript based timeplot library. Looks good, shows data-points on mouse over, approachable API. Good stuff.

simile.mit.edu   15:19

13 Jul 2008

Minimalism

if any – Another hella-great minimalist design.

ifany.org   10:22

21 Jun 2008

Minimalism

Hilarious! What Mark doesn’t know is that much of my “minimalist redesign” was ripped directly from what he’s had in place for 2-3 years; “administrative debris” was just a convenient alibi.

diveintomark.org   21:16

03 Jun 2008

Babelmark — Markdown Testbed

Compare (as in, diffs) the output of 15 different Markdown implementations. Includes every Markdown implementation I’ve ever come across and then some…

babelmark.bobtfish.net   17:01

19 May 2008

peg-markdown

An implementation of Markdown in portable ANSI C that’s roughly 28.5x faster than the canonical Perl implementation on a 179K test file. Looks like a complete implementation; includes smarty and footnote extensions.

github.com   21:10

14 May 2008

Google Doctype

What Mark Pilgrim has been working on at Google for the past year or so: an encyclopedia of web development.

code.google.com   09:37

04 Apr 2008

highlight.js

JavaScript based source highlighter with support for many languages in separate modules. Similar to the JavaScript Prettifier in that <pre><code> blocks are automatically detected and highlighted without an explicit language class.

softwaremaniacs.org   04:11

03 Apr 2008

What Is the Open Web and Why Is It Important?

Brad Neuberg (Google Gears): “Our historical closeness to the web creates a kind of myopia, where we can’t see how amazing it is. It’s a billion Library of Alexandria’s dropped into our laps.”

codinginparadise.org   07:46

17 Mar 2008

Martian Mindsets

Sam Ruby filling in for Mark Pilgrim (and featuring Mark Pilgrim in the comments) skewers Joel Spolsky over his “Martian Headsets” piece on the IE8 standards-mode dilemma. I use the word “skewered” in the nicest way possible, of course.

intertwingly.net   14:44

13 Mar 2008

Presentational JavaScript to adjust text line-height in proportion to text column width.

“If you can’t control the text width the next best thing you can do to compensate for an overly wide text measure is to increase the leading.” — I never considered that but it makes sense.

ollicle.com   08:35

12 Mar 2008

HyperText.m - source to TimBL's first implementation of hypertext (Sept. 25, 1990)

From the comments: “HyperText is like Text, but includes links to and from other hypertexts.”

w3.org   10:55

10 Mar 2008

jQuery evangelism

I need to give jQuery a serious look. Prototype’s Ajax.Request stuff is crippled (no PUT or DELETE) to the point of being worthless; the jQuery selector magic looks a lot more intriguing than what you get with Prototype, too.

rc3.org   15:13

08 Mar 2008

css_color.vim - CSS color preview : vim online

Makes the background of hexadecimal color codes the respective color. So, background-color:#f00 will have a red background in the vim editing window. Nifty.

vim.org   23:49

14 Feb 2008

9 Practical Ways to Enhance your Web Development Using the Firefox Web Developer Extension

From the comments: “the only things i find [useful] in Web Developer Extension is the shortcut to clear cache… for other things i use Firebug…” — Me too!

sixrevisions.com   08:31

03 Feb 2008

Printing a Book with CSS: Boom!

Bert Bos and Håkon Wium Lie show off some of Prince’s more advanced CSS and HTML features, including styling page size, generating headers/footers, advanced use of the CSS content attribute, page numbering, cross-references, and table of contents.

alistapart.com   07:58

Håkon's Wium Lie

Ahh, it turns out Håkon’s Wium Lie (Opera CTO and the guy who first proposed CSS) is on YesLogic’s board, makers of PrinceXML. I’m not sure how I missed that.

princexml.com   07:49

24 Jan 2008

What should Microsoft do instead?

Holy crap, this is insane. Just let people run IE6 and IE7 as separate standalone browsers side-by-side with IE8. As James said in my previous post, they can even rebrand it as “Intranet Explorer” :)

dbaron.org   08:43

05 Jan 2008

A pool for the W3C validators

This is a good idea. The w3c hosted validators tend to perform on the bad side of horrible. I’ve run the validator locally but never thought to look for mirrors.

xhtml-css.com   01:39

16 Dec 2007

Prince XML: Generating High Quality PDFs from HTML + CSS

Simple print typesetting using HTML/CSS. Targets the 80% of common print tasks w/ HTML/CSS. I’m going to be looking into mozilla’s cairo PDF output abilities within the next few weeks so it will be interesting to compare.

video.google.com   16:42

28 Nov 2007

Run Internet Explorer 5/6/7 Natively in OS X

This trumps Leopard for most important Mac development this year as far as I’m concerned. Words cannot explain the hatred I’ve developed for booting up multiple Parallels VMs to get at IE.

macapper.com   22:42

01 Oct 2007

The Rule of Least Power - W3C TAG Finding 23 February 2006

“There is an important tradeoff between the computational power of a language and the ability to determine what a program in that language is doing.”

w3.org   05:11

22 Sep 2007

CSS 3: A Giant Serving Of FAIL

“… CSS 3 is a joke. A sad, sick joke being perpetrated by people who clearly don’t build actual web apps…”

alex.dojotoolkit.org   08:01

08 Jun 2007

E-mail is not a platform for design [zeldman.com]

“But when I say HTML mail still sucks, I don’t mean it sucks because support for design in e-mail today is like support for standards in web browsers in 1998. I mean it sucks because nobody needs it. It impedes rather than aids communication.”

zeldman.com   08:15

06 Jun 2007

HTML Entity Character Lookup

Oh wow. I’ve been trying to find a single page that has every unicode character on it with its hex counterpart but this is pretty fantastic.

leftlogic.com   13:05

13 Apr 2007

public-html@w3.org Mail Archives

Looks like things are starting to heat up over here.

lists.w3.org   13:35

09 Apr 2007

Setting Type on the Web to a Baseline Grid

Yes! I’ve been doing this for a few months now with the corp. assets and I won’t go back. You can really see the text snap into a vertical rhythm when you hit it.

alistapart.com   20:08

16 Mar 2007

mjt

Browser-side JavaScript template engine with concepts borrowed from Kid. Used by Freebase to drive formatting around JSON. Looks interesting.

mjtemplate.org   02:30

17 Feb 2007

Less sucky multiple-select lists

Another interesting take on multi-select lists that uses checkboxes with labels and colors.

anseljh.wordpress.com   15:51

12 Feb 2007

Multi-Select Lists vs. Checkboxes

I’m real close to hating multi-select list boxes right now. Using an overflowed UL of checkboxes has some interesting pros (and cons).

yourtotalsite.com   23:41

05 Feb 2007

The window.onload problem (still) [peter.michaux.ca]

Nugget of wisdom: “… developing for the web is frequently about accepting small compromises to big philosophical ideals.”

peter.michaux.ca   07:29

01 Feb 2007

Implement getElementsByClassName [bugzilla.mozilla.org]

Awesome. Robert Sayre just checked in his document.getElementsByClassName implementation to mozilla trunk.

bugzilla.mozilla.org   06:08

23 Jan 2007

53 CSS-Techniques You Couldn’t Live Without

Very nice list of CSS techniques.

smashingmagazine.com   14:01

22 Jan 2007

W3C Markup Validator Results for "You, me and the W3C (aka Reinventing HTML)"

Chairing the WG is one way to fix your validation issues! (yes, I’m just being mean now — ignore me. no but seriously.)

validator.w3.org   07:40

11 Jan 2007

blog.whatwg.org   07:59

04 Jan 2007

demoroniser - correct moronic and gratuitously incompatible Microsoft HTML

“The demoroniser keeps you from looking dumber than a bag of dirt when your Web page is viewed by a user on a non-Microsoft platform.”

fourmilab.ch   18:47

03 Jan 2007

OpenID for non-SuperUsers [intertwingly.net]

Sam with a very simple, step by step tutorial on using your site as an OpenID identity provider.

intertwingly.net   09:30

02 Jan 2007

IEs4Linux

Whose going to get this running on OS X? I guess it doesn’t really matter. I can always X over to a Linux box…

tatanka.com.br   08:09

08 Dec 2006

Firebug 1.0 Beta Screencast

Holy… This is big. Huge big.

soylentfoo.jnewland.com   12:37

12 Nov 2006

CSS-Based Forms: Modern Solutions

Big list of resources on CSS based forms.

smashingmagazine.com   21:20

10 Oct 2006

gotAPI.com

The best attempt I’ve seen at splicing multiple API references together. This uses the external documentation but provides indexing and browsing features.

gotapi.com   08:31

05 Sep 2006

The Elements of Typographic Style Applied to the Web

This site is really starting to come along now. The latest addition on how to manage vertical spacing in intervals is something I’ve been wondering about for a while now.

webtypography.net   08:58

22 Jan 2006

FireBug

Firefox extension with some promising script debugging/spying features.

addons.mozilla.org   08:52

25 Dec 2005

AJAX Activity indicators

Animated GIFs designed to indicate your site is doing something…

mentalized.net   05:53

19 Dec 2005

dig.csail.mit.edu   17:02

09 Oct 2005

Javascript Event compatibility tables

Nice list of DOM events and the varying support of different browsers.

quirksmode.org   04:38

06 Oct 2005

CSS: Specificity Wars Diagram

CSS specifity chart based on Sith power levels — to good to be true.

stuffandnonsense.co.uk   22:08

23 Sep 2005

CSS Import™

this site rocks

cssimport.com   00:48

27 Apr 2005

JavaScript Reference

Decent javascript reference. I really like the format but the cards are images so you can’t use your browser’s find to locate stuff…

javascript-reference.info   01:20

28 Feb 2005

Web Building: Style Templates

Big list of sites that provide CC licensed CSS layouts and tools for generating layouts.

toolkit.crispen.org   06:08

06 Jan 2005

CSS - Quirks mode and strict mode

Information on quirks vs. strict mode for HTML/CSS rendering: how to trigger, what DOCTYPEs do what, etc.

quirksmode.org   14:46

23 Dec 2004

Web Application Component Toolkit - Template View

Excellent look at various HTML and XML templating methodologies..

wact.sourceforge.net   17:58

30 Nov 2004

Cascading Style Cheatsheet

Styled for landscape printing…

home.tampabay.rr.com   09:46

24 Nov 2004

Quotations and citations: quoting text

Some information on using proper q and blockquote elements in HTML and then styling them with CSS to fix all the browser brokeness.

456bereastreet.com   09:59

06 Nov 2004

XHTML 1.0

The recommendation..

w3.org   14:40

03 Nov 2004

Full CSS Property Compatibility Chart

red/green/yellow for specific css attribute support in major browsers.

corecss.com   23:07

28 Oct 2004

Bring on the tables

a thorough look at how to use HTML tables correctly.

456bereastreet.com   06:11

16 Oct 2004

CSS Negotiation and a Sanity Saving Shortcuts

Some tips I haven’t seen before for dealing with IE’s broken CSS support. Using conditional comments for ie specific css, setting manual defaults, etc.

leftjustified.net   14:35

12 Oct 2004

Float: The Theory

A nice breakdown of how float works in CSS, which isn’t always intuitive.

positioniseverything.net   01:33

10 Oct 2004

Max Design - CSS Page Layouts

Various CSS layouts.

maxdesign.com.au   14:07

29 Sep 2004

WDG HTML 4.0 Element Reference

One of the nicer reference sheets for HTML 4.0.

htmlhelp.com   05:28

Using inline frames (iframe elements) to embed documents into HTML documents

Everything that you can possibly know about iframes.

cs.tut.fi   03:41

26 Sep 2004

Floatutorial: Step by step CSS float tutorial

Floating images and other objects using CSS.

css.maxdesign.com.au   06:29

19 Sep 2004

On Semantics and Markup

More goodness from the archives of Tim Bray.

tbray.org   17:06

Help the Googlebot

Tips and techniques for helping Googlebot. If you are a symantic markup perfectionist, you probably already have most of these right.

scribbling.net   07:09

14 Sep 2004

2 Column Tableless Layout

Methods for creating a 2-col layout using CSS.

wellstyled.com   04:56

10 Sep 2004

Web Colors: html color names, hexidecimal values, hex codes

Color name chart with hex codes and overlays.

halflife.ukrpack.net   11:08

XML/XSLT/CSS/JavaScript/ Treeview component..

..that rocks. Quite possible the only javascript treeview I’d ever consider using.

rollerjm.free.fr   08:29

09 Sep 2004

Wrestling HTML

XML.com: Dealing with tagsoup HTML in Python.

xml.com   06:56

27 Aug 2004

Stylegala Bulletmadness

A bunch of nice bullet images best used to style UL tags using CSS.

stylegala.com   02:45

01 Aug 2004

The X-Philes [goer.org]

List of XHTML Sites

goer.org   23:30

31 Jul 2004

Calendar Popup Widget

You can never have too many of these to choose from..

tribador.net   22:47

W3C members: Do as we say, not as we do

“…only 21, or 4.6 percent, of 454 member sites Karppinen could access passed the W3C’s own HTML validator…”

builderau.com.au   22:15

builderau.com.au   22:13

23 Jul 2004

w3.org   14:31

HTML 4.0 Entities

Entity Declrarations / Decimal and Hex values for important unicode code points.

htmlhelp.com   14:21