Chris Nizzardini, Salt Lake City Utah, Web Developer Specializing in LAMP+Ajax Since 2006

My Blog

Here is my awesome blog.

Archive for July, 2009

best way to load your JavaScript

Posted by chris on July 30th, 2009 Comments(0)

Interesting article over at Ajaxian on loading your javascript code. I’m not sure this is the best way in all cases, but when you’re coding in a world of frameworks, multiple js files, wysiwyg editors, and framework plugins and widgets it definitely makes sense in many circumstances.

In ajax/dom/javascript ()

google wave, next generation collaboration platform, google exchange killer

Posted by chris on July 24th, 2009 Comments(0)

Reading Slashdot I came across this article on Googles latest yet-to-be-released product called, Google Wave.

http://developers.slashdot.org/story/09/07/22/220226/Google-Wave-Reviewed

I was interested enough to sit through the 1 hour video demo on the product and it was worth every minute. I am thoroughly ecstatic about this product and the Google Wave API makes the possibilities endless. Think about all those iphone style apps or all those great FireFox Addons rolled into an enterprise (or something great for you and some friends) collaboration suite.

In thinking about Wave, Google thought about what they would include in email if they could completely rewrite it today. What they ended up doing is making email interactive like an instant messenger client, to the point where you can see what recipients (yes thats plural you can add multiple people to an email) is typing character by character as it happens real time. Now say you add a new person to a “thread” that has hundreds of responses, enter the playback feature. You can playback the life cycle of the thread, message-by-message and edit-by-edit from beginning to the most recent response. This thing is jam packed with other neat features like a slick drag and drop photo gallery (gears only right now but they are pushing to get it adopted into HTML 5), spell checker, setting pieces of a thread private etc.

The whole thing is open source so you’re not locked into Google as your Wave vendor. You can install it at home or work and modify the code to tailor the Wave to your organizations needs. If modifying the application is a bit much you can tie into the Wave API and create your own extensions. If you have an hour and twenty minutes to kill I would watch the demo, it really is awesome!

In rant ()

adventures in linux printing, set default printer and firefox command line print

Posted by chris on July 23rd, 2009 Comments (2)

We are in the process of redesigning our packing slips that get sent out to customers with each order. The previous developer went with a solution, html2ps, that has shotty support for CSS and design principals in general. The designer and I decided we needed something else. After trying numerous solutions, a co-worker suggested I give FireFox command line print a try.

Read the rest of this entry »

In linux, php (, , , , , , )

firefox 3.5 fails – bug with ajax callback onreadystatechange

Posted by chris on July 17th, 2009 Comments(0)

I first noticed this bug a few days after upgrading to FireFox 3.5. When you fire an XHR request, the callback function is not being executed when the request completes itself. Instead you see an onreadystatechange error in Firebug.

There have been several bugs reports on this:

http://www.nczonline.net/blog/2009/07/09/firefox-35firebug-xmlhttprequest-and-readystatechange-bug/
http://www.ghastlyfop.com/blog/2007/01/onreadystate-changes-in-firefox.html

My advice is don’t upgrade too FireFox 3.5 until they have released a patch for this bug. Its incredibly annoying to keep retrying your XHR request until it finally succeeds knowing your code is just fine. I have downgraded both my systems to FireFox 3.0.11. My bigger concern is how this ever got passed of by QA?

In rant ()

new TableSorter mootools widget for sorting tables

Posted by chris on July 9th, 2009 Comments(0)

Please see the version 0.9.5 blog post
Read the rest of this entry »

In ajax/dom/javascript (, , , )