Monthly Archives: February 2007

Yahoo! Pipes : Rewire the web

Yahoo! Pipes is an interactive feed aggregator and manipulator. It is to web services, what the unix pipe ( the ‘|’ character) is to the command line. With its nice visual editor, you can manipulate very easily multiple feeds, send … Continue reading

Posted in Javascript | Tagged , , , | Leave a comment

has_and_belongs_to_many or has_many :through?

As you may (or may not) know, there are two ways to build a many-to-many (or N-N) relationship with Rails. The first way uses has_and_belongs_to_many in both models. You’ll have to create a join table that has no corresponding model … Continue reading

Posted in Ruby on Rails | Tagged , , | 4 Comments

dojo.storage brings new capabilities to web services

Dojo toolkit, is well known in the Ajax community to provide numerous widgets to web developper. Since version 0.4.1, it provides a way to store data on the client side trough dojo.storage. It can use multiple ways to store those … Continue reading

Posted in Javascript | Tagged , , , | Leave a comment

AFLAX: The AJAX Library for the Adobe Flash Platform

The version 1.0 of AFLAX has been released : “Developed by Paul Colton, the AFLAX technology is available as a library that enables developers to use JavaScript to fully utilize all of the features of Adobe’s Flash runtime — including … Continue reading

Posted in Flash | Tagged | Leave a comment

Javascript Coding rules

Here are some rules I constrain myself to, and that can be useful for others : Use good code conventions Check your code: JSLint (javascript tools bundle for textmate make it automatic) Minification of your code: JSMin GZIP the code, … Continue reading

Tagged | Leave a comment

Essential things to know about Javascript

Douglas Crockford has written some essential articles about javascript: Here is a few of them: Javascript: The World’s Most Misunderstood Programming Language A survey of the Javascript programming Language Private Members in Javascript Prototypal Inheritance in Javascript Classical Inheritance in … Continue reading

Leave a comment

Reusable code

Javascript prototype inheritance allows a lot of code re-use. RE-USE I said ! So, why are you still coding ?!? Go to http://www.brainjacked.com/, and find the piece of code you’re missing ! They use Yahoo! Tech groups to publish news, … Continue reading

Tagged | Leave a comment

Unit tests in Javascript

If you’re used to unit testing ( using JUnit in java, Test::Unit in Rails, etc… ), you might like to have a look at http://www.jsunit.net/ “It is essentially a port of JUnit to JavaScript. Also included is a platform for … Continue reading

Tagged , | Leave a comment

Debugging Javascript with Firebug 1.0

The new version of Firebug is finally released !!! This is an awesome tool to debug and profile javascript. It has a lot of new features compare to the previous releases. Here is a great video of Joe Hewitt (Firebug’s … Continue reading

Tagged , | Leave a comment

Advanced Javascript Video

Douglas Crockford from Yahoo! made a few presentations about the Javascript Language. They are just awesome and I don’t know how I was coding in Javascript before viewing them. You can see them thanks to Yahoo! Videos, here are the … Continue reading

Tagged , , | Leave a comment