Archive for the ‘nodejs’ Category

Blog Rolling with MongoDB, Node.js and Coffeescript

This morning I woke up with a lingering thought on my mind that was left over from recent conversations. In the technical community we often get so invested in our work that rather than talk about the simple building blocks that build our success we talk about the huge breakthroughs we make. The problem however [...]

Streaming Files from MongoDB GridFS

Not too long ago I tweeted what I felt was a small triumph on my latest project, streaming files from MongoDB GridFS for downloads (rather than pulling the whole file into memory and then serving it up). I promised to blog about this but unfortunately my specific usage was a little coupled to the domain [...]

JSON Message marshalling in spring-amqp

I’ve been doing a bit of exploration in spring-amqp lately and came across some of the built-in features to automatically marshall/unmarshall AMQP messages to java objects. Although you can get away with just having java objects implement Serializable but that just means you’ll only be dealing with java to java communication and that’ll break down [...]

Paynode: More Payflow API methods + Braintree Integration

This morning I took some time out to do a few chores on my pet node.js project, paynode. In case you missed it, this has been my attempt to fill a void in node.js land for payment gateway integration. Think ActiveMerchant for node.js. Today I’ve made a few updates to it. In an effort to [...]

Lessons Learned With My Recent Node.js App

Recently I created a little web app for a friend’s conference to accept talk submissions and gather votes on those submissions to rank the top ones. For this task I used heroku’s node.js beta preview to host the application and a free couchone instance for the data store. Things were a bit rocky but I [...]

RabbitMQ, Node.js and Java Goodness

Tuesday night I gave a talk at a local Java User Group (that’s four JUG appearances this year, hoorah!) on RabbitMQ and demonstrated not just using it communicate between two java processes, but also as a way of communicating asynchronously between a node.js application and a java application… I have to say it was pretty [...]

Read Only Properties in ES5

I thought I’d take a quick moment to provide some examples of making object properties read only in EcmaScript 5 (and by extension node.js). There’s several ways to accomplish it, so I’ll just iterate over all the different ways. Object.freeze The quickest way to make all properties of an object read only is by calling [...]

Using an SSL Certificate to Make a Secure HTTP Request in Node.JS

I’m documenting this only because I had some difficulty finding info online… the API docs tell you what you need, but it took me a couple hours to get things working and a little known bug that threw my work off track. So say you want to make a secure request to a website, perhaps [...]

Payflow Pro API released for nodejs

On and off over the past couple days I’ve been working on a nodejs module to interact with Paypal’s Payflow Pro API to allow the acceptance of online payments within node.js apps. The feature list is steadily growing and soon I hope to implement the parts of the API that let paypal do the heavy [...]

Subscribe to RSS Feed Follow me on Twitter!