travisjeffery + javascript 55
http://j.mp/ubfWCF
9 days ago by travisjeffery
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
9 days ago by travisjeffery
Windows and Node: Writing Portable Code by @dailyjs #javascript http://t.co/81hVY1BV
javascript
from
twitter
from delicious
9 days ago by travisjeffery
DailyJS: Windows and Node: Writing Portable Code
9 days ago by travisjeffery
Windows and Node: Writing Portable Code by @dailyjs #javascript
javascript
from twitter_favs
9 days ago by travisjeffery
It’s time to start using JavaScript strict mode | NCZOnline
12 days ago by travisjeffery
javascript strict mode
javascript
12 days ago by travisjeffery
http://j.mp/KX9zZv
12 days ago by travisjeffery
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
Test your code! Unit testing in JavaScript | Frontend | XING Devblog
12 days ago by travisjeffery
Test your code! Unit testing in #JavaScript with jQuery, QUnit, & Mockjax
JavaScript
from twitter_favs
12 days ago by travisjeffery
http://j.mp/IAUGcv
25 days ago by travisjeffery
Working with files in #JavaScript, Part 1 by @slicknet http://t.co/i56f27bc
javascript
from
twitter
from delicious
25 days ago by travisjeffery
Working with files in JavaScript, Part 1 | NCZOnline
25 days ago by travisjeffery
Working with files in #JavaScript, Part 1 by @slicknet
JavaScript
from twitter_favs
25 days ago by travisjeffery
http://j.mp/ITBrN5
26 days ago by travisjeffery
[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
Webcast: The Best of Velocity - Know Your Engines: How to Make Your JavaScript Fast
26 days ago by travisjeffery
[free webcast]: Know Your Engines: How to Make Your #JavaScript Fast //Tomorrow
JavaScript
from twitter_favs
26 days ago by travisjeffery
Not to be hyperbolic, but the continual promotion of the "module" pattern in Jav... | Hacker News
7 weeks ago by travisjeffery
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
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.
7 weeks ago by travisjeffery
rails3 rails.js and jquery catching success and failure of ajax requests - Stack Overflow
january 2012 by travisjeffery
.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
.bind('ajax:success', function(data, status, xhr) {})
.bind('ajax:complete', function(xhr, status) {})
.bind('ajax:error', function(xhr, status, error) {})
january 2012 by travisjeffery
Learning Advanced JavaScript
september 2009 by travisjeffery
Note to aspiring Node developers: learn more JavaScript. Specifically, stuff like this: #no...
advanced
javascript
no
september 2009 by travisjeffery
related tags
advanced ⊕ ajax ⊕ animation ⊕ apple ⊕ arrays ⊕ async ⊕ bookmarklets ⊕ code ⊕ corners ⊕ coroutines ⊕ css ⊕ dates ⊕ debugging ⊕ design ⊕ development ⊕ ejacs ⊕ emacs ⊕ events ⊕ extension ⊕ extensions ⊕ firebug ⊕ firefox ⊕ flash ⊕ forms ⊕ from ⊕ functional ⊕ gallery ⊕ google ⊕ graphs ⊕ greasemonkey ⊕ hackers ⊕ haskell ⊕ html ⊕ images ⊕ ipad ⊕ iphone ⊕ javascript ⊖ jquery ⊕ js ⊕ kitmate ⊕ learn ⊕ library ⊕ lightbox ⊕ maps ⊕ markdown ⊕ menu ⊕ module ⊕ mootools ⊕ navigation ⊕ no ⊕ oop ⊕ opensource ⊕ pattern ⊕ performance ⊕ presentation ⊕ pretty ⊕ print ⊕ profiler ⊕ programming ⊕ prototypes ⊕ rails ⊕ reference ⊕ regex ⊕ resources ⊕ retina ⊕ rounded ⊕ safari ⊕ screencasts ⊕ scripts ⊕ semicolosn ⊕ slides ⊕ taglist ⊕ text ⊕ textmate ⊕ tips ⊕ tools ⊕ tutorial ⊕ twitter ⊕ unobtrusive ⊕ vim ⊕ visualization ⊕ web ⊕ web-d ⊕ webdesign ⊕ webkit ⊕ yahoo ⊕Copy this bookmark: