Drupal 6 JavaScript and jQuery

Drupal 6 JavaScript and jQuery CoverI just finished reading a new book, Drupal 6 JavaScript and jQuery, by Matt Butcher. The book title makes it sound highly specialized, but in fact it’s a great resource for a variety of readers, from Drupal beginners to JavaScript experts. Best of all, the book brings together two of my favorite open source technologies: Drupal and jQuery. If you aren’t already a fan, I’ve written elsewhere about Drupal’s benefits, and for jQuery, one statement should win you over: query HTML content using plain old CSS selectors!

Matt does a great job leading the reader from very basic principles to advanced concepts, thoroughly enough to initiate less experienced coders, but quickly enough to get everyone to real meat right away. You will get immediate value from this book whether you are a web designer just starting out with Drupal and/or JavaScript, an intermediate coder looking to expand your skills with either Drupal or JavaScript, or an advanced Drupalista or JavaScriptor looking to bring the two together.

Because I reach under the Drupal hood only sporadically, I love how how Matt quickly covers all the basic terminology and functionality of Drupal, JavaScript, and jQuery to remind me how they all work, and work together. I can see turning to this book as a basic reference again and again.

Best of all, in each chapter Matt provides a hands-on project worth doing for it’s own sake as well as for the added learning. Trying it out, I modified the rotating sticky node teasers project in Chapter 3 to complete something I’ve been wanting to do here on my blog for some time: make my Flickr-stream header images rotate dynamically. Read more about exactly how I did it. If I can do something like this in just a few minutes, that tells you a lot about the power and simplicity of Drupal and jQuery together, and Matt’s ability to make it all understandable.

Ready to dip your toes or delve deeper into how jQuery let’s you “write less, do more” with Drupal? You can buy Matt’s Drupal 6 JavaScript and jQuery book directly from the Packt website.

FYI: I drafted this entire review sitting on an Oregon coast beach using the Evernote iPhone app. Pretty nice working conditions ;)

Phoenix: It’s Not ALL Goldwaterwasting Utilitaurs

Now that I’m working for rSmart, I expect to need to be at their HQ in Phoenix, Arizona fairly often. Being a native Coloradan, I probably don’t need to belabor our general attitude toward Phoenix: This land of water- and gas-guzzling conservative golfers should not exist.

But now that I’ve matured (some), I’m trying to have a more open mind. Also, as I have to keep coming back to Phoenix for work, I should try to find something here to like (besides my awesome colleagues at rSmart).

Serendipity and Google (is there a difference?) led me to search online for a bed and breakfast in Phoenix for my current trip after the soulless corporate hotel I expected to stay at was booked. Top results returned the ZenYard, where I’m staying now. For way less cost than the corporate hotel, I’m a guest at this charming, friendly, spotlessly clean B&B. I can join in the group yoga classes, swim in the pool, soak in the jacuzzi (Warning: iPhones work in jacuzzis, but not afterward), and chat with the nice guys that run the place about their vision to make it even more awesome. The zenmasters tell me they are one of only three B&B’s in PHX, which confirms my suspicion that there’s a general lack of imagination down here, but there’s also an opportunity. For a single night or a longer stay (ZenYard is finishing the detached guest houses with full kitchens now), you don’t have to be be zen to need zen.

Left to my own devices Friday night, I tried an experiment to see whether an iPhone alone could lead me on a worthy tour of Phoenix nightspots that wouldn’t make my allergy to plastic places and people break out. Starting from the “Skyharbor” airport (whatever that’s supposed to mean, can I catch a a blimp for the moon there?), I googled “phoenix cool bars” and the first two results were azcentral.com articles on five and ten great Phoenix bars. Switching to the iPhone’s gmap function, I put in the address for what sounded the best on the list and 15 minutes later I was drinking a draft Dogfish Head IPA (it’s not local to PHX, but it sure is good) and grooving to an eclectic DJ mix at Carly’s Bistro. Carly’s was so good, I’m back this morning for a delicious brunch, consisting mostly of figs (ie, a prosciutto/fig/cheese panini and a fresh fig salad), coffee and more Dogfish Head, while Carly herself educates me on Phoenix’s alternative scene and I’m using the wifi to blog this entry. Carly probably belongs in PDX, but instead she’s bringing those values to PHX: Go Carly!

Next up was Hidden House, a spacious dive bar with pool and darts on one side and a DJ/live act club on the other. It was sort of empty and the DJ wasn’t hitting my groove at that moment, so I decided to save the $5 cover and come back another time. HH seemed like a good bet if you want to drink or dance without suffering pretensions.

Not far away was Shady’s Lounge, a small hipster joint that should’ve been dark and smoky, but was just dark thanks to the small herd of cancer stick addicts braving the chill on the patio, obeying what I hear is a new anti-smoking law. They only had usual suspects on tap (eg, Sierra Nevada), so I went with a bottle of Stone IPA. A friendly group called me over to share some of their Belgian Chimay and we chatted it up until closing. This poor girl at the next table’s date had passed out, so in keeping with the friendly spirit, I gave them a ride home.

The girl dumped her drunk date at his place a few blocks away and convinced me to drive her to the nearby Glam danceclub where she talked us in for free. Glam maybe sums up the incongruity of Phoenix: on the inside, you would have thought Glam was a NYC East Village afterhours place from the early 90s. On the outside, Glam was just a slot in a nondescript, trashy minimall between a tax prep storefront and a temp job agency (thanks Google street view for enabling me to be specific about Glam’s lowrent neighbors). I called it a night and returned to the calm of the ZenYard, thinking that in Phoenix, maybe sometimes the ugly is only skin deep.

Next time I’m in PHX, Carly told me about her friend’s independent hotel, the Clarendon, which also supposedly has a cool rooftop bar. If I’m zenned out, maybe I’ll stay there next. For sustenance, I wanted to try The Roosevelt also.

PS: A “utilitaur” is my wife’s term for the suburban housewife at the helm of her mighty SUV. Like the half-human, half-horse centaur, the half-human, half-machine utilitaur is a dangerous beast, especially when encountered while driving and mobilephoning.

Kindle Academic Publishing With Pronetos

The hype and opprobrium on Amazon’s Kindle is out. The verdict is in: usability AND content are king. Depending on who you read, the Kindle succeeds or fails on one or both counts.

As I type this out on my iPhone, I have to say: the Kindle must win on both usability and content to soar. But, Amazon’s strength is so heavily weighted to content, that is the place they should focus.

Enter Pronetos. Pronetos looks to be the iTunes of the academic coursepack. And if the iPod and Facebook/MySpace have proved anything, they have proved that kids alone can make a platform succeed if it has the content and/or connectivity they crave. They will even buy a second device if necessary.

Amazon: get academic publications on the Kindle now. Add the smart pen (ie, social networking) and the sky’s the limit.

I’ll integrate it all with my iPhone later ;)

Chatting the iPhone

Since the icon is right there on your iPhone home and you signed up for all those extra or unlimited SMS messages, maybe you didn’t consider using IM.

Or maybe you did, and I’m just slower than you ;) Well, I had mine for 20 minutes and immediately decided that free data is better than paid text.

Maybe the easiest way to IM on your iPhone is to point Safari to your meebo account (a web-based chat aggregator).

However, there are other apps out there (including even BitchX, my favorite CLI irc client).

Right now I’m trying out JiveTalk…read about it.

Or start using by pointing your iPhone Safari.

Others to consider:

Apollo (no gtalk/jabber yet)

mundu IM