Category: javascript
« Previous Entries
March 10, 2010
I’ve been doing a lot of work lately with a client who’s using just the controller portion of JavaScriptMVC. I plan to write a more in-depth post about this while I’m traveling this week, but in the meantime, I wanted to jot down the steps to create the standalone controller.js file for my future reference. [...]
Categories: howto, javascript, jquery |
Tags: javascriptmvc | 1 Comment »
December 3, 2009
This article originally appeared in the May 2009 issue of JSMag.
We’re all familiar with the basic events — click, mouseover, focus, blur, submit, etc. — that we can latch on to as a user interacts with the browser. Custom events open up a whole new world of event-driven programming. In this article, we’ll use jQuery’s [...]
Categories: howto, javascript, jquery |
5 Comments »
June 15, 2009
One of my goals this year was to get up in front of people and talk. To that end, I’m happy to announce that I’ll be teaching a jQuery fundamentals class July 29-30 at Carrboro Creative Coworking in Carrboro, N.C.
In my work with jQuery beginners, I often find that the library is so easy [...]
Categories: front-end development, javascript, jquery |
No Comments »
April 1, 2009
The second issue of the new JSMag is out today, and among other excellent content, it includes an article from me about using object literals to organize your JavaScript features. Some good stuff for people who may be accustomed to writing more procedural jQuery. Here’s the setup:
In the past few years, JavaScript libraries have given [...]
Categories: javascript |
No Comments »
March 3, 2009
Just a heads-up that I was lucky enough to be asked to write an article for the first issue of JSMag, a new magazine published by Michael Kimsal and dedicated to all things JavaScript. The magazine will be coming out in the next day or two, and features articles about unit testing, ExtJS, JavaScript debugging, [...]
Categories: javascript, jquery |
1 Comment »
June 6, 2008
Ajaxian has the latest article I’ve come across about remote Javascript using document.write() (and a bit of a related issue when it comes to Google Analytics). They link to yet another way to get around it by hijacking the browser’s document.write(), just as John Resig suggested to me the last time I complained about this.
I [...]
Categories: front-end development, javascript |
1 Comment »
May 18, 2008
It sounds like TechCrunch got burnt yesterday by some remote Javascript appearing too high in their pages’ HTML. Visitors’ browsers were waiting and waiting for the remote script to load, and refusing to render the rest of the page until it did.
All we knew is that our sites all simultaneously went down three times yesterday. [...]
Categories: front-end development, javascript |
No Comments »
April 11, 2008
I have been coming across way too much remote Javascript that uses document.write() to insert its contents. From ad providers to video hosting services, it’s common practice to provide a Javascript tag like:
<script src="http://some-remote-server.com/some-tiny-file.js" type="text/javscript"></script>
and tell the site owner to just include it in their page where the ad or content should appear.
This is [...]
Categories: front-end development, javascript |
3 Comments »
April 6, 2008
Google’s AdSense ads, and lots of others, are added to pages using Javascript, and if that Javascript appears early in the page’s HTML, it can seriously slow down the rendering of the rest of the page. That’s because browsers generally refuse to do any further rendering of the page until they have a requested Javascript [...]
Categories: howto, javascript, troubleshooting |
3 Comments »
April 3, 2008
My friend Matt Henry and I are going to try to get a Javascript users group started in Durham so we can meet other users (and probably do a bit of jQuery evangelizing). If you’re interested, visit the Triangle Javascript Users Group page, and join us at the Federal in downtown Durham on May 6.
Categories: javascript, jquery |
1 Comment »
« Previous Entries