Running Nodejs Program

Once the NodeJS installed you can run a first hello world program to test NodeJS development environment. Create a hello.js script and use a simple console.log  function that prints a message to a screen. Save the hello.js script and run it …

Continue reading

Nodejs Environment setup

NodeJS Installation Nodejs can be installed by compiling source code and making an executable or by downloading a pre-built installer for your platform. To download Nodejs visit the official NodeJs website download section and select the Long …

Continue reading

Nodejs

Nodejs is an asynchronous event driven run time environment based on google chrome’s JavaScript engine. NodeJs is used to develop an scalable network application. Nodejs let us to run the JavaScript in the server side. …

Continue reading

Django templates

Let’s started adding HTML file to support the views that previously created by using Django template engine. Django follows a templating language to understand more about Django template you can look at the documentation.   Assuming you …

Continue reading

Django URLs

The URLs are a way of mapping incoming requests to a view. This mapping is generally done in the urls.py file. The main app(in this case portfolio_blog ) also need to know about this urls.py file. This …

Continue reading

Django views

Views in django are like controller in other frameworks. Views help to process the incomming request pull data from database(if required) and then send response to the client.  Django Views Basics Django views can be …

Continue reading