What is the difference between a Library and a Framework

Sdílet
Vložit
  • čas přidán 19. 06. 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...
  • Věda a technologie

Komentáře • 313

  • @mnadjp
    @mnadjp Před 3 lety +69

    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 Před 2 lety

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

    • @atchayaa3897
      @atchayaa3897 Před rokem +1

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

    • @srinivasanh3931
      @srinivasanh3931 Před rokem

      Great explanation, thanks!!

    • @su1nta
      @su1nta Před rokem

      A Golden Tip

    • @sumayya3326
      @sumayya3326 Před rokem

      Beautiful explanation

  • @kyukyahua
    @kyukyahua Před 6 lety +137

    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 Před 3 lety +75

    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 Před rokem +18

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

    • @yyndsai
      @yyndsai Před rokem

      @@dsa43fsdf me too

    • @atchayaa3897
      @atchayaa3897 Před rokem

      But it provides structure
      Can anyone put some light on it

    • @fitnessbeastgk1491
      @fitnessbeastgk1491 Před rokem +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 Před 6 lety +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 Před 6 lety +5

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

  • @chikwandaacademy
    @chikwandaacademy Před 2 lety +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.

  • @codigosencillo8981
    @codigosencillo8981 Před 5 lety +7

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

  • @oluwaseyijoto8464
    @oluwaseyijoto8464 Před 2 lety +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

  • @ASIMKHAN-ig9eo
    @ASIMKHAN-ig9eo Před 6 lety +29

    You are doing really great work love from Pakistan

  • @oussamafortas
    @oussamafortas Před 6 lety +5

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

  • @yuvashaktitrust6490
    @yuvashaktitrust6490 Před 5 lety +3

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

  • @GobinathPalanisamy
    @GobinathPalanisamy Před 3 lety +3

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

  • @maulikdomadia5717
    @maulikdomadia5717 Před 6 lety +4

    Finest and easiest way to remember thanks hitesh

  • @ThePRDatta
    @ThePRDatta Před 4 lety +3

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

  • @mukulvashishth9974
    @mukulvashishth9974 Před 9 měsíci +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.

  • @najimali32
    @najimali32 Před 3 lety +1

    Thank you for explaining it with the simplest relatable example.

  • @arpitagrawal8530
    @arpitagrawal8530 Před rokem

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

  • @jackroul
    @jackroul Před 2 lety +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.

  • @Shubhamsharma-nk8nz
    @Shubhamsharma-nk8nz Před 6 lety

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

  • @bharadwajkamepalli3903
    @bharadwajkamepalli3903 Před rokem +1

    Lucid and comprehensive and lastly coherent explaination.

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

  • @Norfeldt
    @Norfeldt Před 3 lety +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 🤗

  • @paroshrahman7474
    @paroshrahman7474 Před 2 lety +1

    pretty straightforward and great explanation, thanks for the video.

  • @nelsonmunthe4571
    @nelsonmunthe4571 Před 3 lety

    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

  • @yogeshchugh6711
    @yogeshchugh6711 Před rokem

    Thanks Hitesh for understand the concepts of library and framework

  • @kishansinhparmar
    @kishansinhparmar Před 6 lety +2

    Thanks 4 giving your amazing examples.

  • @Knych-nr4ot
    @Knych-nr4ot Před 2 lety +1

    What a great explanation. Thank you very much!

  • @johng5295
    @johng5295 Před 4 lety

    Thanks in a million. You make it simple.

  • @aakashtrivedi9237
    @aakashtrivedi9237 Před 6 lety +1

    thank you sir ji for such a clear and specific explanation

  • @jesseschlicklin4923
    @jesseschlicklin4923 Před 6 lety +2

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

  • @AngelusChevalier
    @AngelusChevalier Před 4 lety +3

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

  • @imaginarytechinhindi5507
    @imaginarytechinhindi5507 Před 6 lety +3

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

  • @webcode6992
    @webcode6992 Před 3 lety

    Finally understand, please explain about server side rendering

  • @tamizhazhaganjayapal6525

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

  • @Duda-ke3uz
    @Duda-ke3uz Před 2 lety

    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!

  • @sathya2650
    @sathya2650 Před 5 lety

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

  • @shrutiambashtha6196
    @shrutiambashtha6196 Před 6 lety +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?

  • @gauravnagar3712
    @gauravnagar3712 Před 6 lety +3

    Yyeeaaahh thanks for this video sir. Love you

  • @davidjackson5903
    @davidjackson5903 Před 4 lety +1

    Amazing explanation ! Thank you sir :)!

  • @GoodBoy-bt7kp
    @GoodBoy-bt7kp Před 5 lety +47

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

  • @_rytube
    @_rytube Před 4 lety +1

    Awesome analogy, thanks a ton!

  • @dinesh0743
    @dinesh0743 Před 6 lety +1

    Thank you sir.., I was searching for it

  • @adarshpandey2978
    @adarshpandey2978 Před 5 lety +2

    You are a great teacher

  • @vijuvaghish2592
    @vijuvaghish2592 Před 4 lety

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

  • @abiguerrero7393
    @abiguerrero7393 Před 6 lety

    finally I could get a more clear concept of the differences

  • @jibrankhan499
    @jibrankhan499 Před 4 lety +243

    Library= Mother
    Framework= Father
    😂😂

  • @nomeshg
    @nomeshg Před 6 lety

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

  • @aadhavjaimurugesh2734
    @aadhavjaimurugesh2734 Před 11 měsíci

    Amazing explanation! Thanks a lot!

  • @ibadur-rehman
    @ibadur-rehman Před 3 lety

    I like the way of your explanation. Thanks

  • @tarun_gudipalli
    @tarun_gudipalli Před 3 lety +1

    That was really awesome. Thanks a lot, sir.

  • @vijayalakshmi-lj7tk
    @vijayalakshmi-lj7tk Před 3 lety

    You style of explanation is awesome

  • @bhargavacharan2262
    @bhargavacharan2262 Před 2 lety

    Superb Explanation!! Thanks for Making this video!

  • @pranavgandhi9224
    @pranavgandhi9224 Před 3 lety

    Love that explanation ... thankyou 👍

  • @madhuvamsimachavarapu5267

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

  • @user-jq3xf6em9t
    @user-jq3xf6em9t Před 4 měsíci

    you Are smart you explain it in esiest way so thanks

  • @Bajrang.707
    @Bajrang.707 Před 5 lety +1

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

  • @sajalagrawal1430
    @sajalagrawal1430 Před 4 lety +10

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

  • @kosmic000
    @kosmic000 Před 6 lety

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

  • @jankidhanani7253
    @jankidhanani7253 Před rokem

    Great help! Thank you so much!

  • @CryptoRootz
    @CryptoRootz Před 6 lety +2

    Thanks for breaking down the game playa !

  • @jeronimoolivavelez1299
    @jeronimoolivavelez1299 Před 4 lety +1

    Great Explanation! thanks!

  • @sardanaberlian
    @sardanaberlian Před 4 lety

    Great explanation, Thanks

  • @ruhankhandaker5198
    @ruhankhandaker5198 Před 6 lety

    wow great... fully understandable video

  • @jaouadbenabdelkarim1843

    Thank you so Much kknow things is clear

  • @learnwithalvin7327
    @learnwithalvin7327 Před 2 lety

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

  • @neerajkalra3066
    @neerajkalra3066 Před 4 lety

    Thanku so much sir. Your video helped me lot

  • @atmospheric_b
    @atmospheric_b Před 4 lety

    super clear! Thanks man!

  • @bharathkrish6743
    @bharathkrish6743 Před 6 lety +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 Před 5 lety

      Yes it's a (mobile) OS

  • @raj_patel_43
    @raj_patel_43 Před 5 lety +1

    Useful info, thanks ♥️♥️

  • @sharathchandra2002
    @sharathchandra2002 Před 6 lety

    Hi hitesh, I want to know about the use of Jenkins and ansible can you do a video about that it will be helpful please

  • @eguchiyuuki
    @eguchiyuuki Před rokem

    so great, thanks

  • @pallavimaurya4957
    @pallavimaurya4957 Před 6 lety

    It is really usefull...thank you so much

  • @abdulahadkhamsoh3229
    @abdulahadkhamsoh3229 Před 2 lety

    Thanks
    I will download that video!

  • @gauravnagar3712
    @gauravnagar3712 Před 6 lety

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

  • @changenew
    @changenew Před rokem

    Thank you very much brother 🙏 😇💓

  • @vikumravinayake1882
    @vikumravinayake1882 Před 4 lety

    Understandable explanation. Keep it up dude👏👍👌

  • @weilaiyvn_DEACTIVATED
    @weilaiyvn_DEACTIVATED Před 2 lety

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

  • @johng5295
    @johng5295 Před 4 lety

    Thanks in a million.

  • @anmoljain7711
    @anmoljain7711 Před 6 lety

    Crisp explanation!! ☺

  • @dakshyesweker4810
    @dakshyesweker4810 Před 4 lety

    Brilliantly explained.

  • @ramakrishnathotakura4063

    I like u r explanation....

  • @gauravthakur7071
    @gauravthakur7071 Před 5 lety

    bhai-bhai smjh gya hands up....

  • @MohamedAymn
    @MohamedAymn Před 2 lety

    Well explained, really thanks 👌

  • @andressuarez3079
    @andressuarez3079 Před 4 lety

    Great video. Thanks.

  • @yashrajanshukla7790
    @yashrajanshukla7790 Před 6 lety +1

    Love your videos.. I was waiting for your video and when i opened the youtube i got the notification of your video..

  • @balabhadrachand3834
    @balabhadrachand3834 Před 4 lety

    beautiful example❤

  • @caddr
    @caddr Před 5 lety

    nice explanation,i love it

  • @tomarshabh2199
    @tomarshabh2199 Před 3 lety

    Good Hitesh Very well explained

  • @rasikakshirsagar5563
    @rasikakshirsagar5563 Před 2 lety

    Thank you!

  • @roopeshnaikr.d.n-0765
    @roopeshnaikr.d.n-0765 Před 5 lety

    U r the hero of me.thts it.

  • @anuragsinha6135
    @anuragsinha6135 Před 3 lety

    Which one is to choose REACT or Angular for building large scale website?
    I have found MEAN is not great for making large scale website?
    What about MERN?

  • @prajwal852
    @prajwal852 Před rokem

    Really helped!!

  • @Sophie-li7vr
    @Sophie-li7vr Před 3 lety

    Clear explanation

  • @nagasai.g9
    @nagasai.g9 Před 5 lety +1

    finally... thank you

  • @LemonMerigueTie
    @LemonMerigueTie Před 5 lety

    great explanation.

  • @jiggy7928
    @jiggy7928 Před 5 lety

    Good explanation!

  • @TanujPandey18
    @TanujPandey18 Před 4 lety +1

    What about Standard vs. Framework? looking for an explanation ;)

  • @it46punitbarskar23
    @it46punitbarskar23 Před 3 lety

    Can u make the English communication skills video how to communicate and all👍🙏I like ur way to communicate

  • @akhileshwarreddy6790
    @akhileshwarreddy6790 Před 6 lety

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

  • @uimonk
    @uimonk Před 5 lety

    U r a legend!