O'Reilly logo

Developing a hapi Edge: A Rich Node.js Framework for Apps and Services by Foreword by Eran Hammer, Lloyd Benson, Daniel Bretoi, Van Nguyen, Wyatt Preul

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Validation

[hapi] made our development process insanely productive and a true “joi.”

-- https://github.com/hapijs/hapi/issues/1613#issuecomment-46332030

Eran mentioned in a tweet being proud of the impact that hapi is having on data validation. And he should be. Being able to validate both your input data and your output data is a big deal, and to actually have this made easy and an integral part of a framework is a big deal. If you’re asking why this is a big deal, hopefully it’s not because you’re a skeptic, and it’s because you simply want to know. We’re all working with computers that are extremely efficient at handling data. If we end up with the wrong data, it doesn’t really matter how efficiently your computer handles the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required