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

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
主站蜘蛛池模板: 于都县| 桦川县| 宝应县| 大连市| 北辰区| 平和县| 施甸县| 南宁市| 北碚区| 囊谦县| 芒康县| 江达县| 屯昌县| 万州区| 五大连池市| 连南| 湟中县| 土默特左旗| 平泉县| 海盐县| 涟水县| 吴桥县| 迭部县| 横峰县| 辽阳市| 安顺市| 会同县| 临夏市| 德昌县| 东港市| 广饶县| 德阳市| 天津市| 临漳县| 新乡市| 堆龙德庆县| 阳春市| 前郭尔| 宽甸| 基隆市| 镇原县|