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

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.

主站蜘蛛池模板: 张掖市| 莱芜市| 武隆县| 晋中市| 教育| 沁水县| 九寨沟县| 淅川县| 额敏县| 孟州市| 班玛县| 湟源县| 苍溪县| 自治县| 溧阳市| 临邑县| 台湾省| 林芝县| 广饶县| 湟中县| 阳西县| 秭归县| 新民市| 玛曲县| 凤庆县| 奉贤区| 景宁| 东辽县| 舟山市| 韩城市| 怀安县| 汤原县| 赣州市| 陆川县| 扶绥县| 浮梁县| 西平县| 绵阳市| 日照市| 平顺县| 鲁山县|