Fun with JavaScript Profiling, Minification, and JSLint

I’ve been working with JSLint profiling and what they say is true: minification is more efficient if you write your JavaScript following certain JavaScript sub-standards (I know there’s a better way to phrase that). File Sizes Original: 27,542 bytes Original (minified): 21,179 Linted: 30,714 Linted (minified): 20,899 Here’s the scoop. The original file size was 27,542Continue reading “Fun with JavaScript Profiling, Minification, and JSLint”

“JavaScript Wranglin’” or “How I learned To Stop Worrying and Love the DOM”

SUBJECT A short, abstract assessment of how one might improve performance, maintainability, and extensibility of the legacy JavaScript architecture on a high-traffic enterprise website; to create automated processes to perform continuous profile, test, build, integrate, and deployment work; to furnish a well-documented codebase to future developers. MAKE THE JAVASCRIPT UNOBTRUSIVE First, make the JavaScript unobtrusive.Continue reading ““JavaScript Wranglin’” or “How I learned To Stop Worrying and Love the DOM””

WebKit Gets New Features in Safari Mobile on iOS 6

Not a huge deal, but we can see where this is going. requestAnimationFrame and cancelAnimationFrame are very useful for – drum roll – JavaScript animation. WebKit on iOS now supports the requestAnimationFrame and cancelAnimationFrame methods in JavaScript, as described here http://www.w3.org/TR/animation-timing/. Note that because the specification is still at the Working Draft state, these methods have the webkit prefix,Continue reading “WebKit Gets New Features in Safari Mobile on iOS 6”

Three Steps to a Fullscreen Web App on iOS Safari

Intro When the iPhone concept started taking shape at Apple, installed apps were not given much consideration. No plan existed for an installed app marketplace because the WebKit-based iOS Safari mobile browser would be able to do all the work,* thus allowing web apps to be written in a unified standard. And that unified standardContinue reading “Three Steps to a Fullscreen Web App on iOS Safari”

Camera Coming to Android’s Default Browser

Can’t wait until this is available on iOS Safari mobile. From your browser you can now upload pictures and videos from the camera as well as sounds from the microphone. via Android 3.0 Honeycomb is first to implement the Device API | David Calhouns Blog.