DEV Community

Pramuda Liyanage
Pramuda Liyanage

Posted on

Diffrence of Library and Framework in Computer Programming

Image description

What is Library?

Libraries in programming languages are collections of prewritten code that users can use to optimize tasks.

Below are some library examples..

** Next.js (programming language ==> JavaScript)
** NumPy (programming language ==> Python)
** Apache Xerces (Java , C++ and Perl programming languages)
** Pillow (programming language ==> Python)
** SFML (programming language ==> C++)
** p5 (programming language ==> JavaScript)

What is Framework?

A framework is a real or conceptual structure created to serve as a support or guide for the building of something that expands the structure into something useful.
Frameworks can include various tools, code libraries, compilers and also application programming interfaces (APIs) bound together to enable development of a project or solution too a specific problem.

Below are some library examples..

** Angular ==> TypeScript-based free and open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations.

** Vue.js ==> open-source model–view–viewmodel front end JavaScript framework for building user interfaces and single-page applications.

** Bootstrap ==> free and open-source CSS framework directed at responsive, mobile-first front-end web development.

** ASP.NET ==> open-source, server-side web-application framework designed for web development to produce dynamic web pages.

** Spring ==> application framework and inversion of control container for the Java platform.The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform.

Thank you....

Top comments (0)