What is the difference between a Library and a Framework

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdotcom
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...
  • НаукаНаука

Комментарии • 314

  • @mnadjp
    @mnadjp 3 года назад +70

    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

  • @kyukyahua
    @kyukyahua 6 лет назад +138

    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.

  • @ianpaul0520
    @ianpaul0520 3 года назад +78

    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 Год назад +19

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

    • @yyndsai
      @yyndsai Год назад

      @@dsa43fsdf me too

    • @atchayaa3897
      @atchayaa3897 Год назад

      But it provides structure
      Can anyone put some light on it

    • @fitnessbeastgk1491
      @fitnessbeastgk1491 Год назад +1

      @@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.

  • @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 💚

  • @ShubhamSingh-re1tr
    @ShubhamSingh-re1tr 6 лет назад +5

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

  • @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.

  • @ASIMKHAN-ig9eo
    @ASIMKHAN-ig9eo 6 лет назад +29

    You are doing really great work love from Pakistan

  • @codigosencillo8981
    @codigosencillo8981 5 лет назад +7

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

  • @ThePRDatta
    @ThePRDatta 4 года назад +3

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

  • @yuvashaktitrust6490
    @yuvashaktitrust6490 5 лет назад +3

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

  • @maulikdomadia5717
    @maulikdomadia5717 6 лет назад +4

    Finest and easiest way to remember thanks hitesh

  • @bharadwajkamepalli3903
    @bharadwajkamepalli3903 Год назад +1

    Lucid and comprehensive and lastly coherent explaination.

  • @oussamafortas
    @oussamafortas 6 лет назад +5

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

  • @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

  • @najimali32
    @najimali32 3 года назад +1

    Thank you for explaining it with the simplest relatable example.

  • @kishansinhparmar
    @kishansinhparmar 6 лет назад +2

    Thanks 4 giving your amazing examples.

  • @johng5295
    @johng5295 4 года назад

    Thanks in a million. You make it simple.

  • @paroshrahman7474
    @paroshrahman7474 2 года назад +1

    pretty straightforward and great explanation, thanks for the video.

  • @Knych-nr4ot
    @Knych-nr4ot 2 года назад +1

    What a great explanation. Thank you very much!

  • @imaginarytechinhindi5507
    @imaginarytechinhindi5507 6 лет назад +3

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

  • @yogeshchugh6711
    @yogeshchugh6711 Год назад

    Thanks Hitesh for understand the concepts of library and framework

  • @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......

  • @davidjackson5903
    @davidjackson5903 4 года назад +1

    Amazing explanation ! Thank you sir :)!

  • @gauravnagar3712
    @gauravnagar3712 6 лет назад +3

    Yyeeaaahh thanks for this video sir. Love you

  • @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.

  • @aakashtrivedi9237
    @aakashtrivedi9237 6 лет назад +1

    thank you sir ji for such a clear and specific explanation

  • @Norfeldt
    @Norfeldt 3 года назад +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 🤗

  • @adarshpandey2978
    @adarshpandey2978 5 лет назад +2

    You are a great teacher

  • @_rytube
    @_rytube 4 года назад +1

    Awesome analogy, thanks a ton!

  • @arpitagrawal8530
    @arpitagrawal8530 Год назад

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

  • @dinesh0743
    @dinesh0743 6 лет назад +1

    Thank you sir.., I was searching for it

  • @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

  • @webcode6992
    @webcode6992 3 года назад

    Finally understand, please explain about server side rendering

  • @vijayalakshmi-lj7tk
    @vijayalakshmi-lj7tk 3 года назад

    You style of explanation is awesome

  • @jesseschlicklin4923
    @jesseschlicklin4923 6 лет назад +2

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

  • @tarun_gudipalli
    @tarun_gudipalli 3 года назад +1

    That was really awesome. Thanks a lot, sir.

  • @jeronimoolivavelez1299
    @jeronimoolivavelez1299 5 лет назад +1

    Great Explanation! thanks!

  • @pranavgandhi9224
    @pranavgandhi9224 3 года назад

    Love that explanation ... thankyou 👍

  • @bhargavacharan2262
    @bhargavacharan2262 2 года назад

    Superb Explanation!! Thanks for Making this video!

  • @jankidhanani7253
    @jankidhanani7253 Год назад

    Great help! Thank you so much!

  • @gauravthakur7071
    @gauravthakur7071 5 лет назад

    bhai-bhai smjh gya hands up....

  • @aadhavjaimurugesh2734
    @aadhavjaimurugesh2734 Год назад

    Amazing explanation! Thanks a lot!

  • @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.

  • @ruhankhandaker5198
    @ruhankhandaker5198 6 лет назад

    wow great... fully understandable video

  • @ibadur-rehman
    @ibadur-rehman 3 года назад

    I like the way of your explanation. Thanks

  • @mukulvashishth9974
    @mukulvashishth9974 9 месяцев назад +4

    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.

  • @raj_patel_43
    @raj_patel_43 5 лет назад +1

    Useful info, thanks ♥️♥️

  • @atmospheric_b
    @atmospheric_b 4 года назад

    super clear! Thanks man!

  • @sardanaberlian
    @sardanaberlian 4 года назад

    Great explanation, Thanks

  • @Bajrang.707
    @Bajrang.707 5 лет назад +1

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

  • @mysticatheinformationsansa3283
    @mysticatheinformationsansa3283 Год назад +4

    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.

  • @tamizhazhaganjayapal6525
    @tamizhazhaganjayapal6525 4 года назад

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

  • @abiguerrero7393
    @abiguerrero7393 6 лет назад

    finally I could get a more clear concept of the differences

  • @anmoljain7711
    @anmoljain7711 6 лет назад

    Crisp explanation!! ☺

  • @dakshyesweker4810
    @dakshyesweker4810 4 года назад

    Brilliantly explained.

  • @nomeshg
    @nomeshg 6 лет назад

    That was an awesome example Hitesh. like the analogy used to explain this. :-)

  • @vijuvaghish2592
    @vijuvaghish2592 4 года назад

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

  • @AngelusChevalier
    @AngelusChevalier 5 лет назад +3

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

  • @tomarshabh2199
    @tomarshabh2199 3 года назад

    Good Hitesh Very well explained

  • @Duda-ke3uz
    @Duda-ke3uz 2 года назад

    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!

  • @GoodBoy-bt7kp
    @GoodBoy-bt7kp 5 лет назад +47

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

  • @andressuarez3079
    @andressuarez3079 4 года назад

    Great video. Thanks.

  • @CryptoRootz
    @CryptoRootz 6 лет назад +2

    Thanks for breaking down the game playa !

  • @jibrankhan499
    @jibrankhan499 4 года назад +243

    Library= Mother
    Framework= Father
    😂😂

    • @AniketMishra
      @AniketMishra 4 года назад +5

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

    • @rajeswarynarasimman3728
      @rajeswarynarasimman3728 3 года назад +6

      For me, my mother was the framework

    • @samchan5251
      @samchan5251 3 года назад +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?

  • @eguchiyuuki
    @eguchiyuuki Год назад

    so great, thanks

  • @vikumravinayake1882
    @vikumravinayake1882 4 года назад

    Understandable explanation. Keep it up dude👏👍👌

  • @pallavimaurya4957
    @pallavimaurya4957 6 лет назад

    It is really usefull...thank you so much

  • @user-jq3xf6em9t
    @user-jq3xf6em9t 5 месяцев назад

    you Are smart you explain it in esiest way so thanks

  • @abdulahadkhamsoh3229
    @abdulahadkhamsoh3229 2 года назад

    Thanks
    I will download that video!

  • @neerajkalra3066
    @neerajkalra3066 4 года назад

    Thanku so much sir. Your video helped me lot

  • @ramakrishnathotakura4063
    @ramakrishnathotakura4063 4 года назад

    I like u r explanation....

  • @caddr
    @caddr 5 лет назад

    nice explanation,i love it

  • @Sophie-li7vr
    @Sophie-li7vr 3 года назад

    Clear explanation

  • @jaouadbenabdelkarim1843
    @jaouadbenabdelkarim1843 3 года назад

    Thank you so Much kknow things is clear

  • @jiggy7928
    @jiggy7928 6 лет назад

    Good explanation!

  • @balabhadrachand3834
    @balabhadrachand3834 4 года назад

    beautiful example❤

  • @prajwal852
    @prajwal852 Год назад

    Really helped!!

  • @madhuvamsimachavarapu5267
    @madhuvamsimachavarapu5267 6 лет назад +2

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

  • @sajalagrawal1430
    @sajalagrawal1430 4 года назад +10

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

  • @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?

  • @kumanish75
    @kumanish75 3 года назад

    Awesome explaination

  • @johng5295
    @johng5295 4 года назад

    Thanks in a million.

  • @LemonMerigueTie
    @LemonMerigueTie 5 лет назад

    great explanation.

  • @learnwithalvin7327
    @learnwithalvin7327 3 года назад

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

  • @roopeshnaikr.d.n-0765
    @roopeshnaikr.d.n-0765 5 лет назад

    U r the hero of me.thts it.

  • @nagasai.g9
    @nagasai.g9 5 лет назад +1

    finally... thank you

  • @uimonk
    @uimonk 5 лет назад

    U r a legend!

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip Год назад

    Thank you bhaiya!!!

  • @MohamedAymn
    @MohamedAymn 2 года назад

    Well explained, really thanks 👌

  • @changenew
    @changenew Год назад

    Thank you very much brother 🙏 😇💓

  • @rasikakshirsagar5563
    @rasikakshirsagar5563 2 года назад

    Thank you!

  • @codluca
    @codluca 3 месяца назад +1

    Good explanation

  • @lokeshagarwal873
    @lokeshagarwal873 3 года назад

    Nice explanation 🔥

  • @acetcitma7852
    @acetcitma7852 3 года назад

    Oh, really nice yaar.. thx

  • @sathya2650
    @sathya2650 5 лет назад

    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..

  • @prasoonpandey1184
    @prasoonpandey1184 6 лет назад

    Where was the previous Saturday live?

  • @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

  • @khagesh6962
    @khagesh6962 7 месяцев назад

    when i saw your video then i subscribed your channel.

  • @rayzguitar
    @rayzguitar 4 месяца назад

    Thnxx man🎉

  • @brancode404
    @brancode404 5 лет назад

    Nice explanation :)