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

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.

主站蜘蛛池模板: 扶绥县| 凉山| 白水县| 牡丹江市| 新源县| 宜都市| 方正县| 枝江市| 岐山县| 垣曲县| 保定市| 耿马| 杭州市| 馆陶县| 哈尔滨市| 华安县| 新建县| 玉山县| 巴彦县| 昭平县| 三江| 友谊县| 甘孜| 揭东县| 江陵县| 江川县| 辽阳市| 中牟县| 沾化县| 大同市| 革吉县| 鄄城县| 阿拉善左旗| 江华| 荃湾区| 焦作市| 钦州市| 余庆县| 剑河县| 自贡市| 囊谦县|