A dead simple JavaScript Binary Search Tree (BST)
Posted Jun 10th, 2009 by admin
Nicholas Zakas has a nice writeup on creating a binary search tree in JavaScript as part of his computer science series, where he’s explaining basic CS principles such as bubble sorting and linked lists entirely in JavaScript. This is a great idea in many ways, most of all because it further separates learning programming from [...]
Global variables and you
Posted Mar 8th, 2009 by admin
Lately I’ve been a bit addicted to answering questions on Yahoo! Answers. I think it’s because of the excitement I feel when I can finally find a question I can answer!
Anyhow, one of the recent questions was regarding global variables in JavaScript. One person responded incorrectly that writing “var” in front of variable [...]
Converting to XML or JSON with YQL
Posted Feb 25th, 2009 by admin
XML, JSON, YQL. Is that enough acronyms for you?
XML and JSON you’ve probably heard about, but maybe not YQL, which is Yahoo!’s SQL-esque query language which was released to the public late last year. It’s primarily advertised as a service to access data from Yahoo! properties such as Flickr and Yahoo! News. What you may [...]
Video: John Resig: “The DOM Is a Mess”
Posted Feb 2nd, 2009 by admin
John Resig: “The DOM Is a Mess” @ Yahoo! Video
John Resig, who will constantly be younger than me yet much smarter than I’ll ever be, gave a talk at Yahoo last week regarding various issues relating to Javascript development and the DOM. He had some interesting things to say about how jQuery goes about [...]
Free chapter from Zakas’s Professional JavaScript for Web Developers
Posted Jan 16th, 2009 by admin
The second edition of Nicholas C. Zakas’s Professional JavaScript for Web Developers has just been released, and thanks to the YUI Blog, there’s an entire chapter (Chapter 18: Advanced Techniques) available for free online.
I do have the first edition but so far haven’t sat down to read it. Skimming over the free chapter, however, is [...]
The curse of CSS rounded corners
Posted Jan 11th, 2009 by admin
If you’ve done any sort of work with rounded corners on webpages, you know that they can be tricky to pull off. In any case, it’s a lot harder than it really should be. Working with rounded corners is almost like adding graphical borders around elements as if the CSS border property didn’t exist. It’s [...]
Javascript fallback and the noscript tag
Posted Dec 3rd, 2008 by admin
As you may or may not know, there are users across the internet who don’t have Javascript. Yes, that might be shocking and terrifying, but you have to deal with it!
Good websites try to code in such a way that allows all users to access content, with or without Javascript or other plugins. This is [...]
JQuery’s annoying edits to “onchange” behavior
Posted Dec 1st, 2008 by admin
I’m starting to dabble in some JQuery just for fun. After learning a lot about YUI over my summer internship at Yahoo, I wanted to see how other Javascript frameworks accomplish similar tasks.
So far I like the selectors in JQuery. Their similarity to CSS selectors makes a lot of sense. It makes sense to retain [...]
txt2re: Tool to relieve headaches caused by Regexp (Regular Expressions)
Posted Nov 25th, 2008 by admin
Since I’m in the middle of transitioning from beginner Javascript to what I consider intermediate Javascript, I’ve often been faced with the intimidating task of using Regular Expressions.
It’s no easy task. The syntax is ridiculously difficult to read and probably harder to write, at least for the uninitiated (i.e. normal people like me). Javascript guru [...]
Video: Douglas Crockford, “Web Forward”
Posted Nov 18th, 2008 by admin
Douglas Crockford: “Web Forward” @ Yahoo! Video
Check this out! I was there! I’m the guy fiddling around with the camera in the front row, half paying attention
Categories
- accessibility (1)
- browser bugs (2)
- css (6)
- html (6)
- javascript (10)
- jquery (4)
- mobile (1)
- performance (2)
- php (1)
- regular expressions (1)
- rss (3)
- seo (1)
- Site News (1)
- table (1)
- Uncategorized (4)
- videos (2)
- wordpress (1)
- xml (2)
- yui (0)