Bear Bibeault wrote:I do see NodeJS starting to show up a lot, but I'll admit to ignoring that for now due to my client-side focus.
A library is essentially a set of functions that you can call, these days usually organized into classes. Each call does some work and returns control to the client.
A framework embodies some abstract design, with more behavior built in. In order to use it you need to insert your behavior into various places in the framework either by subclassing or by plugging in your own classes. The framework's code then calls your code at these points.
Typically it is much easier to write small libraries than it is to write small (successful) frameworks - frameworks have the tendency to meander into the-whole-kit-and-caboodle/swiss-army-knife territory.
Kyle Simpson @getify @YDKJS
Author, "You Don't Know JS" book series (http://YouDontKnowJS.com)
Kyle Simpson @getify @YDKJS
Author, "You Don't Know JS" book series (http://YouDontKnowJS.com)
Everything other than JS the language itself is probably in some sense or another, a passing fad. Some last longer than others (jQuery) and others are here and gone before you know it. I recommend investing first, heavily, in your deeper understanding of the core language. That is learning that pays off year after year and won't any time soon be "passing".
When picking a library, look for all the usual signs, like good community support, proper documentation, etc. But also, look for a library that constrains itself to a limited scope of behavior. Tools that claim to be "everything you need" usually aren't. Look for libraries that do one set of things really well
You have to be odd to be #1 - Seuss. An odd little ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|