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

Introduction

In the previous chapters, you learned how to utilize conditional logic, loops, and the most common data structures. These form the groundwork and essentials for writing programs and building complex JavaScript applications. Still, building actual software is an inherently challenging task; focusing on only business logic is even more so. Therefore, as developers, we often rely on external software that lets us dedicate ourselves to the source code that's the most relevant to our product or business. This software does this by simplifying specific tasks and abstracting away complexity for us. Those pieces of external software are what we refer to as frameworks or libraries.

The following are some of the tasks that modern JavaScript frameworks can support us with:

  • Performance rendering of complex or dynamic single-page applications (SPAs)
  • Managing ongoing dataflow between the controllers and views of client-side applications
  • Creating sophisticated animations
  • Creating with fast and straightforward server APIs

Before we dive deeper into the whys and the wherefores of using external code, we need to clarify what the difference is between the terms "framework" and "library." This will be the topic of the following section.

主站蜘蛛池模板: 怀仁县| 犍为县| 乾安县| 滨州市| 封开县| 阿图什市| 黄浦区| 富阳市| 翁源县| 辽阳县| 商水县| 化州市| 澜沧| 武山县| 鄂托克旗| 化德县| 阜平县| 苏尼特右旗| 博爱县| 宁波市| 长岛县| 宿松县| 昌都县| 邵东县| 松溪县| 方山县| 淅川县| 新密市| 伊宁市| 育儿| 涿州市| 博野县| 乐昌市| 菏泽市| 清水河县| 甘德县| 金昌市| 阜康市| 手游| 永宁县| 湖州市|