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

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.

主站蜘蛛池模板: 琼结县| 卫辉市| 周至县| 台湾省| 西华县| 洛浦县| 龙南县| 斗六市| 蓬莱市| 舟曲县| 平原县| 平定县| 简阳市| 基隆市| 青龙| 汶川县| 仁寿县| 观塘区| 崇义县| 响水县| 富顺县| 出国| 客服| 贵德县| 宁陕县| 宝坻区| 酒泉市| 青铜峡市| 读书| 镇江市| 太湖县| 东至县| 巴林左旗| 泾源县| 吴川市| 敦化市| 肥乡县| 电白县| 布尔津县| 云南省| 京山县|