Chapter 1. Introducing full-stack development

 

This chapter covers

  • The benefits of full-stack development
  • An overview of the MEAN stack components
  • What makes the MEAN stack so compelling
  • A preview of the application we’ll build throughout this book

If you’re like me then you’re probably impatient to dive into some code and get on with building something. But let’s take a moment first to clarify what is meant by full-stack development, and look at the component parts of the stack to make sure you understand each.

When I talk about full-stack development, I’m really talking about developing all parts of a website or application. The full stack starts with the database and web server in the back end, contains application logic and control in the middle, and goes all the way through to the user interface at the front end.

The MEAN stack is comprised of four main technologies, with a cast of supporting technologies:

  • MongoDB—the database
  • Express—the web framework
  • AngularJS—the front-end framework
  • Node.js—the web server

MongoDB has been around since 2007, and is actively maintained by MongoDB Inc., previously known as 10gen.

Express was first released in 2009 by T. J. Holowaychuk and has since become the most popular framework for Node.js. It’s open source with more than 100 contributors, and is actively developed and supported.

AngularJS is open source and backed by Google. It has been around since 2010 and is constantly being developed and extended.

1.1. Why learn the full stack?

1.1.1. A very brief history of web development

1.1.2. The trend toward full-stack developers

1.1.3. Benefits of full-stack development

1.1.4. Why the MEAN stack specifically?

1.2. Introducing Node.js: The web server/platform

1.2.1. JavaScript: The single language through the stack

1.2.2. Fast, efficient, and scalable

1.2.3. Using prebuilt packages via npm

1.3. Introducing Express: The framework

1.3.1. Easing your server setup

1.3.2. Routing URLs to responses

1.3.3. Views: HTML responses

sitemap