I made a couple of small node.js modules to help me develop couchapps. CouchApp is two things: a concept and a tool. The concept is an application that runs on CouchDB, using its API. The API has three basic components for presenting data (it has others for editing data but that isn’t covered in this [...]
Tag Archives: programming
Avoid describing your code as automatically doing something. If you need to do multiple things at once, separate it out into a convenience function or method. Finally, make it easy to call each step explicitly. Please don’t put the orchestration code, that calls code that interacts with the outside world, into a constructor. This makes [...]
I read The Pragmatic Programmer for the first time in about 2005. I’ve thumbed through it a couple of times since. I’m going to read it again, cover to cover. It’s a timeless book.
Connect has a session middleware that has a pluggable API for session storage. There is a session store for redis, written by TJ Holowaychuk, who maintains both connect and express. There are also session stores for CouchDB, MongoDB, and postgresql that look to be well-maintained and ready for production use. These are great, but I [...]