concept section in category jQuery

This is an excerpt from Manning's book jQuery in Action, Third Edition.
Because you’re placing the script at the bottom of the page, you don’t need to use a handler attached to the onload event of the window object, like developers (erroneously) use to do in the past, or wait for the DOMContentLoaded event, which is only available in modern browsers. The DOMContentLoaded event is fired when the HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and so on to finish loading. The load event is fired when an HTML page and its dependent resources have finished loading (we’ll return to this topic in section 1.5.3). By placing the script at the bottom of the page, when the browser parses the statement, the button element exists because its markup has been parsed, so you can safely augment it.
Splitting a project into modules is a good way to keep it organized but it introduces a problem. A given module may depend on others in order to work, so you need to be careful about the order in which you include them in your web pages. If you deal with a couple of modules, this issue is easy to manage, but when developing large projects, it isn’t so simple. In situations where many modules, plugins, libraries, or frameworks come into play, each of them with its own dependencies, you need a professional and reliable method to include them in the right order. One of the possible approaches is to adopt RequireJS, a library that we’ll cover in section 15.3.
In the previous paragraph we mentioned plugins, libraries, and frameworks. When developing a web project, it takes time to write everything from scratch, so you usually rely on third-party software. Examples of such software are jQuery and Modernizr. To include these components in your project, you visit the respective websites, download the files needed, and put them into a folder. Although this process works, it’s slow and boring. In addition, it leaves you with the burden of manually checking for new versions. To automate this activity you can employ Bower, which we’ll introduce in section 15.4.