FrameWorks and their pros and cons.

Hello Everyone!

Let’s talk about Frameworks. Today we are going to look at some pros and cons of using a framework.

Before that let’s have a quick explanation of Frameworks.

What is a FrameWOrk?

In computer programming, a software framework is an abstraction in which software providing generic functionality can be selectively changed by additional user-written code, thus providing application-specific software.

A framework is a set of pre-written programming code that anyone can use to save their time and energy. Different programming languages have different frameworks. Often the framework is also referred to as coding libraries.

Libraries are a bunch of codes that can save your time by already implementing the functionality you want.

Types of Frameworks:

  • UI/CSS Framework: Bootstrap, Materialize, Bulma, etc.
  • Frontend JS Framework: React, Vue, Angular, etc.
  • Backend Framework: Laravel, Express, Django, etc.

UI Framework:

Pros:

  • Faster development and prototyping.
  • Responsive by default.
  • Browser compatibility.
  • Documentation and support.
  • JavaScript widgets/plugins.

cons:

  • Stops developers from learning CSS.
  • Less Customization.
  • Lots of overriding styles.
  • Many sites look the same.
  • Many depend on JQuery for certain things.

Frontend JS Framework:

Pros:

  • Much less work for large frontend application.
  • Organized, component-based design.
  • Robust data/state management.
  • Virtual DOM (Fast performance).
  • Reliable and tested.
  • Great for teams.

cons:

  • Adds complexity for simple projects.
  • Can be too opinionated / less freedom.
  • Stops beginners from learning actual JS coding.
  • Updates can introduce issues.

Backend Framework:

Pros:

  • Saves a ton of time and makes things much easier.
  • Very flexible and allow you to build anything.
  • Built-in Security.
  • MVC (Modal view controller).
  • Built-in routing.
  •  Community documentation and support.

cons:

  • Can stop beginners from learning the fundamentals of coding.
  • Less Freedom.
  • That’s all I got.

Conclusion:

So, in the end, it literally comes down to the individual developers and programmers choice. Definitely, Framework is an amazing tool, but you should also be able to work without them.

That is it from my side for this article. Stay tuned for more such contents.

Thank You.