Simon Willison’s Weblog

Subscribe
Atom feed for javascript

693 items tagged “javascript”

2007

XRAY web developer’s suite (via) Smart new bookmarklet from westciv—kind of like Steve Chipman’s MODI but with the addition of the canvas element for box model visualisation.

# 30th July 2007, 5:11 pm / jeffrey-zeldman, westciv, xray, bookmarklet, canvas, javascript, steve-chipman

YUI-based Image Cropper Widget. Nice implementation of a useful widget.

# 30th July 2007, 12:56 pm / widget, yui, javascript

The recent announcement that Mozilla's next JavaScript engine, Tamarin, will also be a container for functionality written in Python and Ruby (and, one assumes, beyond) is proof that JavaScript is the new Parrot.

Aaron Straup Cope

# 29th July 2007, 9:17 pm / javascript, aaron-straup-cope, mozilla, python, ruby, tamarin, parrot

Mozilla and IronPython: IronMonkey. Interesting to note that all three new Mozilla projects are being lead by experienced Python developers.

# 26th July 2007, 8:07 pm / python, javascript, mozilla, ironpython, ironmonkey, voidspace

Brendan Eich: New Projects. Exciting new projects from Mozilla. ActionMonkey is joined by IronMonkey (IronPython/IronRuby on Tamarin) and ScreamingMonkey (Tamarin for IE). Upgrading IE’s JavaScript using the Flash Player as a vector is a game-changing idea.

# 26th July 2007, 8:05 pm / ironmonkey, actionmonkey, flash, internet-explorer, ie, brendan-eich, ironpython, ironruby, mozilla, screamingmonkey, tamarin, javascript

ActionMonkey (via) SpiderMonkey + Tamarin = ActionMonkey. New JavaScript engine for Mozilla 2, incorporating code from Adobe’s Open Source ActionScript VM.

# 24th July 2007, 3:29 pm / spidermonkey, tamarin, actionmonkey, javascript, actionscript, adobe, mozilla

Building Brickslayer. New tutorial from Michal Wallace on building games in JavaScript using Prototype.

# 22nd July 2007, 9:28 pm / tutorial, michal-wallace, prototype, javascript, brickslayer

Conflicting Absolute Positions. Neat technique, although it uses CSS expressions for IE compatibility so it may break down in IE 5 and 6 when JavaScript is disabled.

# 17th July 2007, 10:44 pm / javascript, ie, css, a-list-apart, rob-swan

Low Pro Behaviours 101. A neatly packaged method of enhancing an existing DOM element with pre-packaged behaviours.

# 17th July 2007, 10:09 am / behaviours, lowpro, dan-webb, javascript, prototype, dom

J4P5: Javascript For PHP 5 (via) “J4P5 is a JavaScript interpreter written in PHP 5, that allows to run untrusted scripts in a sandbox on your server. It aims to implement most of Ecma-262 3rd edition.”

# 12th July 2007, 10:24 pm / ecmascript, php, php5, javascript, j4p5

Insert in place without document.write. Very neat trick, but I’d like to see more extensive reports on browser compatibility before committing to it.

# 12th July 2007, 9:41 am / documentwrite, innerhtml, script, javascript, brothercake

Return of the HTTP overhead delay. Christian proposes a neat way of improving page performance, by delaying non-essential images such as avatars until after the rest of the page has loaded.

# 11th July 2007, 3:12 pm / christian-heilmann, performance, http, images, avatars, onload, javascript

MooTools is not compatible with any other javascript framework. If you "definitely need to work with prototype" (which you don't, since the frameworks each provide all the functionality you need to use only one or the other) then learn how to do what you want to do in prototype. Otherwise, learn to use MooTools to do all the things you want to do. They simply do not work together, and I promise they never will.

Tom Occhino

# 8th July 2007, 7:29 am / libraries, mootools, javascript, prototype

jQuery Taconite Plugin. Lets you serialize jQuery DOM manipulation commands as an XML document for retrieval via Ajax.

# 2nd July 2007, 6:29 pm / ajax, jquery, taconite, javascript, plugins

jQuery plugin: Validation. Pretty clever way of attacking the client-side form validation problem; supports both configuration object literals and custom attributes on the form fields themselves.

# 30th June 2007, 10:26 pm / validation, javascript, jquery, plugins

[...] Silverlight has full access to the browser DOM and you can make calls from Javascript into silverlight code and from Silverlight into Javascript. This means that you can already write the presentation layer of a client side web app in Javascript and implement your business logic in IronPython.

Michael Foord

# 16th June 2007, 12:25 am / ironpython, javascript, silverlight, fuzzyman, michael-foord

A JavaScript Module Pattern. I’ve been using this pattern for a few months—it works really well, though I tend to keep my own code in my own namespace rather than adding it to YAHOO.

# 12th June 2007, 11:30 pm / javascript, yui, yahoo

google-diff-match-patch (via) Robust algorithms to perform the operations required for synchronizing plain text, in Java, JavaScript and Python.

# 9th June 2007, 6:15 pm / neil-fraser, google, open-source, diff, java, javascript, python

jsjuicer. Another conditional comment respecting minifier tool, this time in C++. Ships with a command line utility, unlike JavaScript::Minifier.

# 4th June 2007, 5:57 pm / javascript, jsmin, c-plus-plus, jsjuicer, minification, adrian-johnston

JavaScript Minifier that doesn’t break code (via) Perl re-implementation of Douglas Crockford’s classic JSMin that doesn’t clobber IE’s conditional comments, by Peter Michaux.

# 4th June 2007, 5:44 pm / douglas-crockford, jsmin, james-bennett, internet-explorer, ie, conditionalcomments, perl, pete-michaux, javascript

Cross Domain Frame Communication with Fragment Identifiers. Google are using this crazy iframe/fragment trick for their new Mapplets API.

# 31st May 2007, 2:15 pm / google-maps, google, hack, javascript, iframes

Apollo will include Google Gears technology. Looks like Google really worked on the partnerships for this one.

# 31st May 2007, 8:30 am / google-gears, offline, javascript, apollo, google

Dojo Offline on Google Gears. “The great news is that the Dojo crew were in the loop wrt this project, and Brad has ported Dojo Offline to use Google Gears as the base platform.”

# 31st May 2007, 8:28 am / brad-neuberg, dojo, google-gears, dojooffline, offline, javascript, google

RSS Bling goes Offline with Google Gears. Google Gears is Google’s new offline JavaScript framework. Dion Almaer (a Google employee) has a nice example of code using Google Gears on Ajaxian.

# 31st May 2007, 8:27 am / google-gears, google, ajaxian, javascript, offline, dion-almaer

Reducing HTTP requests using make. Nice simple recipe for concatenating JavaScript in to one file using make—doesn’t do anything for cache-busting though.

# 27th May 2007, 11:29 pm / javascript, performance, make

Packing Prototype. Why Prototype doesn’t ship with an official compressed version.

# 17th May 2007, 9:52 am / prototype, javascript, javascript-libraries, compression, packing

dojo.query: A CSS Query Engine For Dojo. I incorrectly criticised Dojo for not having a CSS node selection tool in my talk yesterday; not sure how I missed this.

# 17th May 2007, 9:40 am / dojo, javascript, javascript-libraries, css, corrections

JavaScript Libraries: The Big Picture

I just gave my first talk at XTech 2007 (I’m speaking again on Friday, on OpenID). Slides are on slideshare.net.

[... 40 words]

Online and offline development with the YUI and Charles (via) Stuart Colville shows how the Charles debugging proxy can be used to serve up hosted YUI files while developing offline.

# 15th May 2007, 2:41 pm / offline, stuart-colville, yui, charles, proxy, debugging, javascript