Simon Willison’s Weblog

Subscribe
Atom feed for javascript Random

756 posts tagged “javascript”

2007

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 / javascript, libraries, mootools, prototype-js

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, javascript, jquery, plugins, taconite

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 / javascript, jquery, plugins, validation

[...] 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 / fuzzyman, ironpython, javascript, michael-foord, silverlight

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, yahoo, yui

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 / diff, google, java, javascript, neil-fraser, open-source, 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 / adrian-johnston, c-plus-plus, javascript, jsjuicer, jsmin, minification

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 / conditionalcomments, douglas-crockford, internet-explorer, james-bennett, javascript, jsmin, perl, pete-michaux

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, google-maps, hack, iframes, javascript

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

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

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, dojooffline, google, google-gears, javascript, offline

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 / ajaxian, dion-almaer, google, google-gears, javascript, offline

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 / http, javascript, make, performance

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

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

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 / corrections, css, dojo, javascript, javascript-libraries

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 / charles, debugging, javascript, offline, proxies, stuart-colville, yui

Poly9 FreeEarth (via) Seriously sexy embedable 3D Flash globe, with a JavaScript API.

# 10th May 2007, 9:17 pm / 3d, flash, globe, javascript, mapping

The One True Object (Part 2). Jim Hugunin describes how the DLR let’s Python / JavaScript / Ruby talk to each other using a message passing abstraction.

# 5th May 2007, 1:27 am / dlr, javascript, jimhugunin, microsoft, python, ruby

Dynamic Language Runtime. Miguel de Icaza describes how Microsoft’s new Dynamic Language Runtime lets you call JavaScript and Visual Basic functions from Ruby. Looks like they beat Parrot to the punch.

# 3rd May 2007, 10:29 pm / dlr, javascript, microsoft, miguel-de-icaza, parrot, ruby, visualbasic

How to debug JavaScript with Visual Web Developer Express. Microsoft’s best kept secret: a decent free debugger for Internet Explorer that doesn’t require you to install Microsoft Office.

# 2nd May 2007, 2:06 pm / debugging, internet-explorer, javascript, microsoft, visualwebdeveloperexpress

Timing and Synchronization in JavaScript. Comprehensive overview of how browsers (Opera in particular) load scripts and queue events, with suggestions for best practices.

# 30th April 2007, 2:24 pm / browsers, javascript, opera, timing

Dojo 0.9 Update. Big changes are under way in the Dojo camp.

# 29th April 2007, 8:18 pm / alex-russell, dojo, javascript, libraries

The sliding scale. Jeremy’s write-up of my panel at the Web 2.0 Expo, with illustrative photograph.

# 25th April 2007, 7:09 pm / ajax, javascript, jeremy-keith, speaking, web2expo

The website to web application gradient. Jeremy snapped this cunning illustration at my JavaScript Libraries panel at the Web 2.0 Expo.

# 20th April 2007, 12:30 am / alex-russell, bret-taylor, dojo, flickr, gwt, javascript, jeremy-keith, john-resig, jquery, matt-sweeney, web2expo, web2expo07, yui

Death and Taxes (via) Beautiful massive zoomable/pannable infographic of the 2008 Federal Discretionary Budget.

# 19th April 2007, 2:37 am / ajax, infographic, javascript, politics

Google AJAX Feed API (via) Simple cross-domain proxy to allow JavaScript to access any publically addressable syndication feed, with the same logic as Google Reader providing normalisation.

# 18th April 2007, 5:29 pm / ajax, atom, crossdomain, feed, google, google-reader, javascript, rss, syndication

SoundManager 2. JavaScript sound API, using a bridge to Flash.

# 16th April 2007, 4:47 pm / flash, javascript, scott-schiller, sound