I m a student of b.sc computer science. and I want to start js framework .suggest me which one is better
Node.js isn’t a framework, so I’m not sure what you’re asking here …
I recommend avoiding frameworks and learning the fundamentals, until you come to understand what are your needs.
As Rémon says, Node isn’t a framework, rather a JavaScript runtime.
Here’s a high-level overview that will hopefully help you understand what it is and where it fits into your development workflow.
As for your question:
^ This is good advice.
Not every project will benefit from using a framework. For example, a framework is overkill for a small static site, whereas if you have a data-driven app, which has to retain a fair bit of state, then a framework will make your life easier.
There are various frameworks out there. You should take some time to look at the most popular and understand what they give you.
- Angular
- React
- Vue
- Svelte
Personally, I like Vue, as you can just include it in your page and benefit from its functionality. There’s no need for total buy in at the beginning. However, if you will be applying for jobs in the future, then React is probably a good choice to explore, as it is extremely popular.
It’s not about which is the best. Both frameworks have different abilities and use cases, as well as the type of work they perform.
AngularJS is a frontend framework, used similarly in the context what your JavaScript and jQuery can do, but in a more elegant manner. AngularJS is now outdated and replaced by a more robust Angular 2+ versions.
NodeJS is a server side scripting framework, used for developing APIs, interacting with databases, and sending response to your frontend. Many frameworks are made on top of it like Koa, Express and Hapi.
This is just to depict that one is used at the frontend and the other at the backend, both being the most essential components of a client server architecture
Also, this just crossed my radar. Might be worth a read.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.