Home > Web Front-end > Front-end Q&A > What framework is JavaScript?

What framework is JavaScript?

青灯夜游
Release: 2022-03-03 15:09:59
Original
2957 people have browsed it

Javascript is not a framework, but a scripting language. JavaScript, referred to as js, is a lightweight, interpreted or just-in-time compiled scripting language with function priority. It is a programming language widely used on the client. It is often used to add a variety of dynamic functions to web pages. Provide users with a smoother and more beautiful browsing effect.

What framework is JavaScript?

The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.

Javascript is not a framework, but a scripting language.

JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled scripting language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative, declarative, and functional programming paradigm.

JavaScript is a network scripting language that has been widely used in Web application development. It is often used to add various dynamic functions to web pages to provide users with smoother and more beautiful browsing effects. Usually JavaScript scripts realize their functions by embedding them in HTML.

JavaScript can be used in various fields of Web development, such as:

  • Web application development: The web pages we browse in daily life are It is composed of HTML, CSS, and JavaScript. Through JavaScript, the style of elements in the web page can be updated in real time, and the interaction between people and the web page can be realized (such as monitoring whether the user clicks the mouse or presses a certain button, etc.), and can also Add some cool animations to web pages;

  • Mobile application development: In addition to web application development, JavaScript can also be used to develop applications on mobile phones or tablets, and We can also use some excellent frameworks (such as React Native) to make development easier;

  • Web games: Those small games we have played on the web can all be played using JavaScript. Implementation;

  • Back-end Web application development: In the past, we used JavaScript to develop the front-end part of Web applications, but with the emergence of Node.JS (a JavaScript runtime environment) , so that JavaScript can also be used to develop the back-end part of web applications.

Extended knowledge: JavaScript framework

Javascript framework refers to a programming framework based on the Javascript language.

JavaScript frameworks are application frameworks that allow developer code to quickly leverage off-the-shelf code to meet their unique requirements.

Web application development is similar to building a house. You have the option to create everything from scratch using building materials. But this wastes time and can result in high costs.

However, if you use readily available materials (such as bricks) and assemble them according to the building structure, construction will be faster, saving money and time.

Application development works similarly. Instead of writing every piece of code from scratch, you can use pre-written code based on your application architecture as building blocks. Frames adapt website designs faster and make them easier to use with JavaScript.

Use of JavaScript framework:

  • Building website

  • Application front-end development

  • Application backend development

  • Application hybrid development

  • E-commerce application

  • Build modular scripts, such as Node.js

  • Manually update the DOM

  • Use templates and two-way binding to automate repetitive tasks

  • Developing Video Games

  • Creating Image Carousels

  • Testing Code and Debugging

  • Module combination

What frameworks are there for JavaScript:

1. AngularJS

Google’s AngularJS is an open source released in 2010 JavaScript framework. This is a front-end JS framework that can be used to create web applications.

It was created to simplify the development and testing of web applications using the framework of MVC and MVVM client architecture.

2. Bootstrap

Quickly design a mobile-responsive website using Bootstrap, one of the most popular open source toolkits for front-end development.

Released in 2011, it provides developers with great flexibility to customize various elements according to customer needs.

3. Aurelia

Released in 2016, Aurelia is a simple, powerful and powerful open source front-end JS framework for building responsive mobile, desktop and browser applications.

It aims to focus on making web specifications consistent with convention rather than configuration, and requires less framework intrusion.

4. Vue.js

Vue.js was created by Evan You in 2014 while working at Google. It is a progressive JavaScript framework for building user interfaces.

Vue.js starts from its core and can be gradually adopted, and can be easily extended between frameworks and libraries according to various use cases.

5. Ember.js

The open source JS framework Ember.js has been rigorously tested to effectively build web applications with rich UI that can be used across devices.

It was released in 2011 and was named SproutCore 2.0 at the time.

6. Node.js

Node.js is a server-side open source JavaScript framework built on Chrome's JS V8 engine (created in 2009). It is a runtime environment that executes JS code outside the browser.

Node.js is designed to help you develop scalable, fast and reliable web-based server-side applications.

7. Backbone.js

The lightweight JS framework Backbone.js was created in 2010 and is based on the Model View Presenter (MVP) architecture.

It has a RESTful JSON interface to help you build client-side web applications. It structures web applications using models for custom events and key-value binding, collections with efficient APIs, and views using declarative event handling.

8. Next.js

The open source platform of Next.js provides a React front-end web development framework. Released in 2016, it lets you enable features like creating static websites and server-side rendering.

9, Mocha

Every application needs to be tested before it is deployed. This is what Mocha or Mocha.js does for you.

It is a feature-rich open source JS testing framework that runs on Node.js and browsers.

10. Ionic

Released in 2013, Ionic is an open source JavaScript framework for building high-quality hybrid mobile applications. Its latest version allows you to choose any UI framework such as Vue.js, React or Angular. It uses CSS, Sass and HTML5 to build applications.

11. Webix

Webix's easy-to-use framework helps you develop rich UIs by using simpler code. It provides 102 user interface widgets such as DataTable, Tree, Spreadsheet, etc., as well as feature-rich HTML5/CSS JS controls.

12. Gatsby

Gatsby helps you develop websites and applications with good performance using React. This is an open source and free front-end JS framework.

13. Meteor.js

Meteor is an open source JS framework released in 2012. It allows you to seamlessly build full-stack applications for mobile, desktop and web.

14. MithrilJS

Although not as popular as other projects on this list, Mithril is an advanced client-side JS framework for developing client-side applications. It is lightweight (less than 10kb gzip) yet fast and provides XHR and routing utilities.

15. ExpressJS

Express.js is a back-end JS framework for developing web applications. It was released as free open source software in 2010 under MIT Aroma.

This is a fast and minimalist Node.js web framework with a range of useful features.

Some Useful JavaScript Tools:

  • #Slick

    Slick is a useful JS tool for your carousel needs. Its containers are responsive and scalable. Its features include CSS3 support, sliding, mouse dragging, full accessibility, infinite loop, autoplay, lazy loading, and more.

  • Babel

    Babel is a free and open source JS compiler that can be used to convert new JS features to run older JS standards. The plugin is also used for syntax conversions not supported by older versions. It provides polyfills to support missing functionality in some JS environments.

  • iziModal

    iziModal is an elegant, lightweight, flexible and responsive modal plugin for use with jQuery. It is useful to use pop-ups to notify the user of certain information or to ask for information. It's easy to use and has many customizations.

  • ESLint

    Using ESLint it is easy to find errors and fix them in JS code. It statistically analyzes code to quickly catch syntax errors, command line style issues, etc. and fix them automatically.

  • Shave

    Shave is a zero-dependency JS plugin that allows you to truncate text inside an HTML element by setting a maximum height so that it fits exactly within the element. It also stores some extra original text in the hidden element to ensure you don't lose it.

  • Webpack

    Webpack is a tool for bundling JS modules for modern applications. You can write code and use it to bundle assets sensibly while keeping your code clean.

[Related recommendations: javascript learning tutorial]

The above is the detailed content of What framework is JavaScript?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template