- Mastering PhoneGap Mobile Application Development
- Kerri Shotts
- 201字
- 2021-07-16 13:03:54
Chapter 2. ECMAScript 2015 and Browserify
JavaScript has quickly become the lingua franca of the Web and the language's syntax and semantics have long been in need of improvements. ECMAScript 2015 introduces a lot of syntactic sugar that makes writing JavaScript easier. It also provides many new useful concepts that simplify application development. We briefly introduced you to ES2015 in the previous chapter. We'll be delving deeper into ES2015, as it's important that you become familiar with what the new syntax looks like.
Furthermore, it can be extremely useful to reuse your own work and that of others as well. But doing so would require you to manage your dependencies and ensure that the appropriate libraries are included. Doing this manually can be painful; but you can leverage a tool such as Browserify to assist. Browserify is a utility that not only packages your JavaScript files along with their dependencies, but also provides a Node.js-like environment for the browser. This means that you can reuse the majority of the huge JavaScript repository that Node.js uses. After all, why reinvent the wheel if someone has already done the hard work?
In this chapter, we'll cover:
- New ES2015 syntax
- Using Browserify
- Responsive Web Design with HTML5 and CSS3
- PHP+MySQL網站開發項目式教程
- Hands-On Microservices with Kotlin
- 微信小程序項目開發實戰
- 從0到1:Python數據分析
- HTML5從入門到精通(第4版)
- Regression Analysis with Python
- QPanda量子計算編程
- Arduino電子設計實戰指南:零基礎篇
- 零基礎學Java第2版
- Spark技術內幕:深入解析Spark內核架構設計與實現原理
- Practical Responsive Typography
- 數據庫技術及應用教程上機指導與習題(第2版)
- Professional Azure SQL Database Administration
- 我的第一堂編程課:孩子和家長都需要的編程思維