Reputation: 1
As someone just started in web development, I was constantly bothered with these terms and really hoping someone could explain some of my questions for me.
What is the major difference and similarities between frontend frameworks and backend frameworks?
Can I use both in one web project or does they conflict? (Never seen a project that use both front and backend framework).
If one project only need one framework, then why are some named frontend frameworks some named backend frameworks.
Currently I'm more familiar with Django, a backend framework and in Django, and In Django development, frontend becomes basic html and css, though I was expecting something fancier (something like react components)
Never used a frontend framework in project or work. So how does backend stuff work in a frontend framework project?
Any answers would be helpful 🙏🏻
Upvotes: 0
Views: 2702
Reputation: 37
Yes you can both frontend framework and backend framework at the same site. the benifit of using backend framework includes Security, uniqueness, scalability and the benifit for using frontend framework includequicker prototype, standardized, more efficient and reliable
Upvotes: 0
Reputation: 1
I completely agree with Pedro - you can use frontend and backend frameworks when building the same software / app / website. If you want to build a complex project, I think Vue.js will be a perfect choice. However, recently I have noticed an increased interest in developing digital products with React Native. To be completely honest, I don't have much experience with this framework, so I can't tell you whether it's a good choice. If you would like to check the best development frameworks, this piece of content will tell you everything you need to know: https://www.miquido.com/blog/the-best-frontend-development-frameworks/
Upvotes: 0
Reputation: 11
Yes, you can use both a frontend and a backend framework on the same project.
Some backend frameworks, such as Adonis.js, Django or Spring, offers you a template engine (I believe this is the one you are using with django https://docs.djangoproject.com/en/3.2/topics/templates/) which can be great for simple pages. But as you said, some times you need more complex features, in this case a frontend framework would come in hand (such as React.js or Vue.js).
In this last case, you could have two separate code bases that change information through an api. In my experience I always prefer to have a frontend separated from the backend, this way its easier to maintain the codes and you can use the same backend from multiple clients, lets say and website and a mobile app.
Upvotes: 1