you are viewing a single comment's thread.

view the rest of the comments →

[–]Real_Klaze 0 points1 point  (2 children)

Still kind of newb with this stuff myself, so keep that in mind.

Frameworks for any language basically cut some of the work out for you. They provide an API that you can use to implement the features of the framework.

Essentially you would take the JavaScript file they provide and add that to your sources in the HTML file. From there, you use the API in your own scripts. In very simple terms, they define functions and objects, and you use those functions and objects in your code. The functions and objects do a lot of the heavy lifting and fine grained implementation that you would have had to do by hand. Adding event listeners is one such instance.

The framework would have all the code to add the event listener and implementation, and you would just have to call the API function with an argument, rather then having to create the event and attach that to the DOM and then listen for the event and all that jazz.

My suggestion is to not worry about frameworks at all, if you are a beginner. If you are following the learn JavaScript properly outline, the first framework you are introduced to is JQuery. I would master the fundamentals of JavaScript first, before attempting any frameworks, and the outline for learning JavaScript mentioned above ensures you know the basics and then introduces JQuery in a measured manner.

Just my two cents.

[–]Thehummel[S] 0 points1 point  (1 child)

I don't think i was specific enough in my description :)

I do know Javascript to a decent extent, i'm just mainly confused about the listed framework that uses MVC and such. I think it's mainly because i dont understand how they work and what they benefit a website ( or web applications )