DEV Community

loading...

Discussion on: I cannot understand the concept of JavaScript frameworks.

Collapse
bjenk profile image
Ben

From a fundamental perspective, a framework allows you to rely on millions of hours of other people's expertise instead of re-inventing the wheel for yourself.

Hypothetically, you could build a raw JavaScript application which uses no frameworks, but it would be incredibly time-consuming to code things like state management, interface components, routing, etc. If you are approaching the language as a beginner, it would take you decades to learn all of language intricacies that a framework will do for you.

So for example, you want to create a simple inventory management application where users can browse and select items. React, Vue, and Angular (and others) have simplified the process of generating interface components and making them communicate across the application and with the backend.

I am assuming you are a beginner (which is awesome, you have a long and rewarding road ahead of you) - it is essential you learn the fundamentals of the JavaScript language. Those fundamentals will probably be enough to land you a first job, but if you want to build full application front-ends, you will need to explore a framework. The major ones all have pros and cons, along with their supporters and haters.

But ultimately they are all tools which help package up the power of a programming language and solve lots of the implementation projects for you. The open source community is awesome because very very smart people have solved some complicated problems, and simplified them for you and me.

Collapse
turnonsync profile image
Ahmad Shahzad Author

Thank you for your response. As you said, I will stick with learning JavaScript first before bothering myself with frameworks.

I might have to bother the community here some time in the future, and hopefully, I won't try to bite off more than I can chew as I try to learn.

If you don't mind, can you recommend me some resource like a book or a tutorial that you think might be beginner-friendly? For JavaScript. I am currently looking at FreeCodeCamp.

Thank you,
Ahmad S.

Collapse
bjenk profile image
Ben • Edited

You are on the right path. FreeCodeCamp is a great resource for beginners.

The best thing you can do is practice every single day. With time, confusing concepts will look less foreign and you will understand them with ease. The best way to learn a foreign language is to immerse yourself and try to communicate (both culturally, and in programming). Fortunately, the world of developers is very friendly and we want beginners to feel welcome and thrive, because we all know how overwhelming the start can be.

I'm not an educator, so I don't know what the best way to learn, other than persistence and drive - you will find the resources you need with enough searching. However, this roadmap gives you a decent picture of all of the paths you can take. Keep in mind that very few people are proficient in this whole chart, but it gives you a big picture of the industry:

freecodecamp.org/news/2019-web-dev...

best of luck Ahmad!

Thread Thread
turnonsync profile image
Ahmad Shahzad Author

Thank you for your response. I have bookmarked the roadmap as it has a lot of information that I won't be able to digest in one sitting or little time.

I will now return to my exercise on FreeCodeCamp. Good luck, me.

Thank you,
Ahmad S.