express

What is Express?

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.Some other web frameworks that you may be familiar with are

  • Ruby on Rails (Ruby)
  • Sinatra (Ruby)
  • Django (Python)
  • Zend (PHP)
  • CodeIgniter (PHP)

Why use Express?

Express is a lightweight framework, meaning it does not make too many assumptions but gives you enough to avoid re-inventing the wheel.

Some of the things you can do with Express include

  • Simple brochure websites
  • JSON based APIs
  • Realtime web applications

Some reasons for using a framework like Express include

  • It takes less time to create applications using a framework.
  • Common patterns like routing and view layers are accounted for in a framework like Express, meaning you do not have to write code for this.
  • A framework like Express is actively used, maintained and tested. The stability of the code can be assumed.

Frameworks like Express are not appropriate for everything though. If you are creating a command line script you would certainly not want to use something like Express.

 

Installing Express

You can install express via npm:

About Ritesh Kumar

I am Full Stack Developer and Blogger from Bangalore, India.

Leave a Reply

Your email address will not be published. Required fields are marked *