What is the difference between a Library and a Framework

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 314

  • @mnadjp
    @mnadjp 3 роки тому +88

    A code library is like a real-life book library. You can pick the book when you want it as per your needs i.e. call the library functions when you want.
    A framework can be thought of as a photo frame where you have to consider the height and width of the frame for filling the photo i.e. you have to follow rules/standards/conventions of the framework to use it.
    Tip:
    When English is not your first language you may feel it is difficult to grasp the terms and you will try to find an analogy.
    Most of the time it is better to look for the meaning of technical terms in the English language first. Sometimes that alone helps you.

    • @zamirshams3430
      @zamirshams3430 2 роки тому

      perfectly brought out, however there are many non native English speakers as programmers

    • @atchayaa3897
      @atchayaa3897 Рік тому +1

      Your comment was very useful to me I have read many sites but I got clarity in this comment

    • @srinivasanh3931
      @srinivasanh3931 Рік тому

      Great explanation, thanks!!

    • @su1nta
      @su1nta Рік тому

      A Golden Tip

    • @sumayya3326
      @sumayya3326 Рік тому

      Beautiful explanation

  • @ianpaul0520
    @ianpaul0520 3 роки тому +84

    library = a collection of functions to be used in your project. While
    framework = a collection of functions BUT it provides structure to your project.

    • @dsa43fsdf
      @dsa43fsdf 2 роки тому +21

      thank you for this explanation, this video was way over-complicated lol, and in the end the video taught me nothing

    • @yyndsai
      @yyndsai 2 роки тому

      @@dsa43fsdf me too

    • @atchayaa3897
      @atchayaa3897 Рік тому

      But it provides structure
      Can anyone put some light on it

    • @fitnessbeastgk1491
      @fitnessbeastgk1491 Рік тому +2

      @@atchayaa3897 Since the Framework decides how the code should be called, it would define the structure of your project(Like where the js has to be kept, what should be the folder names etc) while if you are using library, you can structure your project any way you want and just use the library to get your stuff done.

  • @kyukyahua
    @kyukyahua 6 років тому +144

    So, it can be said that Library is used, for any programming languages, to enhance it's accessibilty and Framework is used to gain control over a certain action using a defined set of parameters and adhereing to the rules of the framework.

  • @mukulvashishth9974
    @mukulvashishth9974 Рік тому +8

    In summary, a library gives you individual tools you can use as you like, while a framework provides a structured environment where you follow predefined rules and use existing components to build your application.

    • @guru_bro
      @guru_bro Місяць тому +2

      Loved the explanation

  • @ASIMKHAN-ig9eo
    @ASIMKHAN-ig9eo 6 років тому +30

    You are doing really great work love from Pakistan

  • @mysticatheinformationsansa3283

    As far as I'm aware, a library is a tool that enables us to create something, such as a house, and a framework is an architectural plan or map that ties us to a clear set of guidelines for creating that building.

  • @letscode5367
    @letscode5367 6 років тому +6

    I m searching this topic on google but no one clr the doubt the way u clear it . Thanx for the video 💚

  • @bharadwajkamepalli3903
    @bharadwajkamepalli3903 2 роки тому +1

    Lucid and comprehensive and lastly coherent explaination.

  • @Norfeldt
    @Norfeldt 4 роки тому +21

    ReactJS is a library (in the beginning it was called a framework by many). You can use it to make your html components but you are not locked in - so reactJS is like home 🤗

  • @chikwandaacademy
    @chikwandaacademy 2 роки тому +1

    Wow! I initially wanted to watch a 12 minute video to get the difference. Thank goodness I watched this video. Clear and easy to remember explanations. Thank you sir. The Lord bless you.

  • @ShubhamSingh-re1tr
    @ShubhamSingh-re1tr 6 років тому +5

    i was searching for framework since very long....now i got my point cleared..thanks sir

  • @jackroul
    @jackroul 2 роки тому +2

    I think you are from India.
    I appreciate your work just because your videos are in English.
    Many talented personal are here, but mostly they do videos in local languages like Hindi Tamil Telugu... My wishes to your team.

  • @codigosencillo8981
    @codigosencillo8981 5 років тому +7

    You always trying to explain as good as you can. Good work.

  • @yuvashaktitrust6490
    @yuvashaktitrust6490 5 років тому +3

    Hello sir... u r my best computer teacher n motivater...

  • @arpitagrawal8530
    @arpitagrawal8530 Рік тому

    All interviews demand confident ppl. So must UA-cam teachers. Mr. Hitesh seems to be a hope in this direction.

  • @Knych-nr4ot
    @Knych-nr4ot 2 роки тому +1

    What a great explanation. Thank you very much!

  • @nelsonmunthe4571
    @nelsonmunthe4571 3 роки тому

    I knew diffrent library and from but its hard to explain. After watch your video, now i know how to explain its diffrent. Thanks bro, from indonesia

  • @oluwaseyijoto8464
    @oluwaseyijoto8464 2 роки тому +4

    Thank you so much Hitesh. Your lectures has been awesome. I am enjoying JavaScript lectures really well. You made JS so simple to learn compare to my fears

  • @GoodBoy-bt7kp
    @GoodBoy-bt7kp 6 років тому +47

    In front of big brother = Framework
    In the absence of big brother= Library

  • @maulikdomadia5717
    @maulikdomadia5717 6 років тому +4

    Finest and easiest way to remember thanks hitesh

  • @GobinathPalanisamy
    @GobinathPalanisamy 3 роки тому +3

    I'm a big fan of your teachings, can you please give detailed insights about creating our own libraries from scratch.

  • @paroshrahman7474
    @paroshrahman7474 2 роки тому +1

    pretty straightforward and great explanation, thanks for the video.

  • @yogeshchugh6711
    @yogeshchugh6711 2 роки тому

    Thanks Hitesh for understand the concepts of library and framework

  • @jibrankhan499
    @jibrankhan499 5 років тому +244

    Library= Mother
    Framework= Father
    😂😂

    • @AniketMishra
      @AniketMishra 4 роки тому +5

      Thnkuu 😊😊 Now i got it correctly in 1s with Your example

    • @rajeswarynarasimman3728
      @rajeswarynarasimman3728 4 роки тому +6

      For me, my mother was the framework

    • @samchan5251
      @samchan5251 4 роки тому +2

      Almost all frameworks will use more than one library xD.

    • @jibrankhan499
      @jibrankhan499 3 роки тому

      @@karsonjonah8679 that awkward moment when you got the skill, but not a gf. '_'

    • @richarddiasribeiro429
      @richarddiasribeiro429 3 роки тому

      what?

  • @ThePRDatta
    @ThePRDatta 4 роки тому +3

    You're a legend my friend. Thank you. Great explanation

  • @webcode6992
    @webcode6992 3 роки тому

    Finally understand, please explain about server side rendering

  • @oussamafortas
    @oussamafortas 6 років тому +5

    This was very informative and interesting. Thank you for making this clear to understand.

  • @tamizhazhaganjayapal6525
    @tamizhazhaganjayapal6525 4 роки тому

    From India; In your videos the english and concepts are very eacy to catch up.

  • @KevenKev-t7m
    @KevenKev-t7m 8 місяців тому

    you Are smart you explain it in esiest way so thanks

  • @vijayalakshmi-lj7tk
    @vijayalakshmi-lj7tk 3 роки тому

    You style of explanation is awesome

  • @najimali32
    @najimali32 4 роки тому +1

    Thank you for explaining it with the simplest relatable example.

  • @weilaiyvn_DEACTIVATED
    @weilaiyvn_DEACTIVATED 2 роки тому

    So library is a glossary (like cell keyboard corrector) and a framework is a modified version of the program to extract the most out of certain specific actions? Therefore, this "modified version" prevents uses that go outside its central focus (focusing on one use has the disadvantage of limiting its performances).

  • @imaginarytechinhindi5507
    @imaginarytechinhindi5507 6 років тому +3

    Nice explained sir .... I have this doubt from so many years ...

  • @kishansinhparmar
    @kishansinhparmar 6 років тому +2

    Thanks 4 giving your amazing examples.

  • @eguchiyuuki
    @eguchiyuuki Рік тому

    so great, thanks

  • @learnwithalvin7327
    @learnwithalvin7327 3 роки тому

    thank you choosing to speak English .. you've made things a lot clearer.

  • @codluca
    @codluca 6 місяців тому +1

    Good explanation

  • @Duda-ke3uz
    @Duda-ke3uz 3 роки тому

    Wow, i have read some article, watch some video still dont get it. But this one is very good n detail. Good work sir, thanks!

  • @bhargavacharan2262
    @bhargavacharan2262 3 роки тому

    Superb Explanation!! Thanks for Making this video!

  • @acetcitma7852
    @acetcitma7852 3 роки тому

    Oh, really nice yaar.. thx

  • @tomarshabh2199
    @tomarshabh2199 3 роки тому

    Good Hitesh Very well explained

  • @aakashtrivedi9237
    @aakashtrivedi9237 6 років тому +1

    thank you sir ji for such a clear and specific explanation

  • @aadhavjaimurugesh2734
    @aadhavjaimurugesh2734 Рік тому

    Amazing explanation! Thanks a lot!

  • @ibadur-rehman
    @ibadur-rehman 3 роки тому

    I like the way of your explanation. Thanks

  • @sajalagrawal1430
    @sajalagrawal1430 5 років тому +10

    inshort
    ans is on famous stackoverflow link
    like when you get it

  • @tarun_gudipalli
    @tarun_gudipalli 4 роки тому +1

    That was really awesome. Thanks a lot, sir.

  • @Shubhamsharma-nk8nz
    @Shubhamsharma-nk8nz 6 років тому

    Thnx sir I was actually confused regarding these subjects so now I am clear with what actually diffence between library and framework......

  • @Sophie-li7vr
    @Sophie-li7vr 4 роки тому

    Clear explanation

  • @AngelusChevalier
    @AngelusChevalier 5 років тому +3

    Very clear and comprehensive explanation. Awesome job Hitesh thank you!!! Do you have any courses on udemy?

  • @changenew
    @changenew 2 роки тому

    Thank you very much brother 🙏 😇💓

  • @_rytube
    @_rytube 4 роки тому +1

    Awesome analogy, thanks a ton!

  • @antran540
    @antran540 Рік тому

    Comment by Christian Fall below is short and direct and easy to understand to me

  • @jesseschlicklin4923
    @jesseschlicklin4923 6 років тому +2

    Excellent explanation! I have been looking for a good channel to go along with David Banas' channel. I subscribed!

  • @abiguerrero7393
    @abiguerrero7393 6 років тому

    finally I could get a more clear concept of the differences

  • @jeronimoolivavelez1299
    @jeronimoolivavelez1299 5 років тому +1

    Great Explanation! thanks!

  • @vijuvaghish2592
    @vijuvaghish2592 4 роки тому

    you are one the best Mentor in the world, please make videos on React

  • @ArunKumar-xw6iw
    @ArunKumar-xw6iw 5 років тому +1

    I am not even a developer.. but I understood it very easily. Thank you.

  • @abdulahadkhamsoh3229
    @abdulahadkhamsoh3229 2 роки тому

    Thanks
    I will download that video!

  • @adarshpandey2978
    @adarshpandey2978 5 років тому +2

    You are a great teacher

  • @surajnegi6326
    @surajnegi6326 6 років тому +87

    Library = Home
    Framework = School

  • @dakshyesweker4810
    @dakshyesweker4810 4 роки тому

    Brilliantly explained.

  • @gauravnagar3712
    @gauravnagar3712 6 років тому +3

    Yyeeaaahh thanks for this video sir. Love you

  • @jankidhanani7253
    @jankidhanani7253 2 роки тому

    Great help! Thank you so much!

  • @pranavgandhi9224
    @pranavgandhi9224 4 роки тому

    Love that explanation ... thankyou 👍

  • @khagesh6962
    @khagesh6962 10 місяців тому

    when i saw your video then i subscribed your channel.

  • @dinesh0743
    @dinesh0743 6 років тому +1

    Thank you sir.., I was searching for it

  • @sindhurram1036
    @sindhurram1036 2 роки тому

    For understanding..Framework is like established bussiness just using this we need to develop further

  • @CryptoRootz
    @CryptoRootz 6 років тому +2

    Thanks for breaking down the game playa !

  • @kosmic000
    @kosmic000 6 років тому

    amazing and very informative as always hitesh , u r a great instructor
    some give an example about framework that its like working in hollywood "don't call us, we'll call you."

  • @akhileshwarreddy6790
    @akhileshwarreddy6790 6 років тому

    from past two hours i'm watching your flexbox series...
    it is Cool..........

  • @bharathkrish6743
    @bharathkrish6743 6 років тому +4

    Nice video bro, can u put a video for Platform vs OS..somebody says Android is an OS and some says its a platform not an OS..please show some light on this topic..

    • @YoungDen
      @YoungDen 5 років тому

      Yes it's a (mobile) OS

  • @vladj2428
    @vladj2428 3 роки тому +4

    “ when you’re home you can throw your T-shirt’s where ever you like. “
    Moms: Am I a joke to you?

  • @gauravthakur7071
    @gauravthakur7071 5 років тому

    bhai-bhai smjh gya hands up....

  • @davidjackson5903
    @davidjackson5903 4 роки тому +1

    Amazing explanation ! Thank you sir :)!

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 2 роки тому

    Thank you bhaiya!!!

  • @ramakrishnathotakura4063
    @ramakrishnathotakura4063 4 роки тому

    I like u r explanation....

  • @sardanaberlian
    @sardanaberlian 4 роки тому

    Great explanation, Thanks

  • @prajwal852
    @prajwal852 Рік тому

    Really helped!!

  • @raj_patel_43
    @raj_patel_43 5 років тому +1

    Useful info, thanks ♥️♥️

  • @neerajkalra3066
    @neerajkalra3066 4 роки тому

    Thanku so much sir. Your video helped me lot

  • @kumanish75
    @kumanish75 4 роки тому

    Awesome explaination

  • @rasikakshirsagar5563
    @rasikakshirsagar5563 2 роки тому

    Thank you!

  • @jaouadbenabdelkarim1843
    @jaouadbenabdelkarim1843 3 роки тому

    Thank you so Much kknow things is clear

  • @shrutiambashtha6196
    @shrutiambashtha6196 6 років тому +2

    sir,I have one question! can you tell me about qml/qt?Does it has demand in India? whether I should do it or not?

  • @MohamedAymn
    @MohamedAymn 2 роки тому

    Well explained, really thanks 👌

  • @Yamu_777
    @Yamu_777 Рік тому

    A library is a used to as your need . if your code calls the library eg : jquery
    A Framework is that restricted environment it have frameworks to calls the code for eg:django,react.js

  • @tronganhnguyenthanh1157
    @tronganhnguyenthanh1157 9 місяців тому

    You said that library is just like our home and we can do whatever we want. A framework is just like our school and company. Do you mean that we can control the flow that we want in a library, while a framework we have to learn about the rules. Am I right ?

  • @rayzguitar
    @rayzguitar 7 місяців тому

    Thnxx man🎉

  • @learnprogrammingwithproject
    @learnprogrammingwithproject 4 роки тому

    What should be learn first library or framework ??

  • @atmospheric_b
    @atmospheric_b 5 років тому

    super clear! Thanks man!

  • @sathya2650
    @sathya2650 6 років тому

    Thank you for give an easy way to keep it in on mind..Could you please say about execute query and execute non query in c# language..

  • @gauravnagar3712
    @gauravnagar3712 6 років тому

    Sir can you make a video on which you tell your views on mean stack . tell us something special about it ?

  • @roopeshnaikr.d.n-0765
    @roopeshnaikr.d.n-0765 5 років тому

    U r the hero of me.thts it.

  • @gracemann365
    @gracemann365 Рік тому

    Sending virtual hugs bro u saved my dumb ass🥺🥲

  • @pallavimaurya4957
    @pallavimaurya4957 6 років тому

    It is really usefull...thank you so much

  • @Bajrang.707
    @Bajrang.707 5 років тому +1

    So informative video sir...
    Thanks for this :)

  • @madhuvamsimachavarapu5267
    @madhuvamsimachavarapu5267 6 років тому +2

    Great video! One request: keep the intro song name in the description too!

  • @contentprogramming
    @contentprogramming 4 роки тому +1

    nice work

  • @anmoljain7711
    @anmoljain7711 6 років тому

    Crisp explanation!! ☺

  • @andressuarez3079
    @andressuarez3079 5 років тому

    Great video. Thanks.