Advertise here!

Tutorial on implementing REST web services in Rails

Just a quick pointer to a nice article about implementing REST web service interfaces with Rails. The code snippets don't format so nicely, so it seems a little scary, but actually it does appear to be rather easy.

Posted at 4pm on 11/04/05 | Posted in , , | 1 responses | read on

Agile Development With Rails is Shipping

It looks like the paper version of Agile Web Development with Rails is shipping. I ordered the book through our corporation's process about a month ago, and I just received an e-mail today with a DHL tracking number. It looks like it left Austin, TX last night at 6:00 p.m. Can't wait to get my hands on a copy that I can read on the couch (without a nice burning sensation from the heat of the laptop).
Posted at 3pm on 08/04/05 | Posted in , , | no responses | read on

Steal This Color Scheme

A lot of times when I’m playing around trying to come up with web pages, I have a hard time coming up with (and often horrible taste in) color schemes. I’m trying to learn to follow some simple guidelines of either tying similar fonts/colors/sizes to become the same, and for things that I want to contrast to really contrast. [A good source of these guidelines, very simply described, is The Non-Designer's Design Book]

In any case, if you find a site that you love, and you want to see their color scheme, this handy site will be just what the doctor ordered. It extracts the colors used by the site and in it’s stylesheets and presents them to you in their full hexadecimal glory to… borrow.

Posted at 6pm on 07/28/05 | Posted in | 1 responses | read on

Invalid CSS with Ruby Syntax Highlighter

I regularly use Carl Drinkwater’s Ruby Syntax Highlighter for my postings containing Ruby code. When I was checking my site for valid XHTML and CSS I noticed that I had a few problems coming from the generated HTML and the CSS snippet he provides.

I’ve emailed Carl to let him know, but in the meantime, if you use his syntax highlighter you should change the CSS provided to be:

<style>
.keyword { font-family: monospace; color: #8B0000; }
.constant, .attribute, .global, .class, .module { 
    font-family: monospace; color: black;
}
.string { font-family: monospace; color: #00008B; }
.ident, .method { font-family: monospace; color: #006400; }
.number, .char { font-family: monospace; color: #888800; }
.comment { font-family: monospace; color: purple; }
.symbol { font-family: monospace; color: #884400; }
.regex { font-family: monospace; color: #808080; }
.punct { font-family: monospace; color: black; }
.escape, .interp, .expr {
    font-family: monospace; color: black; background-color: #dddddd; 
}
</style>

The original CSS he provides uses named colors which are not standard.

I also noticed some invalid XHTML being produced but now that I go back and check his site, it seems to be working fine. It might just have been my desktop blogging software or Typo (I’d bet the blog software over this) that re-interpreted the HTML and mangled it to be invalid.

Just for reference, the problems I was seeing were end span tags in all caps, and class attribute values being unquoted on some span tags.

Posted at 6pm on 07/13/05 | Posted in , | no responses | read on

Older posts: 1 2