JavaScript


Wednesday, October 3rd, 2007

Complete UI 2007 for Dreamweaver

Category: JavaScript, Toolkit, Utility

Awhile back we discussed Dreamweaver as a potential Ajax IDE. Here’s the press release: Nitobi”s Complete UI is a powerful set of components that will give Dreamweaver users the ability to present data in an engaging format in a fraction of the time,” states Michael Lekse, Vice President of Sales and Services at WebAssist. “Dreamweaver Read the rest…

Posted by Dion Almaer at 8:43 am
13 Comments

+++--
3.2 rating from 37 votes

Tuesday, October 2nd, 2007

Persistent Objects with Persevere the client and Jsponic the server

Category: JavaScript, Library

Kris Zyp has made a charge in the persistent JavaScript space by releasing both a client and a server to handle JSON persistence. Persevere s an open source persistent object mapping framework for JavaScript in the browser. Persevere allows programmers to access, traverse, and manipulate persisted data easily with standard JavaScript syntax and intuitive Persistent Read the rest…

Posted by Dion Almaer at 7:59 am
8 Comments

+++--
3.4 rating from 28 votes

PasteMonkey.org: Yet another Pastebin project

Category: Ajax, JavaScript, jQuery

Tane Piper recently announced the beta launch of his new project, Paste Monkey. As Tane so aptly refers to it, Paste Monkey is “Yet Another Pastebin Project” which leverages a host of technologies for easing the aggregation of code snippets, including: CakePHP 1.2 (PHP5/MySQL). The jQuery JavaScript library. The GeSHi library for code highlighting. Live Read the rest…

Posted by Rey Bango at 3:30 am
9 Comments

+++--
3.2 rating from 31 votes

Monday, October 1st, 2007

Ext 2.0 Alpha Release

Category: Announcements, JavaScript, Library, Sencha

The Ext team has announced the first public release of Ext 2.0. As our very own, Rey Bango, said: This new version of the Ext framework introduces a host of new features, a new document center, expanded & better organized samples and bug fixes. Another important aspect to note is that there has not been Read the rest…

Posted by Dion Almaer at 8:25 am
20 Comments

++++-
4.7 rating from 93 votes

Dojo and the script tags

Category: Dojo, JavaScript

Alex has written about some new script tag support added in Dojo 0.9: For a long time systems like Flex and Laszlo have had a corner on naturally mixing behavior with markup. HTML’s native <script> tag doesn’t provide any context, and worse, can’t provide a way to be triggered by a particular event or action Read the rest…

Posted by Dion Almaer at 5:43 am
9 Comments

+++--
3.5 rating from 37 votes

Saturday, September 29th, 2007

Canvas Loading Indicator for the iPhone and beyond

Category: iPhone, JavaScript, Library

Adam van den Hoven wrote a Canvas Loading Indicator after he realised that animated gifs and the iPhone didn’t mesh. First he wrote the basic spinner: function getLoading(context, bars, center, innerRadius, size, color) { var animating = true, currentOffset = 0; function makeRGBA(){ return “rgba(” + [].slice.call(arguments, 0).join(“,”) + “)”; } function drawBlock(ctx, barNo){ ctx.fillStyle Read the rest…

Posted by Dion Almaer at 8:30 am
7 Comments

+++--
3.3 rating from 25 votes

Thursday, September 27th, 2007

Vortex: A new offline abstraction on top of Google Gears

Category: Gears, Google, JavaScript, Library, Offline

Brian Dunnington liked what he saw with the Dojo Offline Toolkit, and wanted to abstract it out so you could use functionality with any JavaScript library. He ended up with a new library called Vortex, a 10k JavaScript file that features: Ability to automatically detect referenced resources such as images, scripts, and stylesheets (including nested Read the rest…

Posted by Dion Almaer at 12:06 pm
6 Comments

+++--
3.9 rating from 17 votes

Flexjson 1.5: Transformers and Filters

Category: Java, JavaScript, JSON, Library

Charlie Hubbard has updated his well received Flexjson library and has released version 1.5. There are two major feature updates: Filters You can now easily include and exclude items from the JSON: < View plain text > java new JSONSerializer().exclude("*.class").serialize( obj ); new JSONSerializer().exclude("foo.*.bar.*").prettyPrint( obj ); new JSONSerializer().exclude("*.class").include("my.hobbies").serialize( obj ); new JSONSerializer().exclude("foo.phoneNumbers").include("*").prettyPrint( obj ); Note Read the rest…

Posted by Dion Almaer at 10:47 am
Comment here

+++--
3.8 rating from 15 votes

Wednesday, September 26th, 2007

More fun with DOMContentLoaded

Category: JavaScript, Tip

It is amazing how much chatter we have about wanting to know when the darn DOM is ready, and finding the right place to start doing your work. We just posted about IEContentLoaded and already Stuart Langridge has taken that and the other approaches and come up with this 7 liner (if you aren’t using Read the rest…

Posted by Dion Almaer at 11:30 am
23 Comments

+++--
3 rating from 25 votes

Traffik: Using the cross domain read write API

Category: Examples, JavaScript, Showcase

Justin Meyer and Brian Moschel created an application, Traffik, that “lists events from Google Calendar and shows the locations of those events in a map. Traffik shows only events with locations.” Where it differs from the usual calendar » maps mashup is that you can login, and the application can read private calendar data, and Read the rest…

Posted by Dion Almaer at 9:04 am
2 Comments

++++-
4 rating from 26 votes

IEContentLoaded: Yet another DOMContentLoaded

Category: JavaScript, Library

Hedger Wang has a different solution for the DOMContentLoaded issue that Dean Edwards and YUI also solves. The solution created an element and tries to scroll in it. If an error is thrown, the DOM isn’t loaded yet, so we wait and try again later. < View plain text > javascript (function (){     Read the rest…

Posted by Dion Almaer at 6:32 am
7 Comments

+++--
3.5 rating from 24 votes

Tuesday, September 25th, 2007

Reiterate: Symbol#to_proc for JavaScript

Category: JavaScript, Library, Prototype

James Coglan has ported ideas from ideas from Ruby’s Symbol#to_proc and Methodphitamine to create Reiterate, a library for Prototype. The library means that instead of code like this: < View plain text > javascript var value = radioGroup.find(function(radio) {   return radio.checked; }).value;   var divs = someDivs.findAll(function(div) {   return div.hasClassName(‘myClass’) && div.visible(); }); Read the rest…

Posted by Dion Almaer at 8:47 am
14 Comments

+++--
3.2 rating from 29 votes

If I Told You You Had a Beautiful Figure…

Category: JavaScript, JSON, Library, Prototype

…. would you hold it against Aaron Gustafson? Aaron has written about “laying out images consistently within a design is difficult; especially when you hand the keys over to someone else to fill in the content.” The article discusses a microformat for figures so you define a figure using as little or as much as: Read the rest…

Posted by Dion Almaer at 7:00 am
4 Comments

++---
2.9 rating from 39 votes

JS-CTYPES: Calling out to native code from XUL

Category: Firefox, JavaScript, Library

Mark Finkle has ported Python’s ctypes to JavaScript, and has created JS-CTYPES which allows you to declare and call exported methods from binary/shared libraries from Mozilla’s privileged JavaScript. The idea is to make dealing with XPCOM simpler. You end up with code like this: < View plain text > javascript const nsINativeType = Components.interfaces.nsINativeType;   Read the rest…

Posted by Dion Almaer at 6:43 am
1 Comment

+++--
3 rating from 21 votes

Monday, September 24th, 2007

jabsorb: A new JSON-RPC for Java

Category: Java, JavaScript, JSON, Library

Arthur Blake (with friends) has forked JSON-RPC-Java and has created jabsorb: The project goal for jabsorb is to maintain (and hopefully improve) the practicality and beautiful simplicity that makes JSON-RPC-Java a great library, while also adding new common sense features, more test cases, and more documentation to make the library better for everyone. jabsorb also Read the rest…

Posted by Dion Almaer at 6:21 am
3 Comments

+++--
3.2 rating from 15 votes

Friday, September 21st, 2007

Finding ‘send’ in JavaScript

Category: JavaScript, Tip

Ola Bini found send in JavaScript and it was a surprise for a bunch of people. To call a method on a function you use (). You could get the function object via the ‘.’ notation, or the array access method. This is why it makes sense that given: < View plain text > javascript Read the rest…

Posted by Dion Almaer at 1:18 am
37 Comments

++---
2.2 rating from 59 votes