JavaScript


Monday, July 16th, 2007

Google Gears ORM 0.1

Category: Gears, Google, JavaScript, Library

Uriel Katz has a first official release of Google Gears ORM. One of the common questions that I see out there is “will there be ActiveRecord for local databases?”. This is far from that promise, but it is a glimpse into the path. This new version brings a lot of new features including: Relations between Read the rest…

Posted by Dion Almaer at 12:39 am
6 Comments

+++--
3.6 rating from 32 votes

Friday, July 13th, 2007

Friday fun with speech bubbles

Category: Fun, JavaScript

Remy Sharp has just released his initial version of JavaScript Speech Bubbles – allowing you to place and share speech bubbles with your own commentary from any web site like Facebook or Flickr. Remy said: I’ve often looked a picture of friends and wanted to slap on my own speech bubble with some amusing comment, Read the rest…

Posted by Dion Almaer at 5:52 am
6 Comments

+++--
3.8 rating from 45 votes

J4P5: JavaScript interpreter written in PHP 5

Category: JavaScript, PHP

I haven’t seen many languages implemented in PHP. 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 3d edition.” J4P5 uses a modified version of the CFG parser of the MetaPHP project, and is licensed under Read the rest…

Posted by Dion Almaer at 2:23 am
12 Comments

+++--
3.8 rating from 52 votes

Thursday, July 12th, 2007

DOMDom: More DOM, Less DOM

Category: CSS, JavaScript, Library

Zach Leatherman has created another DOM creation class, DOMDom, (with support for HTML Fragments) that uses the CSS query language. But instead of using the language to query nodes, it is used to create nodes. To make <div style=”width:100%;border:1px solid blue” class=”testClass”><a href=”http://www.google.com/”><span>Google</span></a></div>, you’d have to do the following in other packages: DomHelper: < View Read the rest…

Posted by Dion Almaer at 4:06 am
16 Comments

+++--
3.8 rating from 59 votes

Wednesday, July 11th, 2007

iUI gets even better: cleanup and features

Category: iPhone, JavaScript, Library, Mobile

Joe Hewitt has upgraded iUI with some cleanup, and a bunch of new features. The demo application will show you how it has come along. New Features New UI controls: List groups, on/off switches, and fieldsets that look like the iPhone “Settings” app Linking to external pages via Ajax: Links to external URLs are now Read the rest…

Posted by Dion Almaer at 7:30 am
7 Comments

+++--
3.5 rating from 46 votes

CSS Selectors – Speed Myths

Category: CSS, JavaScript, Library

Jack Slocum has continued the CSS Selector trend by taking another look at the various frameworks and dispelling some CSS Selectors Speed Myths. Jack talks about the various approaches, comparing Firefox support to cross browser support, and tweaks the slickspeed tests with a few others, ending up with:

Posted by Dion Almaer at 5:22 am
17 Comments

++++-
4.1 rating from 56 votes

Tuesday, July 10th, 2007

LightWindow 2.0: Themed and Animated

Category: Component, JavaScript

LightWindow 2.0 has been released by Kevin Miller. The new release has been completely rewritten allowing for the user to build their own theme and animations. Featuring Dynamic captions Create a window with a Javascript call Call LightWindow from an iframe More parameters to further customize the window presentation Improved default animations All Media including Read the rest…

Posted by Dion Almaer at 12:33 pm
24 Comments

++++-
4 rating from 88 votes

JavaScript running to the server

Category: JavaScript

JavaScript continues to get more talk on the server (yes, years after Netscape Enterprise Server!). John Resig spent a weekend hacking in the zone, to bring the browser to the server. This resulting environment allows you to do interesting things such as: Screen scraping < View plain text > javascript load("env.js"); window.location = "http://alistapart.com/"; window.onload Read the rest…

Posted by Dion Almaer at 9:24 am
5 Comments

+++--
3.8 rating from 28 votes

Monday, July 9th, 2007

Responder: Unobtrusive Framework

Category: JavaScript, Library

Responder is a programmer-friendly framework for unobtrusive JavaScript applications. It’s a fast and intuitive way to define and encapsulate behaviours based on your HTML class structure that helps you understand your application better. To use it you will need base2 and my responder script. To create an in-place editor you would write something like: < Read the rest…

Posted by Dion Almaer at 8:35 am
8 Comments

+++--
3.8 rating from 37 votes

Protoload: Ajax Loading

Category: JavaScript, Library

Andreas Kalsch has written a simple library, Protoload, that handles the Ajax loading events that are common place as a way to show users that something is happening on the server, in a particular location: E.g. a faw XHR example: < View plain text > javascript var R = new XMLHttpRequest(); R.onreadystatechange = function() { Read the rest…

Posted by Dion Almaer at 8:01 am
12 Comments

+++--
3.9 rating from 82 votes

iPhoneDevCamp Wrapup Including IUI

Category: iPhone, JavaScript, WebKit

Internet time is amazing. Watching how the iPhoneDevCamp Barcamp experience created a Flash-mob of ~300 people is amazing. The event was fantastically organized, and everyone wanted to be there. I mean, if you give up your weekend for it, you want to be there. A lot of good things came out of the weekend. Christopher Read the rest…

Posted by Dion Almaer at 6:08 am
2 Comments

+++--
3.5 rating from 13 votes

Purple Include: Transclusions, you know you want them!

Category: JavaScript, Library

Don’t pigeon-hole Brad with Dojo Offline. He also just announced Purple Include, which is a client-side JavaScript library that allows you to do client-side transclusions. What the heck is a transclusion I hear you say? “A transclusion is the inclusion of part of a document into another document by reference”. This means that you can Read the rest…

Posted by Dion Almaer at 5:24 am
13 Comments

+++--
3.1 rating from 35 votes

Friday, July 6th, 2007

Hacking Firebug with Dojo

Category: Dojo, JavaScript, Library

One of the subtle changes in Dojo 0.9 is that you won’t find your dojo.debug() friends. Instead, they have ported Firebug Lite and now you will be able to use the console.* goodness. The article on this (over at SitePen) also discusses conditional logging and being able to: < View plain text > javascript console.logIf( Read the rest…

Posted by Dion Almaer at 1:10 am
2 Comments

+++--
3.3 rating from 23 votes

Thursday, July 5th, 2007

JavaScript as a Language

Category: Editorial, JavaScript

John Resig has a new opinion piece on JavaScript as a Language that he came up with after poking around with JavaScript 2: I think we’ve seen the JavaScript language move through many individual phases: The “We need scripting for web pages” phase. (Netscape) The “We should standardize this” phase. (ECMAScript) The “JavaScript isn’t a Read the rest…

Posted by Dion Almaer at 6:27 am
13 Comments

++---
2.3 rating from 65 votes

Tuesday, July 3rd, 2007

Script.aculo.us Effect.Tooltip

Category: JavaScript, Library, Scriptaculous

Nick Stakenburg has written a nice simple tooltip built on Script.aculo.us called Effect.Tooltip. It is as simple to setup as: < View plain text > javascript new Effect.Tooltip(element, content, {title : ‘title’, className: ‘class’, offset: {x:0, y:0}});

Posted by Dion Almaer at 6:25 am
22 Comments

++++-
4 rating from 128 votes

New York on Tap iPhone App

Category: iPhone, JavaScript

Christopher Lukic has created an iPhone application that has been optimized with the network issues in mind. It’s a bar and subway finder for New York City, and I implement a number of techniques to overcome some of the short coming of AT&T’s edge network. Virtually the entire site is composed from a single javascript Read the rest…

Posted by Dion Almaer at 5:35 am
3 Comments

+++--
3.5 rating from 26 votes