travisjeffery + javascript   55

http://j.mp/ubfWCF
Backbone Koans: Learn Backbone by Fixing Unit Tests #javascript http://t.co/6sOCQzem
javascript  from  twitter  from delicious
9 days ago by travisjeffery
http://j.mp/Mu8p75
Windows and Node: Writing Portable Code by @dailyjs #javascript http://t.co/81hVY1BV
javascript  from  twitter  from delicious
9 days ago by travisjeffery
http://j.mp/KX9zZv
Test your code! Unit testing in #JavaScript with jQuery, QUnit, & Mockjax http://t.co/eNntMinf
javascript  from  twitter  from delicious
12 days ago by travisjeffery
http://j.mp/IAUGcv
Working with files in #JavaScript, Part 1 by @slicknet http://t.co/i56f27bc
javascript  from  twitter  from delicious
25 days ago by travisjeffery
http://j.mp/ITBrN5
[free webcast]: Know Your Engines: How to Make Your #JavaScript Fast http://t.co/bsP5fFjJ //Tomorrow
javascript  from  twitter  from delicious
26 days ago by travisjeffery
Not to be hyperbolic, but the continual promotion of the "module" pattern in Jav... | Hacker News
Not to be hyperbolic, but the continual promotion of the "module" pattern in JavaScript is some of the worst advice you can give.
JavaScript has prototypes for a reason -- use them. By using the "module" pattern to build objects, you create a separate copy of every function for every instance of every object you create. If you're just creating a handful of objects, it's no big deal, but if you're creating a large number of objects, it's horribly CPU and memory inefficient.
Modern JS runtimes like Chrome/V8 can create and store a million small objects with prototypes and "new" in a couple seconds, using just a dozen or so megabytes of RAM. Creating the same million small objects with the "module" pattern takes minutes, uses many hundreds of megabytes of memory, and often crashes the browser.
And that's just the pragmatics -- there are deeper semantic reasons to use real prototypes.
module  pattern  javascript  prototypes 
7 weeks ago by travisjeffery
rails3 rails.js and jquery catching success and failure of ajax requests - Stack Overflow
.bind('ajax:beforeSend', function(xhr, settings) {})
 .bind('ajax:success',    function(data, status, xhr) {})
 .bind('ajax:complete', function(xhr, status) {})
 .bind('ajax:error', function(xhr, status, error) {})
javascript  ajax  events 
january 2012 by travisjeffery
Learning Advanced JavaScript
Note to aspiring Node developers: learn more JavaScript. Specifically, stuff like this: #no...
advanced  javascript  no 
september 2009 by travisjeffery

Copy this bookmark:



description:


tags: