Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it right to use two or more different front-end frameworks in a single web app?

i'm starting to learn about web development, by now i'm learning some front-end skills, by now i'm trying to use frameworks like Bootstrap, Foundation, Semantic UI, etc... but i've got a question, is it possible to use two frameworks for a single app? if so, is it worth? if not, Why?

Another question about frameworks i have is: Is it good-practice to use a framework to build the front-end of a web app? if not, why? what's the best-practice method to build the front-end?

like image 793
Jonathan Solorzano Avatar asked Feb 07 '15 01:02

Jonathan Solorzano


People also ask

Can a website use multiple frameworks?

Can I use multiple frameworks on a single website page? You can, but you shouldn't.

Can I use multiple framework?

In conclusion: Yes, you will usually find it possible to combine two (or even more) front-end frameworks, but they will likely interfere with another and cause you headaches, and it may lead to an inconsistent design.

How many front-end frameworks are there in web development?

Answer: Currently, there are 3 significant frontend technology stacks – Vue. JS, React. JS, and Angular ecosystem which are extensively used for large scale projects. Which front end framework can be used for small web applications?


1 Answers

First of all, when you commit to a front-end library, you usually impose a look & feel on the application in addition to the framework's coding style. If you try to use two different frameworks (and it is at all possible), you will likely end up with an inconsistent design.

Second of all, it is certainly (often) possible to use more than one framework, as long as they do not interfere with one another. However, there is a finite number of (good) ways to define a front-end framework like Bootstrap or Foundation (using classes), so you will very likely run into some interference. A side note is that mixing frameworks may cause confusion for other developers on the project.

In conclusion: Yes, you will usually find it possible to combine two (or even more) front-end frameworks, but they will likely interfere with another and cause you headaches, and it may lead to an inconsistent design.

My advice as a web developer hobbyist would be to try to commit to only one framework, and add bits and pieces into your code from other frameworks if you need them – but don't try to commit fully to more than one framework.

like image 175
Martin Lehmann Avatar answered Oct 17 '22 02:10

Martin Lehmann