Difference between Web programming language and a Web framework. Which one should you use?

Nippon
2 min readMar 23, 2021

Whether you are a beginner in web development or a seasoned web developer this question of whether to use a programming language like PHP, python, java, Perl or whether to use a web development framework like Django, Flask, Laravel for your project must have crossed your mind. This article is trying to point out some of the pros and cons of both approaches.

A web programming language is a programming language used to handle the backend coding of a website. For example, a web programming language like PHP can be used to do server-side scripting tasks like accessing databases, keeping track of sessions for logged-in users, managing cookies, etc.

And a framework is a collection of code written in a specific language that provides the user access to predefined functional codes, routines, or programs for tasks of repetitive and common nature like database operations, user creation or form handling encountered while developing a website backend.

So a web programming language provides a basic toolset for example a hammer, screwdriver, bolts to make a fighter jet which is our website. But a framework is like a collection of the readymade engine, electronic panels, wings which can be directly attached to our website without explicitly making them as they are common to all aircrafts

Therefore a web framework is fast as repetitive tasks can be accomplished faster rather than writing code in a programming language from scratch for those same tasks. So a framework decreases development time and requires minimum effort as compared to a web programming language.

But that is half the story. If you are developing a project that requires custom work then probably a web programming language is a good choice as most frameworks are rigid and follow strict design patterns which may be a serious drawback for your project.

Therefore you should select a language or a framework based on the requirements of your project.

You should also compare what your language and framework provide and select the one which best meets your requirement. In the end, the most important thing to do is to explore various languages and frameworks and settle for the most promising, interesting, and which you think will get the job right.

--

--

Nippon

Digital Marketing Executive specializing in Data Science. Growing interest in Blockchain and I love traveling and gaining new experiences.