Posts Tagged ‘JavaScript’

Script Injection: Debug with Your Favorite AJAX Library

Tuesday, June 15th, 2010

You want to debug a web page using your favorite AJAX library, but it isn’t loaded into the page. Fortunately, there is a solution…

Script Injection: Debug with Your Favorite AJAX Library
(more…)

Video: Optimize Your Website to Load Faster!

Thursday, June 3rd, 2010

One of the two videos from the June 1st meeting is posted. In this one, I go pretty deep into how to optimize your website. There’s a lot of energy in this one, and I’m surprised how much information I was able to cover; it should be enjoyable. The video is posted here, and to go along with the video is another one of my colorful presentations.

Faster Websites! Kill! Kill! - Mike Wilcox

Video: The History of HTML5

Friday, May 14th, 2010

One of the two videos from the May 4th meeting is posted. My presentation on The History of HTML5 is available here. Also see the presentation.

A reminder that Club AJAX is using the awesome BetterVideo™ player and hosting. The player has been updated with new controls (fullscreen) and social tools, so you can post the video via email, Twitter, Facebook, or grab the code and post it on your page.

Mock Data Randomizer

Wednesday, May 12th, 2010


A common step in the development cycle is to substitute fake data until real data is created, generated, or the API is set up to retrieve it. Creating this fake data isn’t usually difficult, but it can be a tedious and repetitive task. Club AJAX has added a new library item to create mock data for use in application development. Using the Club AJAX Randomizer, you can easily generate random numbers, booleans, colors, dates, characters, words, sentences, titles, names, and even website names. Helper functions are also available to scramble or return random elements from your own data.
(more…)

Weighted Random Number

Monday, April 26th, 2010

If you are new to JavaScript, the method to get a random number may be difficult to grasp. The built-in function Math.random() does not accept any arguments, and it returns a decimal between 0 (inclusive) and 1 (exclusive). Most often, we want a whole number, maybe to be used for accessing a random element in an array. Consequently, random generators usually have to be custom coded. But what if we want to get a more weighted distribution of random numbers? Say of a random number between 1-5 we want 1 to show more often than 5? Even if you are not new to JavaScript, determining the math to add a weight to a random result can be quite tricky.

(more…)

Fixing the JavaScript Console

Monday, April 19th, 2010


Firebug, the massively successful Firefox addon is an awesome development tool, but it’s not perfect. Carelessness in using it can lead to irritating and even embarrasing errors. And the console built into Internet Explorer 8? It’s great that web developers finally have something to help us develop on IE, but it is still pretty lame. When you consider working with both of them both together, you have even more problems. In general, it’s very undesirable to have debugging code cause bugs. Fortunately, there’s a very simple way of virtually eliminating these debugging errors.

(more…)

New Club AJAX Video Series

Tuesday, April 13th, 2010

Last Tuesday’s meeting was a big success. Dion Hinchcliffe was fact filled, enlightening and entertaining as always. After the meeting I personally felt the urge to go back to my company and tell them all the business opportunities that are currently available. We are very proud and very lucky to have had him speak at our group!

If you missed it, do not fear. His presentation is available here (the main one – the other has not been made public). But even better – the video is posted here.

Of course, Club AJAX has posted plenty of videos before, but starting with this one they are now hosted and edited by BetterVideo™. No longer are they stationary camera shots. They are now professional edited and slickly produced! Going by the standards of YUI Theater, the new BetterVideo-produced Club AJAX videos exceed them in quality! Of course the video already had great content thanks to Dion, but now our videos are and will be that much more watchable.

Enjoy!

JavaScript: Private Variables are Evil

Tuesday, April 6th, 2010

One of the more exciting discoveries in JavaScript programming was in 2001 when Douglas Crockford found the ability to create private variables in JavaScript. Granted, this was exciting, and as with any new toy, everybody started using them. Since then, you can’t find a book, tutorial or blog that doesn’t have some kind of “How to!!” showing how to do it. But, despite the excitement, private variables should be used in moderation at best.

(more…)

Turns out JavaScript Really is a Toy

Thursday, April 1st, 2010

Bob and I have been studying JavaScript for years, we’ve started this website and user group, and we’ve even gone to conferences to evangelize the language. However, after doing the research for my RIA post, I’ve come to the realization…

JavaScript really is a toy.

(more…)

The History of RIA Technologies

Monday, March 29th, 2010

The HTML5 specification includes more than just new tag markup; it also includes features such as input widgets, canvas, SVG, video, and audio – all powered by JavaScript. HTML5 is hot and being touted as the language du jour for building web applications. You can’t read the tech news stories today without seeing HTML5 discussed – in spite of the fact that the most popular browser doesn’t even support it.  But the RIA technologies have been around longer than HTML5 – in fact, RIAs technically don’t even include JavaScript or AJAX, and instead refer to Flash, Java and Silverlight. So how did HTML5 become become such a hot trend? We’ll get into HTML5 in a future post; first, let’s go into a little history of RIAs.

Timeline of RIAs

(more…)