Web Development with jQuery, 2nd Edition

Web Development with jQuery, 2nd EditionReviews
Author: Richard York
Pub Date: 2015
ISBN: 978-1-4920-0823-1
Pages: 672
Language: English
Format: PDF
Size: 26 Mb

Download

Newly revised and updated resource on jQuery’s many features and advantages
Web Development with jQuery offers a major update to the popular Beginning JavaScript and CSS Development with jQuery from 2009. More than half of the content is new or updated, and reflects recent innovations with regard to mobile applications, jQuery mobile, and the spectrum of associated plugins.
Readers can expect thorough revisions with expanded coverage of events, CSS, AJAX, animation, and drag and drop. New chapters bring developers up to date on popular features like jQuery UI, navigation, tables, interactive capabilities, and audio and video. The book focuses on the new features of jQuery that improve performance and speed, providing huge advantages over traditional JavaScript.
– Offers new and revised content throughout the book, which focuses on the most recent features and capabilities of jQuery
– Serves as an essential instructional tool for web developers with JavaScript and CSS knowledge who want to learn more
– Advises readers on how to best use jQuery’s powerful, easy-to-use features to create dynamic web pages and web applications
This resource provides a deep understanding of jQuery and sets readers up for successful interactions with all it has to offer.

+

Introduction to jQuery

JavaScript frameworks have arisen as necessary and useful companions for client-side web development. Just a few years ago, JavaScript frameworks were needed to pave over the many inconsistencies present with cross-platform web development. Before Microsoft got its act
together and gave us IE with vastly improved standards support, there was more often than not the IE way and the standard way. Frameworks like jQuery helped immensely to fill in the holes between standard and nonstandard. Today jQuery is a phenomenally popular, leading JavaScript framework and application development platform. It is leaner; it is faster loading; and it comes loaded with features that make the life of a JavaScript application developer much easier. No longer is JavaScript an afterthought, grafted onto stateless HTML. It is used more and more to be the foundation and the primary driving force of not only web development but also application development, from desktop to tablets and smartphones.

Thanks to renewed vigor in the browser and platform wars of the big tech giants, JavaScript has also become much leaner and faster. Today, the leading browser makers are delivering JavaScript capabilities that take the good ole reliable, interpreted language of JavaScript and instantly transform it into cached machine byte code that can be executed blazingly fast. Because of the collective advances and one-upmanship of Apple, Google, Mozilla, and Microsoft, today we have JavaScript that has never performed better.

When this book was first written in 2009, jQuery was emerging as the de facto standard JavaScript framework and application platform. Today jQuery sits atop the heap as a global leader facilitating cutting-edge web and application development from mom-and-pop shops to
Fortune 500 companies. It is baked into iOS and Android apps and mobile websites both with and without the popular jQuery Mobile framework add-on, and it runs the websites of some of the world’s biggest companies, such as Amazon, Apple, The New York Times, Google,
BBC, Twitter, and IBM.

For years JavaScript frameworks have paved over the craters and inconsistencies of crossbrowser web development to create a seamless, enjoyable client-side programming experience. Today, with Internet Explorer 11 and its underlying Trident engine, Microsoft finally has a
world-class standards-compliant web browser that’s caught up with competing offerings from Apple’s Safari and world-leading, underlying, open-source WebKit, Google’s Chrome browser and newly forked from WebKit Blink engine, and Mozilla’s Firefox powered by the Gecko engine. Web developers have never had better platforms on which to build modern, fully standards-compliant applications.

One of jQuery’s biggest innovations was its fantastic DOM querying tool using familiar CSS selector syntax. This component, now called Sizzle, is now a separate open-source component included within the larger open-source jQuery framework. It contains jQuery’s added on CSS pseudo-class selectors and the full DOM querying CSS selector engine that works in browsers as old as IE6 as well as new browsers. It uses the native JavaScript document, querySelectorAll()function call, which makes DOM queries using CSS selectors fast, when it is available. Sizzle is one of the biggest driving forces that makes jQuery web development super easy and has thus attracted a large number of developers to the jQuery world.

Another feature that makes jQuery web development very easy and attractive is its support for chained method calls. Where the API supports it, you can call one method after another by chaining method calls on the backs of one another. This is what a chained method call looks like using jQuery: