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

What to expect from this book

The remainder of this book is going to be a guided tour that walks you through creating a complete data-driven website. The website we create will feature almost every aspect of a typical large-scale web development project. The app will be developed using a popular Node.js framework called Express, and it will persist data using MongoDB. In the first few chapters, we will cover the groundwork involved in getting the core of the server up and serving content. This includes configuring your environment so you are up and running with Node and MongoDB, and a basic introduction to the core concepts of both technologies. Then, we will write a web server from scratch powered by ExpressJS, which will handle serving all of the necessary files for the website. From there, we will work with the Handlebars template engine to serve both static and dynamic HTML web pages. Diving deeper, we will make the application persistent by adding a data layer where the records for the website will be saved and retrieved via a MongoDB server.

We will cover writing a RESTful API so that other people can interact with your application. Finally, we will go into the details to see how to write and execute tests for all of your code. A summary is given in the following figure:

What to expect from this book

Wrapping up, we will take a brief detour as we examine some popular, merging frontend technologies that are becoming increasingly popular while writing SPAs. These technologies include Backbone.js, Angular, and Ember.js.

Last but not least, we will go into details about how to deploy your new website to the Internet using popular cloud-based hosting services such as Heroku and Amazon Web Services.

Tip

Downloading the example code

You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

主站蜘蛛池模板: 石嘴山市| 蓝山县| 江城| 板桥市| 株洲市| 右玉县| 新化县| 绥滨县| 类乌齐县| 泌阳县| 抚顺市| 蓝山县| 陕西省| 张家川| 宁远县| 青州市| 翼城县| 鹤山市| 紫金县| 丁青县| 海口市| 长葛市| 长宁县| 晋城| 包头市| 麻栗坡县| 安岳县| 长岭县| 富宁县| 海宁市| 大理市| 连山| 阿拉善左旗| 宜阳县| 上虞市| 贡嘎县| 桓台县| 宁安市| 青岛市| 深水埗区| 恩平市|