Tiffany B. Brown

a mish-mosh of stuff

Posts in: JavaScript/ECMAScript

Recommended viewing: Maintainable Javascript
Nicholas Zakas offers several kick-ass tips and techniques for producing maintainable JavaScript, such as code formatting, sensible function names and Hungarian notation. From YUI Theater [8 Aug 2007]
Web trend spotting: Sliding, whiz-bangy JavaScript-driven pages
I’m noticing a trend: HTML, CSS and JavaScript-based web sites with the same slick animation we usually associate with Flash. This is the bleeding edge of client-side web development (unless you count Ajax, which involves some server communication). And it’s all made much easier by JavaScript libraries such as Mootools + Moo.fx, Prototype and Script.aculo.us. [...] [12 Jun 2007]
Project rundown: Museum of Design – Atlanta
FletcherMartin just launched a new web site for the Museum of Design – Atlanta (MODA). I did all of the front-end web development except for the store (design by Brad Sarmiento). I installed and configured WordPress to manage the Exhibits and News sections of the web site. I also managed the transition between our development [...] [11 Jun 2007]
Reebok’s Run Easy
A pretty cool piece of technical work: strictly an (x)HTML, CSS and JavaScript front-end — no Flash necessary: Run Easy. I’m interested to know the firm behind the site. UPDATE: As Paul Irish posted in the comments, Boston-based web firm Molecular developed the site. [7 May 2007]
Links for 2007-04-11
Is It Better to Buy or Rent? – Probably the best online calculator I have seen on the subject. (New York Times; Log in required.) HTML5, XHTML2, and the Future of the Web What’s new with Sitemaps.org? (Related: Sitemaps.org) JSLT javascript-based XSLT alternative (Via Ajaxian) Capabilities vs. Quirks: a look at browser sniffing – Or [...] [11 Apr 2007]
A generic(-ish) JavaScript form validator function
I tried my hand at developing a reusable form validator function with JavaScript and the DOM. It checks: Whether required fields are empty (where class=”required”) Whether e-mail addresses are valid (where the field name is ‘email’ or ‘Email’) Whether phone and fax numbers match one of several formats (404-555-5555, 404 555 5555, (404) etc. where [...] [9 Apr 2007]
Links for 2006-04-06
PHP to detect mobile phones [Via Wireless Duniya] WordPress Mobile Plugin comp.lang.javascript FAQ [6 Apr 2007]
Gopal Venkatesan: "Writing Efficient JavaScript"
Another JavaScript video from YUI Theater. [31 Mar 2007]
JavaScript from HTML loaded into Flash
An answer to the question that you may or may not have asked: Yes it is possible to invoke a JavaScript function from HTML content that has been loaded into Flash. You can read the rest of the post, or jump straight to the example (and maybe come back to the post afterwards). Let’s say [...] [5 Feb 2007]
A JavaScript Primer in Four Parts
Everybody’s favorite Yahoo! developer (at least now that Ernie is gone), Douglas Crockford serves up the nitty and the gritty of JavaScript. Part 2, Part 3 and Part 4 are also online. [Via YUI Blog] Related: Core JavaScript 1.5 Reference from the Mozilla Developer Center [24 Jan 2007]