When you are developing and testing your application, it’s ok to constantly start the Node.js server; however, once you’ve finished or you are trying to setup a production web server you want the Node.js service to always be running in the background. Let’s explore the variety of ways to accomplish this.
Category: Node.js
-
Node.js Versus Nginx: Bare Bones Test
This is a quick follow up to yesterday’s post on Node.js Versus Apache2: Bare Bones Test where I performed a straight HTML test of Node.js tutorial versus Apache. With my recent switch to Nginx, I thought it prudent to perform this exact same test swapping out Apache for Nginx. The results are much more interesting to yesterday’s since there is no total destruction (sorry for the spoiler if you didn’t read yesterday’s article).
-
Node.js Versus Apache2: Bare Bones Test
I’ve written a few recent articles on Node.js, mostly to familiarize myself with the effort involved in creating basic applications with it. I have yet to use it in production, mostly because I’m just not sure how ready I am to use it on a large project…
I have been quite curious with performance compared to the standard tools that I’ve used forever and ever. In the following article, I’m going to do some basic comparisons between Node and Apache2 performance.
-
Node.js – Ajax Pagination without the Pages
With my recent endeavours into Node, I thought that taking a fun article like this one – CakePHP 2-0 Ajax Pagination WITHOUT The Pages – would be a really fun experiment to see how difficult it would be to accomplish in Node.
At the end of the day, the logic is still the exact same, retrieve the items, determine the max length, calculate the number of pages, and then perform AJAX as well scroll down to fill in more content as-needed.
Leveraging the Express API and Jade templates, this is quite painless to implement into Node with jQuery template.
-
Node using Jade Templates with Express
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.