Related Links: NLC | Contact | Blogroll | Feed |

 

"You Two! We're at the end of the universe, eh. Right at the edge of knowledge itself. And you're busy... blogging!"
— The Doctor, Utopia


Thursday, June 12, 2008

Three HTML 5 Related Drafts Published 2008

I'm still trying to figure out exactly how HTML5 fits in with XML and XHTML and would appreciate anyone helping me out on that. In the mean time...

W3.org 2008-06-10: The HTML Working Group has published three documents: HTML 5, HTML 5 differences from HTML 4, and the first public draft of HTML 5 Publication Notes . HTML 5 introduces features for Web application authors, new elements based on research into prevailing authoring practices, and clear conformance criteria for user agents in an effort to improve interoperability. See the diff-marked version showing changes made since the 22 January 2008 draft. Learn more about the HTML Activity. (Permalink)

Labels: ,

Tuesday, March 04, 2008

IE8 to be standards compliant by default. w00t!

According to IEBlog:

We’ve decided that IE8 will, by default, interpret web content in the most standards compliant way it can. This decision is a change from what we’ve posted previously.

The rest of the post explains whys (duh!) and hows.

Labels: ,

Friday, January 25, 2008

Why I don't use HTML or CSS hacks

I've been teaching (X)HTML and CSS for over a decade now and I've never ever taught hacks. You know, those little bits of code that many designers use to make their pages look the same in multiple browsers. (Yes, IE is typically the problem in this situation.) Whenever asked I've explained that when you use a hack, at some time in the future the problem your "solving" with said hack is going to get fixed and then your hacked page is now broken. Don't believe me? Check out this article from ars technica about the forthcoming IE8. Here's just two bits:

Internet Explorer 8 is going to be the most standards-compliant IE yet, but it's going about it in a way that has some people scratching their heads. With Internet Explorer 8, you have a choice in standards compliance modes. Sound oxymoronic? Shouldn't there be one standards mode by default? Heck, shouldn't the only mode be standards mode? Ah, idealism.

...

When IE8 eventually ships, it will have three rendering modes, two of which are the already familiar "quirks mode" and "(not so) standards mode." In an IE team blog entry, IE Platform Architect Chris Wilson revealed a third mode that can be invoked by developers:

  1. "Quirks mode" remains the same, and compatible with current content.
  2. "Standards mode" remains the same as IE7, and compatible with current content.
  3. If you (the page developer) really want the best standards support IE8 can give, you can get it by inserting a simple <meta> element.

This third mode will use a <meta> tag to specify that a page should use the behavior of a specific browser version. To get IE8 really-standard-this-time-we-mean-it behavior, a page will include an element like <meta http-equiv="X-UA-Compatible" content="IE=8" />. That says that a page should use IE8's behavior—and should use it even in IE9, IE10, or any future version. The first two modes will continue to use the doctype switch to choose between them.

Clear as mud? I thought so. (Read the whole article and it'll start to make sense, I promise.) Look, just don't use markup or style hacks. If you feel you "must" in order to get your design to work, adjust your design so that you don't have to use the hack. You'll thank me in the long run.

Labels: , ,

Saturday, December 08, 2007

How many can you name?

48
Minneapolis Dating

Labels: ,

Wednesday, September 12, 2007

Huh?

I'm about to download and play with the latest beta of Microsoft's blog authoring software Windows Live Writer and I've noticed one of its "features": the ability to "Publish XHTML-Style markup" [emphasis added]. I'm sorry, but the code is either XHTML or it isn't. There's no such thing as XHTML-style or XHTML-like as far as I'm concerned. I'm still going to play with it but sometimes Microsoft, you make me wonder.
Windows Live Writer

Labels: , , ,

Thursday, July 26, 2007

But why would you still teach the code?

Despite my upcoming classes on XHTML and CSS filling quickly, I still get funny looks from some when I tell them that in my classes I teach code, not tools like FrontPage or Dreamweaver. "It's still necessary" I say rather unconvincingly despite my intentions since they don't look convinced. Well, while reading Dreaming in Code by Scott Rosenberg I discovered "The Law of Leaky Abstractions", first described by Joel Spolsky.

In his blog post Spolsky is talking about programming languages but I think it applies to almost any software tool. The basic point is that whenever you use a tool (Dreamweaver) to create something else for you (XHTML/CSS) the tool is an abstraction of what you're you're doing. Whenever you involve an abstraction, there's always a chance of loosing something in the translation, a leak. The more level of abstractions you add, the more leaks and the more that's lost in the translations.

Here's the bit that was quoted in Dreaming in Code that's relevant to why I teach code:

One reason the law of leaky abstractions is problematic is that it means that abstractions do not really simplify our lives as much as they were meant to....

The law of leaky abstractions means that whenever somebody comes up with a wizzy new code-generation tool that is supposed to make us all ever-so-efficient, you hear a lot of people saying "learn how to do it manually first, then use the wizzy tool to save time." Code generation tools which pretend to abstract out something, like all abstractions, leak, and the only way to deal with the leaks competently is to learn about how the abstractions work and what they are abstracting. So the abstractions save us time working, but they don't save us time learning.

And all this means that paradoxically, even as we have higher and higher level programming tools with better and better abstractions, becoming a proficient programmer is getting harder and harder.

This is exactly the point I try to make when I "explain" to folks why I teach code instead of the tools. Maybe the next time I need to defend my methods I'll start by calling on The Law of Leaky Abstractions and see if that gets their attention.

Labels:

Wednesday, July 18, 2007

Web design rant

I lived through the browser wars. I remember "best viewed in..." logos on Web pages. Those days sucked and I never want to go back. So, why oh why, am I still seeing the following in 2007?

  • A page coded as 100% valid XHTML Strict (yes, strict!) being told the code is "incorrect" by the code checking software.
  • A newly launched library Web site that took piles of cash to develop with an XHTML Transitional DOCTYPE yet the homepage has 267 validation errors.
  • A government Web site that looks like this in IE
    georgia.gov in IE
    but like this in Firefox
    georgia.gov in Firefox

ARGH!!!

Labels: ,

Saturday, July 07, 2007

A refreshing response

A few weeks ago (I'm a bit behind on posting this) I tried to view a Webcast of an Amnesty International event. To get in you needed to register and as part of the registration process you needed to supply your e-mail address. Guess what. It seems that their form didn't like .info addresses. So, like I have several times before, I sent in a complaint. Here's the response I received (reprinted with permission):

I am very sorry to hear you couldn't log into the webcast. We have forwarded the request for the system to recognize .info emails to our supplier. I agree with your point that their verification software is very out of date!

Now that's refreshing!

Labels:

Thursday, June 28, 2007

No, don't hold back. Tell us what you really think.

The ALA wrap-up blog posts are starting to come in and of course I'm going to read KGS'. And, as usual, she's got a way with words. Here's the best part in all its poetic glory:

"Speaking of which… seeing the wireframes for the proposed ALA website and feeling underwhelmed. It’s not grotesquely ugly like the current site, but it’s a static organizational page about as inviting as a cold speculum. Where’s the engagement? Why are blogs squeezed way down on the right? Why does the “divisions” link exclude the Round Tables? I give it an “ix-nay,” and I’ll go into depth later."

Labels: , ,

Tuesday, June 05, 2007

Teasing your users

In surfing around various library Web sites this morning I found this:
What's wrong with this?

Granted, I've not seen an "under construction" page in a while but this might as well be one. "email: pending"!? Either you have an e-mail address or not. If you don't (and just why doesn't the library have an e-mail address?) then don't bother listing the fact that you're working on getting one. Just leave it out, and when you do have an e-mail address, then list it on the site. Please, don't tease your users.

Labels:

Thursday, April 05, 2007

Your mission, should you accept it...

...is to use the library OPAC to find Time Magazine.

If you're caught, all knowledge of your mission will be denied.

Labels: , , ,

What happened to the design?

To know more about why styles are disabled on this website visit the Annual CSS Naked Day website for more information.

Labels: ,

Tuesday, February 06, 2007

New site design

Those of you that read the feed you won't have noticed this but I've got a new design for the blog and the rest of the site. The blog's been converted and the rest of the site is coming along. Stop by, check it out, and let me know what you think. (Yes, I got the template somewhere else and then modified it a bit. I needed a change but was too tired to design something from scratch.)

Labels: ,