Tag: javascript

How to create an interactive gallery for your blog with jquery and the fancybox plugin

Yesterday I was inspired to create a short montage of ocean and beach related photos to accompany a SoundCloud recording I made while strolling the shore. The built in WordPress gallery is fairly limited, but in May I discovered the cycle jquery plugin for a photo sharing post. While the on page script worked at the time, it has since run into issues so I've been looking for an alternative. I found a nifty interactive image browser called Fancybox a few weeks back, and this post describes how you can incorporate it's functionality into your own blog or site. (more...)

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.

(more…)

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 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.

(more…)

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.

(more…)