Archive for Javascript
1 October 2009 at 11:17 pm
· Filed under Javascript
Working with the YUI DataTable (Updated for v2.6.0), Part 1: Getting Started and Part 2: Changing the Contents of the DataTable by Daniel Barreiro
YUI’s DataTable is very flexible and allows you to do many things. Making your choices in advance allows you to define your own version of the DataTable and either cast some of those choices or make them more easily accessible according to your taste and preferences. The whole application will look and behave more consistently and, should you want to change anything, many of the changes will be concentrated in just one single place.
Permalink
11 June 2009 at 9:16 am
· Filed under Javascript, Ruby/Rails
The "AJAX Head" Design Pattern by kencollins
It is an experiment into a vision to see what happens when you make the decision to totally go unobtrusive. Not just in your views but the controllers too! Imagine it this way — your controllers are slim APIs. They should do nothing but render a page on a GET request and when it comes to a POST/PUT/DELETE they should do nothing more than just say YES or NO (with errors).
Permalink
1 May 2009 at 10:57 am
· Filed under Javascript
Ajax Framework Analysis Results from raibledesigns.com
we believe the decision all comes down to what the developers on the project feel they will be most comfortable with. If you're developing with Dojo or YUI, chances are you're dressing up existing HTML and possibly using progressive enhancement to add more rich functionality. On the other hand, Ext JS and GWT are similar to Swing programming where you build the UI with code (JavaScript for Ext JS, Java for GWT).
Permalink
23 February 2009 at 12:02 am
· Filed under Javascript, Testing, To Read
JavaScript Test Driven Development with JsUnit and JSMock by Dennis Byrne
This article is a crash course in writing maintainable JavaScript. We'll add features to a running example by iteratively following a simple principle: write a unit test, make it pass. Each test will serve as a quality feedback loop, creating both a safety net and an executable form of documentation for anyone who wants to change the production code. By starting each feature with a simple failing test we ensure that all features are tested. We avoid the cost of rewriting code to test it later. This is particularly valuable given the fact that JavaScript developers have so much rope to hang themselves with – consider how much global mutable state there is between the DOM API and the language itself.
Permalink
9 February 2009 at 12:52 am
· Filed under Javascript, To Read
Object Oriented Javascript Demonstrated by Stoyan Stefanov
This chapter walks you through:
* The primitive data types in JavaScript, such as strings and numbers
* Arrays
* Common operators, such as +, -, delete, and typeof
* Flow control statements, such as loops and if-else conditions
Permalink
30 December 2008 at 6:03 pm
· Filed under Javascript, Testing
A Web Developer's Responsibility by John Resig
Browser bugs are annoying, frustrating, and make your job incredibly difficult.
Because browser bugs are so frustrating and such a burden on top of normal development it should be the responsibility of every web developer to make sure that the browsers they develop for are able to find and fix their bugs. By taking responsibility for the bugs that you find – and to not assume that "someone else will find it" – will accelerate the rate at which browsers can improve.
Permalink
28 September 2008 at 11:26 pm
· Filed under Javascript, Ruby/Rails
JS.Class – Ruby-style Javascript by James Coglan
JS.Class is a library designed to facilitate object-oriented development in JavaScript. It implements Ruby’s core object, module and class system and some of its metaprogramming facilities, giving you a powerful base to build well-structured OO programs.
Permalink
15 February 2008 at 1:06 pm
· Filed under Java, Javascript
GWT-Ext 2.0
GWT-Ext is a powerful widget library that provides rich widgets like Grid with sort, paging and filtering, Tree’s with Drag & Drop support, highly customizable ComboBoxes, Tab Panels, Menus & Toolbars, Dialogs, Forms and a lot more right out of the box with a powerful and easy to use API. It uses GWT and Ext.
Permalink
30 January 2008 at 3:56 pm
· Filed under Javascript
Tutorial:Introduction to Ext 2.0 by Brian Moeskau

This tutorial will walk through Ext basic concepts and how to get a dynamic page up and running quickly. It is assumed that the reader has some Javascript experience and a basic understanding of the HTML document object model (DOM).
More tutorials for Ext is here.
Permalink