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

What is a JavaScript framework?

In the last section, we were reviewing all concerns about JavaScript and how we can organize our packages using NPM and Yarn. Now, it's time to review some tools that will improve our development experience; it's time to talk about frameworks.

A framework can be described as a group of tools and methodologies organized to solve common problems in the project development. Those solutions are generic; each one was tested in different environments and allows you to reuse that functionality to save time and cost.

So, based on the previous explanation, we can define a JavaScript framework as a collection of components and libraries (in most cases, interdependent) to fill the needs of the application in browser clients. What are these needs? Let's check some of the most generic ones:

  • Routing
  • Data sending features and retrieval (XMLHttpRequest)
  • Correct DOM management
  • Managing and organizing your code in separated functionality
  • Defining standard data flows for the application
  • Defining lifecycle for some functionality
主站蜘蛛池模板: 松江区| 辉南县| 天峨县| 武川县| 宝坻区| 南昌市| 青岛市| 建德市| 华阴市| 永德县| 东安县| 宁乡县| 金溪县| 阜南县| 疏附县| 肥城市| 伊通| 崇阳县| 宽城| 忻城县| 汶上县| 白城市| 永春县| 兴城市| 徐汇区| 贵港市| 密山市| 肇庆市| 依兰县| 铁岭县| 莱州市| 鸡泽县| 顺昌县| 米易县| 胶州市| 嘉荫县| 陇南市| 读书| 绵阳市| 宜川县| 水富县|