Articles tagged in: hapi



hapi — How to Use Server Labels

Server labels aren’t available in hapi v17 This tutorial is only applicable until hapi v16. Multiple connections and the server.select() method are not available in hapi v17 anymore. Using hapi as the framework of choice for building web apps or APIs brings a lot built-in functionality to leverage …

Continue Reading

hapi — Views in hapi 9 (and above)

With the release of hapi 9, the developers stripped down hapi’s internal dependencies and removed the previously integrated vision plugin. This plugin was responsible to decorate hapi’s server object with the views method. Removing the plugin from the framework’s core resulted in losing the server.views method. …

Continue Reading

hapi — How to Create a Dynamic Handlebars Layout Template

Hapi has great built-in support for various template engines like Handlebars or Jade, and HTML itself, of course. However, the Hapi view documentation suffers from incomplete information when working with Handlebars and only presents rudimentary examples to integrate Handlebars and layouts. Composing a complex layout within a web project with …

Continue Reading
Page 17 of 17

Explore the Library

Find interesting tutorials and solutions for your problems.