August 2008
11 posts
Sourced and Non-Sourced Script Tags →
John Resig:
“One thing has always annoyed me about the script tag. Script tags that reference external resources (via the src attribute) are no longer able to execute script embedded within the tag itself.”
This has always bugged me, but I’ve never been able to come up with a good solution. I think John is really creating some good mojo with this post, and I’m fascinated...
Arrows are callbacks too →
Chris Eidhof:
“Arrows are a concept from functional programming, and we’ll see how they can make our life in Javascript a lot easier. Our code uses the excellent Arrowlets library. It’s still alpha code, but it’s already quite useful.”
What an odd title. It seems like the entire idea of this method is to use callbacks. I wish I knew what the author meant by his title.
Anyway, an...
JavaScript Stack Trace in any Browser →
Eric Wendelin:
“Chances are that if you’ve done any significant Javascript work, you’ve run into a situation where part of the debugging process could be much improved if you just had the function call stack.
“I’m going to give you some ways of doing this with and without the popular Firebug extension and have some examples of their uses.”
This seems to work, and I’d like...
Declarative Eventing in Markup with Dojo →
Karl Tiedt:
“Have you ever found a widget that does almost *everything* you need, yet you still manage to find some small thing that needs to be done differently? Ever cringe at the thought of having to extend a widget to add 5 or 10 lines of code to it? In the past, thats what you had to do… well unless you were really gung-ho and wanted to write your own from scratch.”
It’s meant...
Dojo Adds UI Testing with doh.robot →
Mark Hayes:
“However, we took a different approach to dispatching events: instead of using synthetic events, we used the cross-browser and cross-platform Java applet technology to place real events on the native event queue, as if a real person performed the action. This means that when you use doh.robot to execute your unit tests, browsers will trust the events doh.robot creates from your...
Worthwhile Django Database Migration? →
south tutorial:
“With South, you install it and then give one or more of your apps some migrations (either writing them by hand, or autogenerating them from your model definitions). When you syncdb, you’ll only sync apps that don’t have migrations (things like django.contrib.auth, for example, which have a fixed schema), and then when you run ./manage.py migrate, South kicks in and does...
Criticism of Standards Bodies and CSS →
Alex Russell:
“On this point the essay also contains a rhetorical bait-and-switch which I find distasteful: it dismisses variables because they don’t inherently do anything to reduce the lengths of pages (true!) and then argues against macros and inheritance because they create levels of indirection which can be confusing. Inheritance and macro definitions can play a key role in...
I discovered the Open Directory Project →
While reading about search engine optimization, I found out that Google factors this site in when doing ranking. I then found the JavaScript developers personal pages category. Lots of good names on there, I encourage you to add yours as well!
XD authentication in JavaScript →
Me:
“All the security policies that browser enforces remain in effect using this technique. In fact, the only data that gets exchanged between the two sites involved in the transaction is the data that each site explicitly assigns to what is technically nothing more than a shared variable.”
I wrote this article after getting a little frustrated at how complicated authentication...
Persistence of Class-Based OO in JavaScript →
David Flanagan:
“Class() — a utility function for defining JavaScript classes.”
Yet another attempt at treating JavaScript as something that it’s not. The comments are worth reading even moreso than the article. I’m hoping that we’ll be able to get away from some of the current attitudes that stand opposed to really great functional programming, and I have some ideas in the works...
In-browser development tools →
Kevin Yank:
“Every major browser has introduced new development tools that make it easier to diagnose problems with your HTML, CSS, and JavaScript code right inside the browser in question.”
I’m really excited to see some of the stuff coming up in Safari. A good overview for those of you that aren’t experienced with all the options out there.