So some of you may have seen the term chain blogging and probably started to think about chain emails and chain mail. That’s not what this article is about. It’s not about putting a curse on someone that doesn’t fulfill their forwarding quota. I’m talking about blogging just like a chain smoker lights the next cigarette with the previous cigarette, and continues this on and on and on. I recommend igniting your next blog post by the previous blog post. Confused yet? OK, I’ll try to illustrate and explain the idea of “Chain Blogging”.
Chain Blogging – Internal Link Building and Usability
June 10th, 2009 by Brandon ButtarsRuby newbie iteration musings
May 5th, 2009 by halsFirst off I must note how nice it is that semicolons, and several other punctuation items, are optional.
Another nice thing I have been introduced to is the iterator. In most cases it completely replaces the old for loop.
var.each {|x| ….}
or
for x in var {……}
seem much cleaner and easier to write than
for (int i=0; i<10; i++) {…; …;}
Extending this makes it handy to work with multiple parameters. Let’s say that you want to pass in a variable number of arguments, that can also be hashes.
One way of working with them in the method would be as follows:
class Ema
…
def initialize(p1, p2, *p3) # the ‘*’ will push arguments 3…n into p3 as an array
…
# then you might access parameter3 with one of the following .each variants:
def showMe
@p3.each do |s| #this gives you each element of the array -
puts “ p3: s = #{s}”
s.each_key do |y| #each element is a hash, so this gives you the keys
puts ” #{y} = #{s[y]}”
end
s.each do |y,z| #this will give you the key, value pairs
puts ” #{y} = #{z}”
end
s.each do |r| #and this gives you the key,value in an array
puts ” #{r[0]} = #{r[1]}”
end
end
end
a = Ema.new(“one”, “two”, {“apple” => 3}, {“pear” => 1}, {“grape” => 5}, {“kiwi” => 33})
a.showMe
iPhone User Interface Design
April 21st, 2009 by Mister Mc
I just watched Endward Tufte’s video review of the iPhone and pulled out some interesting principles of UI design and usability. The inherent challenge of a designing for a small screen is the lack of screen real estate. To overcome that challenge, Apple gives their users a high resolution screen and amazing design to mange the information. Watch the video and see for yourself how the iPhone reduces cognitive overload by keeping information on just a levels rather than deeply stacked hierarchies.
Usability: The Least You Can Do
April 9th, 2009 by Mister McI recently read the very likable and popular book Don’t Make Me Think by Steve Krug. I think it should be required reading for anyone who does anything with web design and development or software. The author’s examples are clear, authoritative, and presented with humor, which makes cruising through this book enjoyable and interesting. I can’t tell you how many “Head Slappers” (to borrow Krug’s usage of the cliché) I experienced while reading. So many of his ideas seem obvious, but are not common place yet.



