Put some Agile into your community

Finding a way to stimulate/encourage your community to do stuff can be a very difficult task.  I will show you an Agile-like approach to do that and actually it works pretty well, but remember: Don’t try to control your community, try to manage it. Create the infrastructure Get an account in Trello. Define your basic … Read more

MongoDB, Node.js and admin auth

There is a big challenge to make MongoDB driver to work with Node.js, but here is an cool and working example to do that: Require: var mongodb = require(“mongodb”); //require node-mongodb-native var settings = require(‘./mconfig’); //for settings Connect to the admin database: var mongoserver = new mongodb.Server(settings.mongo_host, settings.mongo_port, {}); admindb = new mongodb.Db(‘admin’, mongoserver); Try … Read more

Full HTTPS REST server in Node.js

I will show you now, how to write a simple HTTPS JSON REST server using node.js components. Grab a beer, open your IDE and let’s start hacking. 0. Create certificates. If you don’t have valid https certificates, you can generate one for testing purposes. If you need one cool certificate, you can join cacert community. … Read more

Capture API

I am looking forward Capture API to become part of Firefox soon. It’s really cool if I have the opportunity to capture my camera and my microphone. function success(data) { var container = document.createElement(“div”); document.body.appendChild(container); for (var i in data) { var img = document.createElement(“img”); img.src = data[i].uri; container.appendChild(img); } } function error(err) { alert(err.message … Read more