concept developer in category jQuery

appears as: developers, developer, developers
jQuery in Action, Third Edition

This is an excerpt from Manning's book jQuery in Action, Third Edition.

“There are only two kinds of languages: the ones people complain about and the ones nobody uses.” How well this sentence from Bjarne Stroustrup, who designed and implemented C++, summarizes the sentiments about JavaScript. It, as well as several other languages (most notably PHP), was bemoaned as a “bad” language for several years. Then, something magical happened. Thanks to the rise of Ajax, the release of several libraries such as Prototype, Moo Tools, and jQuery, and the new, highly interactive web applications (which you might also have heard referred to as single-page applications), developers started understanding JavaScript’s potential. Today JavaScript is also one of the most ubiquitous languages thanks to Node.js, a platform that allows you to use it as a server-side language, and PhoneGap, a framework for creating hybrid mobile applications.

The development of a web project usually involves the use of third-party components to speed up the process. A project that employs one or two third-party components can be easily managed manually, as we used to do until a few years ago. As things get more complicated, developers needed a reliable way to install and manage those project dependencies.

jQuery UI in Action

This is an excerpt from Manning's book jQuery UI in Action.

What are those jquery-ui.structure.css and jquery-ui.theme.css files? jQuery UI breaks its CSS rules into two categories: structural (margin, width, height, and so forth) and theming (the ones you configured in ThemeRoller). These rules are placed into jquery-ui.structure.css and jquery-ui.theme.css, respectively. This gives you the ability to manage multiple themes without duplication, as jquery-ui.structure.css remains the same regardless of which theme you use. Unless you plan on managing multiple themes—and the majority of developers don’t—use jquery-ui.css, as it’s the structure and theme concatenated together.

The first consideration means that you should aim to require as little markup as possible. For instance, the spinner widget could require developers to create DOM elements for the up and down arrows. But this would make the spinner far harder for developers to use; the widget generates these elements for you.

Conversely, if developers could use the method’s functionality—make it available. The methods you’ll add in this section will all be publicly exposed. Let’s start with the add() method; an implementation is shown in the following code: