Express has long been the leading HTTP server framework for Node.js applications, but Hapi.js is probably the most popular alternative, with many devoted followers.
In this course, you're going to learn Hapi.js from the ground up. If you haven't had a chance to look into Hapi before, now's your chance! You'll learn how to set up a new Hapi project, starting with serving static content and files. Next, you'll learn how to render dynamic pages with the Handlebars view engine, and how to handle user input in GET and POST requests.
1.Introduction4 lessons, 28:03
4 lessons, 28:03
1.1Introduction01:29
1.1
Introduction
01:29
1.2Installation and Hello Hapi08:48
1.2
Installation and Hello Hapi
08:48
1.3Handling Static Files11:08
1.3
Handling Static Files
11:08
1.4Project Organization and Custom Plugins06:38
1.4
Project Organization and Custom Plugins
06:38
2.Displaying Content5 lessons, 38:57
5 lessons, 38:57
2.1Using the Vision Plugin09:47
2.1
Using the Vision Plugin
09:47
2.2Using Layouts for Consistency09:02
2.2
Using Layouts for Consistency
09:02
2.3Using Partial Views04:00
2.3
Using Partial Views
04:00
2.4Defining and Using View Helpers05:08
2.4
Defining and Using View Helpers
05:08
2.5Displaying Data With Handlebars11:00
2.5
Displaying Data With Handlebars
11:00
3.Handling User Input2 lessons, 20:19
2 lessons, 20:19
3.1Using GET Requests11:55
3.1
Using GET Requests
11:55
3.2Handling POST Requests08:24
3.2
Handling POST Requests
08:24
4.Conclusion1 lesson, 01:22
1 lesson, 01:22
4.1Conclusion01:22
4.1
Conclusion
01:22
I started my development career on the client-side writing JavaScript and DHTML components in my spare time. In 2005, Nicholas C. Zakas asked me to join him in writing the first edition of Professional Ajax for Wiley Publishing. Since Professional Ajax, 1st Edition, I've been blessed to take part in other book projects: Professional Ajax 2nd Edition, and Beginning JavaScript 3rd and 4th editions.