2011-10-31

blackeiderdown: (Default)
2011-10-31 02:48 pm

Fall 2011 Programming Log



This fall I began programming a YouTube video timer. It will load an embedded YouTube video once the timer reaches zero.

In theory, this should be a very simple script. I turned it into a great drama.

First, I decided to only use the Date object sparingly because its built-in methods lack the flexibility I desired. Secondly, I wanted to load a song just by clicking a link on a list. Third, I wanted to load the timer and all of its scripts dynamically. Fourth, I wanted to package the timer in a pretty user interface with tabs.

And finally, I am no expert at JavaScript. I am still trying to make my peace with JavaScript being a prototype-based language. I also need to learn more about JavaScript's keywords (e.g. arguments and typeof) and memory usage.

At this point, let us just forget about JQuery and Ajax.