官术网_书友最值得收藏!

Summary

All code samples seen here as well as some extra material can be found online in the repository available at https://github.com/johnbrett/Getting-Started-with-hapi.js. If you have any questions about the code samples—in trying to understand code snippets or problems running them, feel free to open an issue.

In this chapter, we've introduced Node.js, its benefits and differences as compared to other server side technologies, and looked at what a simple Node.js server looks like. We looked at the reason for using a framework on top of this, mentioned some different frameworks, and introduced hapi.js as a choice. We talked at length as to why hapi.js is a good choice, who created it and why, and how its design principles differ from other Node.js frameworks.

Hopefully, at this stage, we've convinced you that hapi.js is a great choice for building web applications, and is something you want to learn about. Finally, we saw what a simple server looks like in hapi.js, using its style guide, and gave a quick overview of its excellent ecosystem and community. Next, let's look at adding functionality to our examples, and at creating a trivial applications and websites using the hapi.js framework and ecosystem.

主站蜘蛛池模板: 垫江县| 贵溪市| 平凉市| 富川| 潮安县| 抚顺市| 文山县| 平潭县| 图木舒克市| 九龙城区| 玉门市| 义乌市| 温泉县| 蒙城县| 灵山县| 永宁县| 青神县| 馆陶县| 宁化县| 闽侯县| 闸北区| 大埔县| 德保县| 漯河市| 丽江市| 格尔木市| 军事| 陇南市| 宣汉县| 吉安县| 东阳市| 大田县| 甘孜| 广河县| 新野县| 温泉县| 平顶山市| 新郑市| 西乌珠穆沁旗| 万载县| 岐山县|