Scott's blog

XSLT 2.0

Scott's picture

My first job at OJC involved XSLT.  This was in 2000.  XSLT required a whole new way of thinking for someone used to procedural programming languages.  This didn't bother me so much--in fact I was fascinated by this new way of thinking.  (Though to tell the truth, being an Emacs user, I had had a smattering of exposure to functional programming in using Emacs lisp.)  But some things just seemed to be unreasonably convoluted--string manipulation, lookup tables, and any type of complex grouping, for starters.

Getting Rid of the @#*%! IE8 Compatibility Button

Scott's picture

I had thought that ensuring a Web page was 100% standards-compliant was the way to get rid of the compatibility button that IE8 displays to help you view pages that looked fine in IE7 but don't look so good in its (presumably more exacting) successor, IE8.

Unicode, UTF-8, and All That: A Short Note

Scott's picture

I don't know how many times I've heard people conflate UTF-8 with Unicode. I have come to believe that distinguishing these is the first essential step in becoming "internationalization-literate".

Legacy databases and Special Characters

Scott's picture

I can't count the number of times that I have had to deal with the "special character" problem. You know the problem--you're reading along on some Web site, perhaps even a Web site that you are managing, and you find words with weird characters--maybe Euro signs, accented upper and lower case characters and whatnot--interspersed with the normal text. Or perhaps the whole page is simply gibberish. Or maybe there is just a stray question mark in the middle of words here and there.

CSS: Jumping columns and IE's percentage rounding algorithm

Scott's picture

Chapter 2 code available

Scott's picture

I got the annotate example from chapter 2 working with Drupal 6. The code I used is here: http://emma.ojctech.com/~rohde/public/ProDrupalDevelopment/ch2/.

In modifying the code, I've used '#' at the beginning of lines to comment out obsolete code in the books Drupal 5 version, and '###' for my own comments. (Exception: For obvious reasons, I used ';' and ';;;' respectively in the annotate.info file.) Those comments should make it fairly clear what code I've added.

Pro Drupal Development and Drupal 6

Scott's picture

Since we have this brand new book on Drupal development that is already outdated, I thought I'd keep some notes about what has changed in Drupal 6, and in particular, how the examples in the book can be modified to work with Drupal 6.

The code that works with Drupal 5 is available at http://www.drupalbook.com/node/2. I will post updates to these files as I make them at http://emma.ojctech.com/~rohde/public/ProDrupalDevelopment/

Scott