Pages

Wednesday, November 30, 2011

Open Source Alternatives

This morning I ran across two amazing pieces of software for the stuff that's commonly needed in a small office.

The first one is a mail/collaboration server and client - Zimbra. Technically, it is an alternative to MS Exchange or Lotus Notes:

http://www.zimbra.com/products/zimbra-open-source.html

The second one is a project management software - OpenProj, an alternative to MS Project:

http://sourceforge.net/projects/openproj/

Wednesday, November 23, 2011

xUnit Test Patterns

Great reference for unit testing: xUnit Test Patterns - Refactoring Test Code

http://xunitpatterns.com/index.html

Thursday, November 10, 2011

Arguments to functions in JavaScript

Watching Douglas Crockford's talk about functions in JavaScript, there were a few interesting moments where I learned some new things. One notable detail worth writing down is that every function in JavaScript always receives two arguments: this and arguments.

arguments is array-like but is not an array and contains all the arguments passed to the function.

this contains a reference to an object that contains the function.

Some references:

http://www.devguru.com/technologies/ecmascript/quickref/arguments.html

https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope

http://javascript.crockford.com/

Tuesday, November 08, 2011

Modules in CoffeeScript

Here is a link to a module wrapper that enables encapsulating code into modules with CoffeeScript:

https://github.com/jashkenas/coffee-script/wiki/Easy-modules-with-coffeescript