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

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.

主站蜘蛛池模板: 大港区| 株洲市| 雷州市| 南木林县| 鲁山县| 西城区| 巧家县| 定南县| 安阳县| 将乐县| 阳泉市| 神木县| 双峰县| 元氏县| 田阳县| 河西区| 襄樊市| 射洪县| 吐鲁番市| 乐清市| 昌平区| 鄂伦春自治旗| 微博| 舒兰市| 修武县| 札达县| 宝坻区| 定州市| 新巴尔虎右旗| 雷山县| 专栏| 安新县| 探索| 阿城市| 饶河县| 十堰市| 同江市| 称多县| 台东市| 湘潭县| 沙田区|