Backbone and Express Forgery Protection (csrf)

août 12th, 2013

With no responses/p>

I had a problem getting Node.js/Express playing nice with Backbone. It was not sending the csrf authenticity token embedded in the page when it sent create/update/delete requests, and Express was destroying the session when it detected the invalid request.

Read More

JQuery autocomplete search with Node.js and Mongoose

mars 13th, 2013

With 7 responses/p>

I was striving to find for the most robust solution, for an autocomplete search field implemented with JQuery UI, on client side, and NodeJS on the server side. And after implementation’s tests, I discovered that NodeJS and Mongoose will provide a efficient solution. The client side, with JQuery, is the one configured out on their […]

Read More

Reverse proxy for Nodejs in production with Apache2, HAProxy and Monit

décembre 18th, 2012

With one response/p>

We’ve recently finish a small Web site (code named with nodejs and expressjs. Our goal with this project was to setup Apache and NodeJS together in a real production environment, on a Linux Debian box. In mostly Web application, Apache2 is serving PHP and static files on port 80, while Nodejs is serving on […]

Read More

How to File Uploads in CompoundJS with Express – NodeJS

mars 18th, 2012

With no responses/p>

For those who do not already know CompoundJS, Compound is the Node.JS MVC framework based on ExpressJS, fully ExpressJS-compatible. It allows you to build web applications in a similar manner as in Ruby On Rails. Handle file uploads with CompoundJS is pretty simple, now, with ExpressJS. In the beginning there were middlewares such as formidable […]

Read More