JavaScript


Tuesday, November 21st, 2006

AjaxCore: PHP Ajax Framework

Category: JavaScript, Library, PHP

They keep on coming folks. Mauro Niewolski has created AjaxCore which is “a multi-purpose PHP framework that ease the development of rich Ajax applications, by generating the appropriate JavaScript code. AjaxCore takes all the dirty work of JavaScript code generation and provides a solid foundation. The concept is to extend a Generic AjaxCore class and Read the rest…

Posted by Dion Almaer at 7:58 am
7 Comments

+++--
3.9 rating from 383 votes

Monday, November 20th, 2006

Ajax Queue JavaScript Class

Category: JavaScript, Library

Chris Marshall has a background in writing low-level asynchronous code in C++. When he started to write Ajax code he saw the need to manage concurrency and created a Ajax Queue Class that handles all of this for you. An example using the library is this file browser where you see the root of the Read the rest…

Posted by Dion Almaer at 8:18 am
9 Comments

+++--
3.9 rating from 79 votes

Measuring the aggregate performance of Ajax applications

Category: JavaScript, Library, Performance

Ryan Breen spoke at The Ajax Experience on Ajax performance, and just released a preview of Actual Experience XF with Actual Experience Lite. Instrumentation To instrument a page for collection of metrics, you first include a small .js file in HEAD. Out of the box, the tag will track the DOM Ready and onload times Read the rest…

Posted by Dion Almaer at 8:11 am
Comment here

++++-
4.2 rating from 26 votes

Sandboxing JavaScript with iframes

Category: JavaScript, Tip

Dean Edwards is hacking away again. This time he created a sandbox object that allows him to eval code outside of the context of window. His scenario was with templating: < View plain text > javascript // create an <iframe> var iframe = document.createElement("iframe"); iframe.style.display = "none"; document.body.appendChild(iframe);   // write a script into the Read the rest…

Posted by Dion Almaer at 6:21 am
7 Comments

++++-
4 rating from 26 votes

Saturday, November 18th, 2006

SXOOP.template

Category: JavaScript, Library

Walter Higgins is a believer in having a template language for you to use within JavaScript. He had issues with TrimPath’s templating system, so he ended up creating SXOOP.template: Writing TinyTemplate in Perl was a breeze and the codebase is tiny. I used a similar approach to writing SXOOP.template which resulted in a tiny codebase Read the rest…

Posted by Dion Almaer at 7:48 am
3 Comments

+++--
3.3 rating from 32 votes

Friday, November 17th, 2006

TIBCO General Interface 3.2 Released: Check out our exclusive screencast

Category: Announcements, Interview, JavaScript, Library, TIBCO, Toolkit

TIBCO General Interface 3.2 has been officially released.This is a big release as it contains two big changes: Open Source License. Yes, GI is open source! Firefox support There are many other items of interest too, such as SVG charting, and the load time optimizations.Ben and I got to sit down with Luke Birdeau, the Read the rest…

Posted by Dion Almaer at 9:24 am
10 Comments

++++-
4.1 rating from 32 votes

Yahoo! UI: 0.12 Release

Category: Announcements, JavaScript, Library, UI, Yahoo!

Version 0.12 of the YUI Library has been released: The TabView Control: Written by YUI Animation and Dom author Matt Sweeney, this dynamic tab solution is the newest YUI addition and features robust support both for progressive enhancement and for high-gloss richness. Check out Matt’s roster of TabView examples for an idea of what the Read the rest…

Posted by Dion Almaer at 9:08 am
1 Comment

++++-
4.4 rating from 34 votes

JavaScript Code Inefficiencies from the IE team

Category: IE, JavaScript

Peter Gurevich has stepped up with another post on IE+JavaScript Performance Recommendations Part 2: JavaScript Code Inefficiencies. The post is itself part one of a two parter, so this is 2.1 if you will, and covers inefficiencies in Javascript code: Optimize String Manipulations by Avoiding Intermediate Results Use Array.join(”) over constantly += them together (as Read the rest…

Posted by Dion Almaer at 6:30 am
15 Comments

+++--
3.6 rating from 27 votes

Thursday, November 16th, 2006

GetFirebug: 1.0 is getting close

Category: Firefox, JavaScript, Utility

Firebug 1.0 is currently in beta, and looks very different to the 0.4.1 that we all know and love. The new website Get Firebug gives you a glimpse of what is coming shortly: Inspect and edit HTML Tweak CSS to perfection Visualize CSS metrics Monitor network activity Debug and profile JavaScript Quickly find errors Explode Read the rest…

Posted by Dion Almaer at 11:32 am
33 Comments

++++-
4.7 rating from 45 votes

Yhc/JavaScript: Write apps in Haskell

Category: JavaScript, Library

We have converters that allow us to stay in Java-land, Ruby-land, and others. Now we have a new kid on the generator block: Yhc/Javascript. Yhc/Javascript is aimed to create a tool that generates Javascript out of a binary Yhc core file. The ability to convert an arbitrary Haskell source into Javascript makes it possible to Read the rest…

Posted by Dion Almaer at 9:05 am
5 Comments

+++--
3 rating from 18 votes

Back Button Support: Safari and Speed

Category: Ajax, JavaScript, Library

Daniel Kantor has implemented a Back button solution in Streampad and has shared it with us. One of the main gripes against AJAX webapps is how they break the back button in a typical browser. There have been a few solutions (notably Brad Neuberg’s Really Simple History) but none have got it working in Safari. Read the rest…

Posted by Dion Almaer at 8:11 am
13 Comments

+++--
3.8 rating from 59 votes

SWFUpload: A nicer file upload experience

Category: Component, Flash, JavaScript

Lars Huring and team have created SWFUpload, a small JavaScript/Flash library that tries to re-make the way file uploads works on the internet. It works by replacing the contents of a div with a small transparent flash that handles all the upload-frontend, javascript for configuration and callbacks and html/css for styling/looks. This allows: Specify what Read the rest…

Posted by Dion Almaer at 7:44 am
76 Comments

++++-
4.1 rating from 163 votes

Tuesday, November 14th, 2006

Dojo Smooth Scrolling

Category: Component, Dojo, JavaScript

There have been requests for smooth scrolling widgets in Dojo, and Heng Liu stood up tot he plate by implementing dojo.lfx.smoothScroll. Along with this new dojo.lfx resource, other improvements include: dojo.html.getAbsolutePosition is extended to be compatible with dojo.withGlobal a new function, dojo.html.getAbsolutePositionExt is introduced in resource dojo.html.util to include support for getting abosolute postion of Read the rest…

Posted by Dion Almaer at 12:27 pm
3 Comments

+++--
3.7 rating from 44 votes

EJ: Essential JavaScript The Library

Category: JavaScript, Library

You don’t need no fancy libraries! Robert Nyman thinks that: The web is littered with full-blown JavaScript libraries who say they will save your day and make your web development life much easier. You get encouraged to include these “mere 80 KB” libraries that is supposed to be the solution to all your needs, and Read the rest…

Posted by Dion Almaer at 6:32 am
9 Comments

++---
2.8 rating from 26 votes

Monday, November 13th, 2006

Run: Universal JavaScript Animation Framework

Category: JavaScript, Library, UI

Andi Kalsch told us about Run (yet another animation framework). Andi feels that it stands out from the rest due too: intelligent CSS support by using Color/Dimension objects and CSS functions. Event listeners. Easy syntax. Well-documented. Compatible to all current browsers, means Firefox 1+, Opera 8+, Internet Explorer 5.5+, Safari 2+, Konqueror, Swift Example Here Read the rest…

Posted by Dion Almaer at 9:26 am
17 Comments

+++--
3.7 rating from 45 votes

JSOC: JavaScript Object Cache

Category: JavaScript, Library

Fancy memcached in your client browsers? Introducing: JSOC (JavaScript Object Cache). The JSOC framework is a a pluggable, extensible, open source client-side caching framework for JavaScript. JSOC offers Web developers a straightforward way to perform common caching techniques (add, replace, remove, flush, etc.) inside any JavaScript-enabled browser. Since JSOC is a standalone JavaScript module, incorporating Read the rest…

Posted by Dion Almaer at 7:11 am
23 Comments

++++-
4.1 rating from 40 votes