Helping you solve those tough coding problems!
Learn some great web development and web design tips and techniques through recipes that clearly define the problem being solved with a working solution.
Popular Tags: cakephp | theory | optimization | javascript-development | asp-net | css | jquery-development | sql | ajax | php-development

Follow @endyourif rss Facebook LinkedIn

Can't set headers after they are sent Can't set headers after they are sent

Published on Mar 23, 2019 by Jamie Munro

When you are using Node.js with Express and you've received the dreaded "Can't set headers after they are sent" where do you even begin. This article will explore common causes of this error, such as calling res.writeHead, res.write, or res.redirect.

Read more >

Tags: Node.js | node | express

Node using Jade Templates with Express Node using Jade Templates with Express

Published on Oct 8, 2012 by Jamie Munro

After my first article on Node - My First Node Application I setup and installed the Node server as well as the Express add-on package. In today's article, I'm going to expand on that by creating actual output. In my research and comparison, Jade templates look quite nice.

Let's be honest, anything that can simplify the mundane typing of HTML code and let me output my content faster is a win-win in my books!

Let's get started.

Read more >

Tags: JavaScript | node | express | jade

My First Node Application My First Node Application

Published on Oct 4, 2012 by Jamie Munro

I have the unique pleasure of being a technical reviewer for an upcoming book by a former co-worker of mine. Since it will be his second book on Node (his first being a co-author of Node Up and Running), I thought I should probably get a feel for using Node. I've of course read some of the documentation and have a thorough understand of JavaScript already, as well as event driven programming working on some very large MMO projects.

I thought I would share how easy it is to really and truly get up and running with Node.

Read more >

Tags: JavaScript | node | express | mvc