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

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.

主站蜘蛛池模板: 嘉黎县| 武乡县| 南京市| 中牟县| 桐乡市| 长海县| 正镶白旗| 平顺县| 深圳市| 和平区| 昭觉县| 和平区| 翼城县| 潢川县| 凌海市| 丹阳市| 庄浪县| 苏尼特左旗| 淄博市| 太原市| 潍坊市| 新邵县| 澄迈县| 华蓥市| 弥勒县| 乐至县| 湟中县| 长丰县| 太仓市| 临沂市| 会昌县| 仙游县| 上虞市| 视频| 大庆市| 横山县| 鹤山市| 长海县| 大渡口区| 博白县| 隆化县|