background preloader

Extension

Facebook Twitter

FirePHP - Firefox Extension for PHP Development. Chronicle-recorder - Google Code. Seven JavaScript Techniques You Should Be Using Today. The web professional's online magazine of choice. In: Articles By Dustin Diaz Published on April 23, 2007 Whether or not your JavaScript is maintainable often seems to be relative to the task you’re trying to accomplish. You can follow best practices, or not, and sometimes you’ll be fine either way.

Nevertheless, in this article, we’ll demonstrate seven techniques you can add to your daily code writing habits to make you a better programmer. A closure establishes a space in which any variables defined within that space are not accessible from outside that space. One thing to keep in mind as you go through these examples is that there is definitely more than one way to accomplish these tasks—the goal here is to shed a little light on how things can be done in a smarter way. One: Branch when possible When performance matters, it’s often advisable to branch out your functions in a way that ensures processor-intensive or memory-hungry tasks won’t be frequently repeated. Two: Make Flags. Banteng - javascript app runtime. MozLab - Trac.

Dean.edwards.name/ The Open Software Wiki.