The dynamic programmer
20 recipes for programming Phone Gap by Jamie Munro.
A good book to get you up and running with Phone Gap and JQuery mobile.
Introducing Time Traveller, date library for node.js (and javascript).
Dates are a pain. So I started to put together time traveller to try to alleviate that paint while working on node.js.
Dealing with errors on node.js.
JavaScript has the usual try catch construct. In node, that's not always enought.
Three weeks of real node.js development.
I have been playing with node.js for the last year and half, maybe more, but for the last three weeks I have been doing real work with it. We are developing a new product and we decided to give node a try. These are my findings and my experience so far.
Luca, a quick look at the request object.
I decided to completely isolate Luca from the HttpRequest object and define my own. The main advantage of this approach is that having a pure javascript object, mocking and stubbing is extremely easy, making testing a breeze.
Luca, writing a simple web service.
As a first simple example of using Luca I wanted to write a simple web service that returns json or plain text.
Luca, abstracting the request object.
The JavaScript engine allows for the use of .Net objects inside JavaScript, but I wanted to completelly abstract Luca from anything related to the HttpContext.
JSLint for Visual Studio, Kew a new .Net language and other interesting stuff found on Codeplex
If you do any Js development at all you may want to consider installing this add in for Visual Studio that brings JSLint to the IDE.
Javascript, the good parts, the book.
I look at the table of contents and I knew that I have to have it. I ordered two copies right away, one from my team and one for my personal library. The book came two weeks ago and I'm loving it.
Implementing the Each method in C# collections.
The Javascript library Prototype make use of "prototypes" to extend some internal JavaScript objects like the Array. One of the extension methods that I find myself using the most is the each method.
The same template in the client and server side.
Prototype is one of the most popular javascript libraries out there and one of the features I really like is the template implementation. When you create an Ajax application there are multiple opportunities to use templates in the client side.
Why you need to use a good architecture when writing JavaScript
I'm working in an application originally programmed in 200 by only one developer. I really clever guy that put in place quiet a bit of base code. The original design of the application is not all that bad, but several waves of developers have done maintenance on it.
Prototype and Script.aculo.us presentation
A great presentation from Thomas Fuchs creador the Script.aculo.us at infoq.com. A preview of the new 2.0 version of the Script.aculo.us library on Thomas Fuchs blog. Enjoy!