Node.js, Require and Exports
5 weeks ago by sunpig
Back when I first started playing with node.js, there was one thing that always made me uncomfortable. Embarrassingly, I'm talking about module.exports. I say embarrassingly because it's such a fundamental part of node.js and it's quite simple. In fact, looking back, I have no idea what my hang up was...I just remember being fuzzy on it. Assuming I'm not the only one who's had to take a second, and third, look at it before it finally started sinking in, I thought I could do a little write up.
node
nodejs
require
exports
module
commonjs
load
js
javascript
server
5 weeks ago by sunpig
Using Modernizr to detect HTML5 features and provide fallbacks | HTML5 Doctor
7 weeks ago by sunpig
Modernizr is a JavaScript library that detects which HTML5 and CSS3 features your visitor’s browser supports. In detecting feature support, it allows developers to test for some of the new technologies and then provide fallbacks for browsers that do not support them. This is called feature detection and is much more efficient than browser sniffing.
modernizr
html
javascript
js
yepnope
html5doctor
webdev
frontent
feature
detect
load
conditional
7 weeks ago by sunpig
Bruce Lawson’s personal site : What Users Want from Mobile, and what we can re-learn from them
11 weeks ago by sunpig
RT @brucel: What Users Want from Mobile, and what we can re-learn from them
brucel
brucelawsom
mobile
users
speed
load
usability
functionality
want
desire
webdev
11 weeks ago by sunpig
Optimize for mobile
april 2011 by sunpig
In our own tests conducted in early 2011, we found that on modern mobile devices, each additional kilobyte of JavaScript adds about 1ms of parse time to the overall page load time. So 100kB of JavaScript included in the initial page load would add 100ms of load time for your users. Because JavaScript must be parsed on every visit to a page, this added load time will be part of every page load, whether loaded from the network, via the browser cache, or in HTML5 offline mode.
speed
optimization
performance
javascript
1kb
1ms
google
pagespeed
defer
js
load
parse
execute
busy
april 2011 by sunpig
meeblog » Blog Archive » dev post: Meebo Bar embed code open sourced!
january 2011 by sunpig
RT @souders: Meebo open sources their code. Any 3rd party creating snippets to embed should read this!
dev
webdev
frontend
js
javascript
window
load
iframe
thirdparty
script
from twitter
january 2011 by sunpig
How to Measure Page Load Time With Google Analytics | Web Performance Blog
october 2010 by sunpig
RT @forjared: New blog post: How to measure page load time with google analytics
load
page
web
webdev
analytics
ga
speed
performance
javascript
js
time
custom
variables
analysis
data
october 2010 by sunpig
High Performance Web Sites :: (down)Loading JavaScript as strings
december 2009 by sunpig
"The technique they came up with was to wrap the JavaScript in comments. This allows the code to be downloaded, but avoids the CPU lockup for parsing and execution. Later, when the user clicks on a feature that needs code, a cool dynamic technique is used to extract the code from the comments and eval it."
stevesouders
performance
js
javascript
optimization
webdev
download
parse
parsing
execution
eval
string
load
sproutcore
charlesjolley
deferred
velocity
december 2009 by sunpig
related tags
"tamper ⊕ 1.9.2 ⊕ 1kb ⊕ 1ms ⊕ 37signals ⊕ adverts ⊕ ajax ⊕ ala ⊕ alistapart ⊕ amazon ⊕ analysis ⊕ analytics ⊕ animated ⊕ archive ⊕ assets ⊕ async ⊕ asynchronous ⊕ autoloader ⊕ average ⊕ balance ⊕ ball ⊕ barnesandnoble ⊕ basecamp ⊕ block ⊕ blocking ⊕ book ⊕ books ⊕ boot ⊕ bottleneck ⊕ browser ⊕ browsers ⊕ brucel ⊕ brucelawsom ⊕ bubble ⊕ bundle ⊕ business ⊕ busy ⊕ buy ⊕ cache ⊕ caching ⊕ capacity ⊕ casehardened ⊕ cdn ⊕ certificate ⊕ charlesjolley ⊕ chrisheilmann ⊕ class ⊕ client ⊕ code ⊕ commonjs ⊕ conditional ⊕ css ⊕ custom ⊕ data ⊕ data" ⊕ deanedwards ⊕ defer ⊕ deferred ⊕ delay ⊕ dell ⊕ design ⊕ desire ⊕ detect ⊕ dev ⊕ development ⊕ deveopment ⊕ dns ⊕ document ⊕ documentwrite ⊕ dom ⊕ domready ⊕ download ⊕ drm ⊕ dynamic ⊕ ebook ⊕ ec2 ⊕ economist ⊕ enhance ⊕ es ⊕ eval ⊕ event ⊕ execute ⊕ execution ⊕ expires ⊕ expiry ⊕ export ⊕ exports ⊕ extension ⊕ external ⊕ f5 ⊕ fast ⊕ feature ⊕ file ⊕ firebug ⊕ firefox ⊕ firstsale ⊕ frontend ⊕ frontent ⊕ functionality ⊕ ga ⊕ gap ⊕ generate ⊕ gif ⊕ google ⊕ googleanalytics ⊕ hack ⊕ hackintosh ⊕ harmony ⊕ head ⊕ header ⊕ hijax ⊕ history ⊕ hmlhttprequest ⊕ html ⊕ html5doctor ⊕ http ⊕ httparchive ⊕ icon ⊕ ie ⊕ iframe ⊕ image ⊕ imge ⊕ import ⊕ importnode ⊕ include ⊕ indicator ⊕ input ⊕ install ⊕ interaction ⊕ internetexplorer ⊕ jamesburke ⊕ javascript ⊕ jquery ⊕ js ⊕ kentbrewster ⊕ laptop ⊕ launch ⊕ lazyload ⊕ lend ⊕ lh ⊕ library ⊕ licensing ⊕ link ⊕ load ⊖ loadbalancing ⊕ loaded ⊕ loader ⊕ mac ⊕ markwubben ⊕ measure ⊕ measurement ⊕ merge ⊕ microsoft ⊕ minify ⊕ mobile ⊕ modernizr ⊕ module ⊕ netbook ⊕ nicholaszakas ⊕ no-js ⊕ node ⊕ nodejs ⊕ object ⊕ onload ⊕ optimization ⊕ optimize ⊕ osx ⊕ ownership ⊕ p290 ⊕ page ⊕ pagespeed ⊕ parallel ⊕ parse ⊕ parsing ⊕ patch ⊕ patched ⊕ pattern ⊕ pc ⊕ performance ⊕ persistence ⊕ petermichaux ⊕ php ⊕ pjax ⊕ plugin ⊕ poll ⊕ popup ⊕ preload ⊕ presentation ⊕ progress ⊕ progressive ⊕ purchase ⊕ pushstate ⊕ rails ⊕ rake ⊕ ready ⊕ refresh ⊕ rel ⊕ replace ⊕ require ⊕ require_once ⊕ resource ⊕ response ⊕ rights ⊕ rspec ⊕ ruby ⊕ run ⊕ ryangrove ⊕ s3 ⊕ script ⊕ security ⊕ seo ⊕ server ⊕ sheet ⊕ sifr ⊕ simonwillison ⊕ site ⊕ size ⊕ slow ⊕ solution ⊕ speed ⊕ spinning ⊕ sproutcore ⊕ ssl ⊕ stacker ⊕ starbucks ⊕ start ⊕ startup ⊕ state ⊕ statistics ⊕ stevesouders ⊕ stoyanstefanov ⊕ stress ⊕ string ⊕ style ⊕ synchronous ⊕ tag ⊕ tags ⊕ test ⊕ testing ⊕ thirdparty ⊕ throbber ⊕ time ⊕ tomdale ⊕ tracking ⊕ trust ⊕ ui ⊕ unobtrusive ⊕ url ⊕ usability ⊕ users ⊕ variables ⊕ velocity ⊕ wait ⊕ waiting ⊕ want ⊕ was ⊕ web ⊕ webcat ⊕ webdev ⊕ webkit ⊕ webpage ⊕ widget ⊕ window ⊕ wpo ⊕ write ⊕ xbrowser ⊕ xhr ⊕ xhtml ⊕ xml ⊕ yepnope ⊕ yslow ⊕ yui ⊕Copy this bookmark: