JavaScript


Monday, April 7th, 2008

Spket IDE 1.6.11 Released

Category: JavaScript

The team at Spket Studio continues to enhance their Eclipse-based Spket IDE announcing today the release of Spket IDE 1.6.11. The updates include: A Theme Builder for the Ext JS framework Code assist for JavaScript improvements (references) Code assist support JavaScript keywords and documention view for JavaScript editor (references) Preferences for color of matching brackets Read the rest…

Posted by Rey Bango at 10:11 am
3 Comments

+++--
3.5 rating from 14 votes

JavaScript SAX Based Parser

Category: JavaScript, Library

Gregory Reimer fancies SAX, and wished that a SAX parser was given to us by the JavaScript host environment. You can’t blame him for not living DOM, but how about E4X? Or, StAX? Anyway, Gregory decided to build a SAX based parser in JavaScript itself, using simple search and replace: After reading Search and Don’t Read the rest…

Posted by Dion Almaer at 4:00 am
2 Comments

-----
-17647056.1 rating from 17 votes

iPhone WebKit Goodness: 3D CSS Transforms and ontouch events

Category: iPhone, JavaScript, Library, Mobile

Apple is secretive. I normally don’t mind so much, as they always come through on yet another cool Mac product. If I could know one thing though, it wouldn’t be when the next Macbook Pro is coming out, or when we will see the 3G iPhone. Instead, I wish I knew the attentions in the Read the rest…

Posted by Dion Almaer at 12:01 am
8 Comments

++++-
4.1 rating from 22 votes

Friday, April 4th, 2008

Popularity, History, and SCRIPT SHARED

Category: JavaScript

Brendan Eich has responded to Doug Crockford talking about the popularity of JavaScript, and the hash method for sharing JavaScript, in his post on Popularity. In in he starts out by discussing the history of JavaScript, warped as it may be: As I’ve often said, and as others at Netscape can confirm, I was recruited Read the rest…

Posted by Dion Almaer at 10:48 am
7 Comments

++---
2.9 rating from 16 votes

Thursday, April 3rd, 2008

qGallery: Prototype gallery application

Category: JavaScript, Prototype, Showcase

Sebastian Brink has developed a nice looking gallery application called qGallery It is really simple to use you just have to upload your images in full resolution together with a simple xml file and include the script and a simple div into the webpage. Everything else is done automatically. The gallery is creating every used Read the rest…

Posted by Dion Almaer at 7:15 am
14 Comments

++++-
4.2 rating from 77 votes

Tuesday, April 1st, 2008

ECMAScript 4 Update: New Grammar, and No Tail Calls

Category: JavaScript

…. proper tail calls are out of ES4 as of yesterday’s Ecma TC39 meeting, by general (regretful, in Mozilla’s case) agreement. This is Brendan talking about the death of true tail calls in JavaScript 2 as the language gets tightened a la: ES4 has overspent its complexity budget in order to explore a large design Read the rest…

Posted by Dion Almaer at 6:39 am
5 Comments

++---
2.6 rating from 9 votes

Google releases GWT for JavaScript 2

Category: GWT, JavaScript

The Google Web Toolkit has long been a bastion of Java developers who are able to chant “We don’t want your stinking JavaScript!” GWT is a lot more than a client side framework that allows you to write code in Java. It is a productivity tool that lets you developer and test a solution that Read the rest…

Posted by Dion Almaer at 12:24 am
10 Comments

+++--
3.1 rating from 27 votes

Monday, March 31st, 2008

Helpful JavaScript Date Operations

Category: JavaScript, Library

Tavs Dokkedahl has created a set of Date methods which people might find helpful in his JSLab standard libary. Included are Date.getISOWeek, Date.setISOWeek, getFirstDateInWeek, Date.isLeapYear, and Date.format which works like the PHP equivalent. In addition the library also includes other useful functions for Array, Math, Number, Function and other objects.

Posted by Dion Almaer at 3:24 am
2 Comments

++++-
4.5 rating from 13 votes

Friday, March 28th, 2008

Composing DSLs in JavaScript

Category: Articles, JavaScript

< View plain text > javascript TheRulesAre(function() { with(this) {       a(Player).mayNot(‘buyProperty’).unless(function(player, property) {         return property.owner === null &&                 player.funds >= property.price;     });       a(Property).mayNot(‘addHouse’).when(it().isMortgaged()); }}); Composing DSLs in JavaScript is James Coglan’s latest perusal into fun Read the rest…

Posted by Dion Almaer at 7:27 am
1 Comment

++++-
4.1 rating from 9 votes

JavaScript and jQuery Talk

Category: JavaScript, jQuery, Presentation

John Resig has published his JavaScript and jQuery talk that he gave at Northeastern. What does he cover? I covered the basics of JavaScript – targeted to a Computer Science major (in the case of the students at NU, they learn Scheme and Java so I emphasized the subject matter to that audience). I did Read the rest…

Posted by Dion Almaer at 4:43 am
3 Comments

+++--
3.8 rating from 20 votes

Thursday, March 27th, 2008

HotRuby: Run Ruby on a JavaScript interpreter?

Category: JavaScript, Library, Ruby, Showcase

This is from the “wow, really?” department. HotRuby is an implementation of Ruby in JavaScript! The way it works is that a HotRuby “VM” takes the resulting output from YARV and can grok it via JSON: < View plain text > ruby VM::InstructionSequence.compile(cgi[‘src’], "src", 1, OutputCompileOption).to_a.to_json Thus, you can embed Ruby by doing something like Read the rest…

Posted by Dion Almaer at 8:01 am
3 Comments

+++--
3.4 rating from 29 votes

Where is Firefox on Acid 3? Here.

Category: Browsers, JavaScript, Standards

Some people have been surprised to not hear much from Mozilla around Acid 3. WebKit and Opera are duking it out, but what about Firefox? Mike Shaver of Mozilla has posted on his views that Acid 3 is a missed opportunity and is pretty damning of the whole thing: Ian’s Acid 3, unlike its predecessors, Read the rest…

Posted by Dion Almaer at 7:32 am
6 Comments

+++--
3.4 rating from 40 votes

Tuesday, March 25th, 2008

iPhone Optimization Script

Category: iPhone, JavaScript, Usability

Bob Buffone has created a tool that can be used to output script and HTML to make your site more usable on an iPhone. He tells us about it here: I bought an iPhone about six months ago; in that time I noticed that even though it had this part of the Web and that Read the rest…

Posted by Dion Almaer at 6:23 am
11 Comments

+++--
3.9 rating from 23 votes

JavaScript Has Fashion and Luck to Thank?

Category: Articles, JavaScript

Because JavaScript is the language of the web browser, and because the web browser has become the dominant application delivery system, and because JavaScript isn’t too bad, JavaScript has become the World’s Most Popular Programming Language. Its popularity is growing. It is now being embedded in other applications and contexts. JavaScript has become important. Douglas Read the rest…

Posted by Dion Almaer at 5:06 am
5 Comments

+++--
3.4 rating from 17 votes

Friday, March 21st, 2008

Google AJAX Translation API

Category: Google, JavaScript, Library

The game above uses the new Google AJAX Translation API that allows you to do two things via a simple JavaScript API. Translation If you want to take a word in one language, and translate it to another, you simply call something like this: < View plain text > javascript google.language.translate(‘Gato’, ‘es’, ‘en’, function(result) { Read the rest…

Posted by Dion Almaer at 1:15 pm
16 Comments

++++-
4 rating from 44 votes

Snake

Category: Fun, Games, JavaScript

Andreas Kalsch has created a simple version of Snake in JavaScript that eats your feeds instead of food. The first time I ever played snake was on a BBC Micro. I was small.

Posted by Dion Almaer at 7:55 am
3 Comments

+++--
3.8 rating from 20 votes