Tag: javascript
Clientside CoffeeScript with jQuery
Before digging into node.js servers with CoffeeScript, I branched off by mimicking a simple client example by Arbo von Monkiewitsch.
It attaches a callback function to a click event and updates the page. Note that I haven’t passed in an object by reference (return changes), otherwise I could have called a swap function, from within the show message function.
The Four Horsemen of Rails 3.1beta, Coffee-Script, jQuery, SCSS and Assets
A brief description of CoffeeScript, jQuery, SCSS and Assets
CoffeeScript is a translation and JavaScript with additional features to ease development, code readability, and functionality. It has all the best features of JavaScript as it IS JavaScript, but adds on essential development perks like terse syntax, local variable scoping, and utilities.
Wakeup with a fresh cup of CoffeeScript
I like programming languages with rich object models. I love dynamic languages. Sure, minimizing execution time and resource optimization may demand speed, and c variants and java (mirah!) are screamers. Yet after having coded heavily in one of these languages for years, it’s a breath of fresh air letting go of the training wheels of type safety and discarding the mental overhead of complex inheritance trees. Verbosity be damned! (more…)
The joy of function chaining and callbacks with jQuery and underscore.js
What language features do you rely on while coding? In my own work and others’ code (while wearing my app developer hat) I look for the following utilities: (more…)
The builders of couchappspora
If you haven’t heard already, there’s a storm brewing on the distributed social web and it’s being lead by a few hackers in Portland. They’re building a distributed social app in response to the public interest for alternatives to centralized servers. They’ve taken the concept of Diaspora and hacked together their own vision of an interface and CouchDB back end. I spotted the git repo on Tuesday morning while waiting for my wife to get out of a minor surgery (she’s fine). There are three active contributors to the project already, and I’m anxious to find a place to chip in.
Distributed Social App with CouchDB. Brilliant!

While learning how to best lay the groundwork for a shared media application, I happened upon an early alpha of a distributed social app on CouchDB. The couchapp allows anyone to register and begin posting so try it out. There’s no federation yet, but additional couch databases can be continuously replicated. The distributed nature of the application spawns by setting up two way replication or synchronization between multiple nodes. This is one of the benefits of couchDB that makes it a great system for media sharing, and why I’ve decided to build on it.

