Simon Willison’s Weblog

Subscribe

639 items tagged “javascript”

2006

Making GWT Better. Explains the philosophy behind GWT. It’s all about the tools! # 12th December 2006, 5:53 pm

GWT 1.3 Release Candidate is 100% Open Source. At least you can see how the code generator works now. # 12th December 2006, 5:50 pm

Java SE 6 Released. “Script engines” (like JavaScript, Jython and JRuby) become a first class citizen. # 12th December 2006, 8:48 am

WYMeditor. A semantic rich text editor that appears not to suck! # 6th December 2006, 4:35 pm

Including Dojo, The Really Easy Way. Drop in a single include to load code on demand from AOL’s CDN. # 28th November 2006, 12:22 pm

Introducing the Technorati Link Count Widget. I’m trying this out; it’s pretty sweet. Nicely unobtrusive too. # 18th November 2006, 10:53 am

Tamarin

On Tuesday, the Mozilla Foundation and Adobe announced the Tamarin project, an open-source ECMAScript virtual machine based on the ActionScript engine used by Flash Player 9.

[... 380 words]

Dojo 0.4 release notes (via) GFX (a 2D drawing API) is awesome; dojo.html.metrics looks extremely useful, and onDomLoad is always nice. # 23rd October 2006, 12:39 am

Browser JavaScript in Opera. Opera monkeypatches some sites, and auto-updates the patches once a week. # 3rd August 2006, 5:37 pm

XMLHttpRequests using an IFrame Proxy (via) Another scary hack abstracted away by Dojo. # 1st August 2006, 5:40 pm

Notes on JavaScript Libraries

@media 2006 was a blast. Great talks, great people and some of the highest production values I’ve ever seen at a conference (check out the bags!).

[... 682 words]

Fjax: Just say no

To my utter amazement, a decent amount of buzz appears to be building around a new “technology” called Fjax—much of it centred around this interview on Webmonkey, but also benefiting from a mention on the O’Reilly Radar and of course the obligatory Digg story.

[... 879 words]

Brad Neuberg introduces dojo.storage. Incredibly technically impressive, embodying months of accumulated expertise. # 1st May 2006, 11:33 pm

Speaking gigs

I’ve been doing a fair amount of public speaking recently, based on the principle that the only way to get good at it is to get a lot of practise. My last two talks were a session on Django and Web Application Frameworks at the ACCU 2006 conference and a talk on the Yahoo! Developer Network for NMK’s Beers and Innovation series.

[... 304 words]

An S3 AJAX Wiki. Les continues to innovate against S3. # 22nd April 2006, 7:09 pm

JavaScript apps with read/write access to S3. JS apps hosted on S3 could read and write to the store. # 4th April 2006, 9:33 am

Learning Flash for programmers?

I’ve decided it’s about time I learnt some Flash, mainly because of the exciting opportunities posed by the Flash-JavaScript bridge. It’s become pretty obvious now that Flash is the most practical option for dealing with audio and video on the Web, and the bridge means that anything Flash can do is now available to JavaScript as well. Google Finance and the Yahoo! JS-Flash Maps API are just two recent examples of why this stuff is worth knowing more about.

[... 138 words]

Form Hijack (via) Neat unobtrusive JavaScript trick—use document.onclick to catch events before page has loaded. # 21st March 2006, 10:43 am

My ETech JavaScript tutorial

I gave a three hour JavaScript tutorial at ETech this morning, aimed at people with previous programming experience who hadn’t yet dived deep in to JavaScript as a programming language. It seemed to go pretty well—some good questions were asked at various points and a few people told me afterwards that they had found it interesting.

[... 247 words]

Yahoo! UI JavaScript treats

The Yahoo! Developer Network was updated yesterday with a veritable gold-mine of Exciting New Stuff, coinciding with the launch of the brand new Yahoo! User Interface Blog.

[... 576 words]

Yahoo! UI Library. Open Source JavaScript widgets and libraries. # 14th February 2006, 1:12 am

Escaping regular expression characters in JavaScript

JavaScript’s support for regular expressions is generally pretty good, but there is one notable omission: an escaping mechanism for literal strings. Say for example you need to create a regular expression that removes a specific string from the end of a string. If you know the string you want to remove when you write the script this is easy:

[... 362 words]

2005

The Dojo Manual (via) Dojo finally gets some really good extensive documentation. # 24th December 2005, 6:21 pm

Don’t be eval()

JavaScript is an interpreted language, and like so many of its peers it includes the all powerful eval() function. eval() takes a string and executes it as if it were regular JavaScript code. It’s incredibly powerful and incredibly easy to abuse in ways that make your code slower and harder to maintain. As a general rule, if you’re using eval() there’s probably something wrong with your design.

[... 431 words]

Rich Text Editing With Dojo. Utterly fantastic. Beautiful API, and it even works in Safari. # 8th November 2005, 12:52 am

TurboDbAdmin. Ajax phpMyAdmin clone built on Dojo. Worth trying the live demo. # 4th November 2005, 3:27 pm

Firefox 1.5 developer highlights

Firefox 1.5 Beta 1 is out, and is the most exciting browser release in a very long time. It comes with the Gecko 1.8 rendering engine, which includes a ton of interesting new features. New in this version (unless you’ve been tinkering with the Deer Park series):

[... 719 words]

Understanding the Greasemonkey vulnerability

If you have any version of Greasemonkey installed prior to 0.3.5, which was released a few hours ago, or if you are running any of the 0.4 alphas, you need to go and upgrade right now. All versions of Greasemonkey aside from 0.3.5 contain a nasty security hole, which could enable malicious web sites to read any file from your hard drive without you knowing.

[... 809 words]

Staying social

June is finals month, but the call of @media 2005 is hard to resist. I won’t be attending the actual conference (sadly my student budget doesn’t stretch that far) but I’ll be in London on Saturday the 11th to ride on the coat-tails of the conference.

[... 174 words]

Stuart’s book

I meant to mention this earlier, but Stuart’s book, DHTML Utopia: Modern Web Design Using JavaScript & DOM, has been published. I worked as a technical editor on the book, and I’m proud to have been associated with it. Don’t worry about the hairy title (apparently you have to have DHTML in it or bookshops won’t know where to put it / people won’t know what it’s about), the inside is pure gold. In their usual style, SitePoint have posted the first four chapters online for your perusal so you don’t have to take my word for it, you can try it out for yourself.

[... 107 words]