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

Welcome to JavaScript in the Full Stack

What was once only considered a language to add enhancements and widgets to a web page has since evolved into its own fully-fledged ecosystem. As of the survey of year 2017 ( https://insights.stackoverflow.com/survey/2017 ), it stands as the most popular language in terms of usage on stack overflow with around a million questions tagged on it. There are tons of frameworks and environments to make it possible to run JavaScript almost anywhere. I believe Atwood's law says it best:

"Any application that can be written in JavaScript will eventually be written in JavaScript!"

While this quote dates back to 2007, it's never been truer than today. Not only can you use JavaScript to develop a complete single-page application such as Gmail, but you will also see how we can use it to achieve the following projects in the coming chapters of the book:

  • Completely power the backend using Node.js and Express.js
  • Persist data with a powerful document oriented database such as MongoDB
  • Write dynamic HTML pages using Handlebars.js
  • Deploy your entire project to the cloud using services such as Heroku and Amazon Web Services (AWS)

With the introduction of Node.js, JavaScript has officially gone in a direction that was never even possible before. Now, you can use JavaScript on the server and you can also use it to develop full-scale, enterprise-level applications. When you combine this with the power of MongoDB and its JSON-powered data, you can work with JavaScript in every layer of your application.

Let's quickly go through some basic concepts of Node.js and MongoDB, which will help you in following the rest of the chapters in this book.

主站蜘蛛池模板: 大余县| 无棣县| 垫江县| 阿拉尔市| 罗甸县| 习水县| 通城县| 岳西县| 武乡县| 壤塘县| 灌阳县| 怀安县| 若尔盖县| 郁南县| 舒兰市| 兴仁县| 玉环县| 莱西市| 涪陵区| 准格尔旗| 巴东县| 楚雄市| 辽源市| 蒙城县| 四川省| 枣阳市| 出国| 安丘市| 鸡西市| 乌拉特后旗| 错那县| 东海县| 武冈市| 南昌县| 武邑县| 扶余县| 南涧| 任丘市| 阿拉尔市| 凯里市| 黎川县|