There was an error in this gadget

Tuesday, March 17, 2009

Drupal 6 JavaScript and jQuery is out

I got my copies of Drupal 6 JavaScript and jQuery today.

Honestly, writing this book was a struggle. I think I spent longer debugging JavaScript on a multitude of platforms than I did actually writing the book. That makes the entire experience less enjoyable.

Another frustration with the book was trying to use the appropriate tone. My intent at the outset was to attract a different crowd. Rather than write to computer scientists and software engineers, I wanted to write to new web developers -- perhaps those who haven't done much programming at all. I don't think I met my own expectations in that regard. It is a rare gift to be able to explain something you know well to someone who has little base knowledge.

On the reverse side, I did have a chance to write some of the flashiest book code that I have ever written. Instead of writing generic code, I had the opportunity to start from what Drupal already has and build out. A few of my favorite examples were:
  • The real-time comment notification system (like Growl for a website). I might even have a project coming up that would allow me to use this on a production site.
  • A simple but configurable HTML editor called "better editor" (because it is an extension of an earlier example in the book). I could actually imagine creating a real module version of that.
  • A sorta cool client-side theming engine. It was fun. It has some practical application. Who knows... perhaps someone else will be able to make something useful of it.
So, yes, there were parts of this book that I really enjoyed working on.

Biographically speaking, it was rather strange to write a JavaScript book. I think the first server-side web apps that I wrote (that is, beyond simple CGIs) were written in Netscape's "Server-Side" JavaScript sometime around 1996 or 1997. And my first major consulting position was as a Lawson JavaScript developer. Looking back, Lawson was an unsung pioneer in the field. They were attempting to approximate AJAX with frames (not iframes -- no, this was before iframes were widely adopted). When I jumped ship from JavaScript to Java, I didn't think I'd turn back. But as the technologies have matured, I've found reason to want to script stuff on the client again.

Finally, I think the most interesting thing to come out of the book (and out of a discussion I had with Larry Garfield while writing the book) was QueryPath. Okay, to be completely honest, QueryPath was the result of three things:
  • Wes Munsil's teaching me how to write recursive descent parsers in June. Once I knew how to do it, I really wanted to write one. And who writes CSS parsers for PHP?
  • Learning jQuery. As soon as I started working with it I became enamoured. And the JavaScript book gave me more of a chance to think about its structure.
  • Expressing my frustrations with XML technologies to Crell, who flippantly suggested I write "jQuery for PHP". Really, that was the moment when the entire thing meshed. That happened somewhere around Chapter 4 of this book.
Will I write more books? Probably. I love the process. But maybe I'll take a breather for a few.

Wait... I just came up with a good idea for a book.

829 comments:

«Oldest   ‹Older   801 – 829 of 829
Jejen Zaenudin said...

This is a good article, I get a lot of knowledge from this article. thank you


cara alami sembuhkan haid berkepanjangan

Jejen Zaenudin said...

The content you created is very useful for me, thanks for sharing


cara sembuhkan dinding rahim tebal tanpa obat dokter

Jejen Zaenudin said...

Very good content in my opinion, many people who need information like this, including myself. thank you


efek setelah lepas kb suntik 3 bulan

Jejen Zaenudin said...

Not in vain i visited your blog, i get a lot of information from here. thank you


obat agar dinding rahim tebal cepat sembuh

Jejen Zaenudin said...

Your article is very interesting, I am very helpful with this article. thank you


cara membuka mulut rahim tertutup

Jejen Zaenudin said...

The contents of your article is very useful for me, hopefully you can continue to innovate in presenting quality content like this. thank you


obat herbal menghentikan haid berkepanjangan

Jejen Zaenudin said...

After several visits to your blog, I am very happy because a lot of science that I can absorb from your blog. thank you


saluran tuba tersumbat apa solusinya

Jejen Zaenudin said...

After reading the content on this blog, i got many valuable lessons. thank you


obat tuba falopi non paten

Jejen Zaenudin said...

Your article is very useful for me, thank you always give the best article


cara mengatasi penyempitan saluran rahim

ana medo said...

شركة تنظيف شقق بالدمام

شركة تنظيف سجاد وموكيت بالدمام

ان شركة النسور شركة متخصصة لعمليات نقل العفش بجميع انحاء المملكة العربية وبالمنطقة الشرقية خاصة مع ضمان علي اداء العمل خصومات وعروض رائعه يمكنك الاستمتاع بالخدمات عن طريق زيارة الرابط التالي
شركة نقل اثاث بالاحساء
شركة عزل اسطح بالاحساء

CERITA SEXUAL said...

very interest post judi poker

Jejen Zaenudin said...

Your articles are very useful for me, it's nice to visit your blog.


obat herbal penyempitan saluran tuba

Jejen Zaenudin said...

though often drop by to your blog, I never get bored with the content you serve


cara mengobati penebalan dinding rahim tanpa kuret

Unknown said...

nice info you got there, i found this site from my friend computer and good things this is a good site judi poker

Jejen Zaenudin said...

I am happy to continue to enjoy your content, because I have a lot of information that I get from your content. thank you


cara mengobati penebalan dinding rahim paling ampuh

Jejen Zaenudin said...

I am happy to continue to enjoy your content, because I have a lot of information that I get from your content. thank you


cara mengobati penebalan dinding rahim paling ampuh

Jejen Zaenudin said...

thank you for all the knowledge you've been sharing with me through your blog. hopefully always successful for your blog


obat penebalan dinding rahim paling aman

Jejen Zaenudin said...

your article is amazing, I am very grateful to you, because it has helped me a lot.


cara mengobati rahim tertutup lemak

Jejen Zaenudin said...

today I am very happy to visit your blog, because I just got a new lesson. thank you


cara cepat melancarkan datang bulan

Jejen Zaenudin said...

some of the articles you present are very useful for me, thank you for sharing


cara mengatasi rahim tertutup lemak

Jejen Zaenudin said...

some of the articles you presented are very useful to me, thanks for sharing my selflessness


obat pelancar datang bulan paling aman

Jejen Zaenudin said...

it's great to continue enjoying your great content. thank you for sharing many things


obat saluran tuba tersumbat

Jejen Zaenudin said...

your content is very varied, so I do not get bored to keep visiting your blog. thank you


cara cepat menyembuhkan perlengketan tuba falopi

Jejen Zaenudin said...

Your content is highly variable, and very weighty and contains lots of useful information. thank you


cara melancarkan datang bulan setelah kb 3 bulan

Jejen Zaenudin said...

this article is very amazing, I like the style of writing is simple but weighty. thank you


obat kaligata paling ampuh

Jejen Zaenudin said...

I applaud your consistency in presenting quality content. hope you stay healthy


obat kaligata untuk anak

yuni indarti said...

proposal pemasaran

Jejen Zaenudin said...

your article is very good, I really salute to you who can consistently create quality articles.


cara menghilangkan kaligata secara permanen

Jejen Zaenudin said...

This article is amazing, I like your writing style that is simple but weighty. Your articles are also one of quality content. I think you just add the look of his blog becomes more interesting again.


cara menghilangkan biduran selamanya



obat kaligata untuk ibu menyusui

«Oldest ‹Older   801 – 829 of 829   Newer› Newest»