Tuesday, September 29, 2009

10 Fresh JavaScript Tools That Will Improve Your Workflow

FireUnit

Unit testing is an integral part of building high-performance and efficient web applications. John Resig (creator of jQuery

library) and Jan Odvarko have developed an excellent Firefox/Firebug extension called FireUnit which gives developers logging

and testing capabilities via a simple JavaScript API. For those interested in the tool, you should also read Odvarko’s post

detailing the usage of FireUnit.

http://ejohn.org/blog/fireunit/

Sugar Test

SugarTest makes it easy to write elegant and understandable JavaScript tests. Its API is inspired by both RSpec, Shoulda and

jQuery. It works as a DSL running on top of JsUnitTest.

http://sugartest.scriptia.net/

JS.Class: Ruby-style JavaScript

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.

http://jsclass.jcoglan.com/

JSON Formatter and Validator

The JSON Formatter was created to help with debugging. As data expressed as JSON is often written without line breaks to save

space, it became extremely difficult to actually read it. This tool hopes to solve the problem by formatting the JSON into

data that is easily readable by human beings.

http://jsonformatter.curiousconcept.com/

Faux Console: Simulating a Firebug, Safari or Opera debugging in IE

Browsers like Safari, Opera and Firefox use the Firebug extension that offers a developer a comfortable way to output

debugging information using the console.log() command. Microsoft Internet Explorer does not support this though – Faux

Console is a small JavaScript that you can embed in the document to have a basic debugging console in IE.

http://icant.co.uk/sandbox/fauxconsole/

JS Bin

JS Bin is a web application for testing and debugging JavaScript and CSS collaboratively. You input your source code and save

it to a publicly-accessible URL which you can then share to your fellow developers or in social networking outlets like

Twitter or Facebook groups. Be sure to check out the video introduction to see JS Bin in action.

http://jsbin.com/

PHP.JS

PHP.JS is an open source project in which we try to port PHP functions to JavaScript. By including the PHP.JS library in your

own projects, you can use your favorite PHP functions client-side.

http://phpjs.org/

Page Speed

Page Speed, released by Google, is a Firefox/Firebug extension very similar to YSlow that evaluates your web pages for

performance. Read more about Page Speed best practices to see what aspects of a web page are being evaluated. YSlow and Page

Speed are based off Steve Souder’s work (who worked for Yahoo! and now works for Google).

http://code.google.com/speed/page-speed/

prettyPrint

prettyPrint is an in-browser JavaScript utility for dumping variable information, inspired by ColdFusion’s built-in cfdump

utility function. Using prettyPrint on JS objects, variables, and arrays will give you a large array of information about

them, which you can then use for debugging purposes or simply for gathering data about them for documentation.

http://james.padolsey.com/javascript/prettyprint-for-javascript/

Spket IDE

Spket is an excellent toolkit for JavaScript and XML development. It has a robust and intuitive GUI, and integrates with

popular and powerful JavaScript/Ajax libraries such as Y!UI and jQuery. Its JavaScript Formatter feature gives you

unparalleled control and standardization for you or your team’s JavaScript code formatting standards.

http://www.spket.com/

No comments:

Post a Comment