The hapi philosophy versus other frameworks

Throughout Walmart's journey of rebuilding their mobile services tier and working with other frameworks, they realized that certain values were vital to building applications in Node for keeping the code intuitive, maintainable, and scalable. As a result, hapi centered around the following concepts:

  • Time and effort should be spent on delivering value, not on rebuilding application infrastructure
  • Configuration is better than code
  • Business logic must be isolated from the transport layer
  • Open Source and community-centric from day one

Let me elaborate more on hapi and these points, the thought process behind them, and how they compare to other frameworks in Node.

Building value, not infrastructure

As I mentioned ...

Get Getting Started with hapi.js now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.