23 February 2012

The Tech Reflector

Page 1 of 4, last updated 4 minutes ago.


  Source Favicon
Email

JavaScript Type Inference

We've improved JavaScript performance once again with type inference. We've made significant improvements on both the V8 and Kraken benchmarks, and you should see real-world improvements to JavaScript performance as well.

JavaScript Interface for Do Not Track

Firefox 4 introduced Do Not Track , and now there is a way to detect a users'prefence through JavaScript as well:

mouseenter and mouseleave events

For some time …

hacks.mozilla.org Read
  Source Favicon
By Robert Nyman of Robert's talk 5 months ago.
Email
  Source Favicon
On DailyJS 5 months ago.
Email

Ender ( GitHub: ender-js / Ender , License: MIT , npm: ender ) by Dustin Diaz and Jacob Thornton is a package manager for front-end JavaScript. It has a command-line interface that allows scripts to be packaged and minimised, which can then be loaded like CommonJS modules in a browser.

This builds ender.js and ender.min.js files that contain the specified modules:

ender build jquery underscore backbone

Then in my client-side scripts I can require libraries …

dailyjs.com Read
  Source Favicon
On DailyJS 5 months ago.
Email

Internet Explorer provides an onreadystatechange property instead of onload . That means the script element's readyState has to be checked.

( function ( global ) { var appendTo = document . head || document . getElementsByTagName ( 'head' ); function require ( scriptSrc , fn ) { var script = document . createElement ( 'script' ); script . type = 'text/javascript' ; script . src = scriptSrc ; script . onload = script . onreadystatechange = function () { …

dailyjs.com Read
  Source Favicon
By Jacob Seidelin of Nihilogic 5 months ago.
Email

The newest iteration of HTML, HTML5 can be used with JavaScript, CSS3, and WebGL to create beautiful, unique, engaging games that can be played on the web or mobile devices like the iPad or Android phones. Gone are the days where games were only possible with plugin technologies such as Flash and this cutting-edge book shows you how to utilize the latest open web technologies to create a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets. You'll discover …

blog.nihilogic.dk Read
  Source Favicon
By Christopher Blizzard of Mozilla Hacks - the Web developer blog 5 months ago.
Email

It's no longer possible for a web site to change the default size of a window in a browser, according to the following rules :

You can't resize a window or tab that wasn't created by window.open.

You can't resize a window or tab when it's in a window with more than one tab.

Support for the new Navigation Web Timing Spec

Firefox Update 7 now supports the Navigation Timing spec . This allows a web page author to monitor parts of web page …

hacks.mozilla.org Read
  Source Favicon
By Andrea Giammarchi of Web Reflection 5 months ago.
Email

any sort of security issue

the change/update that requires a system reboot

What we are always "scared about" online

the white screen due some JS/CSS failure for the current browser

the forgotten alert or console.log inside some try catch with some rant about generic error message (or even worst, the unmanaged error)

the unresponsive DOM/web page due some broken piece of JavaScript able to make everything else stuck regardless the number of CPU and WebWorkers the Browser

webreflection.blogspot.com Read
  Source Favicon
By Aditya Bansod of Sencha Blog 5 months ago.
Email

Essentially, Sencha.io Sync provides the app with a distributed object store. A complete replica of the entire object store is available to each client, and each replica can receive updates and exchange updates with its peers through Sencha.io Sync. If the network is lost, the clients can continue to update and edit the data and it will get synced back together across all the peers when the network is available again.

It's easy to get started with Sync. First, you need a developer key. …

sencha.com Read
  Source Favicon
Email

Avoiding The Quirks: Lessons From A JavaScript Code Review - Addy Osmani gives a series of quick tips for writing your JavaScript

The Backbone.js Todo List Refactored - Part 2: Being Reactionary

Debugging the Filesystem API (HTML5Rocks)

Madness! Does running JavaScript through down minifiers in a certain order actually produce smaller code ?

batman.js

According to statistics from the HTTP Archive, of the world's top …

jsmag.com Read
  Source Favicon
Email

Tibits

A humorous history of JavaScript

Asynchronous Programming in JavaScript with "Promises"

WebKit Page Cache II - The unload Event - quite an old article, but useful

Creating a Javascript Templating Engine

MVC Todo (by Addy Osmani) uses the familiar " Todo list" demo to show the differences between the major JavaScript MVC frameworks out there, including SproutCore 2.0, YUILibrary, JavaScriptMVC

jsmag.com Read