Node.js app deployment in Heroku

What is Heroku It is a PaaS Provider It is designed around GIT workflow for deployment It is originally designed for hosting ROR application It now supports other type of applications like Node.js, Java, Python, Scala etc The basic service of Heroku is free Node.js application deployment in Heroku Create a basic Express Node.js application – herokudemo. Make sure express module is globally installed. If not install it using the command : [code]npm install -g express[/code] express herokudemo cd... more →
Posted in: Cloud, Frameworks, Programming

Jade – The Template Engine

Template Engines are widely used in web frameworks to generate HTML. Some of the popular template engines are Smarty (PHP) and ERB (Ruby). Templates are often be part of the views in MVC architecture. Express web framework module for node.js uses Jade as the template engine. It is an indentation based template engine and hierarchy of the HTML structure is based on the indentation. There is no need to write tags as it will be automatically created. Example : In the following example (–> )... more →
Posted in: Frameworks, Programming