jQuery Essentials

· Packt Publishing Ltd
Ebook
180
Pages

About this ebook

Optimize and implement the features of JQuery to build and maintain your websites with minimum hassleAbout This Book
  • Build dynamic websites efficiently without any performance issues
  • Learn to use existing jQuery plugins and or write your own for your websites
  • This is the most up-to-date book on the market at the moment, packed with detailed explanations and real-world examples
Who This Book Is For

Whether you are a beginner or an experienced developer who is looking for quick answers, you will find what you need in this book.

What You Will Learn
  • Quickly find and modify HTML DOM elements
  • Use animation to add flair to your site
  • Create your own events to decouple your application
  • Measure the performance of your website's JavaScript
  • Write unit tests to ensure that your application is behaving correctly
  • Use plugins to to save reinventing the wheel and enhance your site quickly
  • Use client-side validation on forms to prevent your users from sending bad data to your application
  • Write your own jQuery plugins in order to encapsulate your company's business logic
In Detail

JQuery is still the most popular JavaScript library. It is used in over 60% of the top websites on the Internet. It was written to make DOM manipulation (so, moving things around a web page) easier for developers. It acts through JavaScript to ascribe HTML elements to the DOM attributes. Because it is a library of predefined functions, all you need to start using jQuery is a working knowledge of the syntax and a reference for the functions available to you.

This practical guide shows you how to make the most of jQuery to boost the performance of your websites and applications. We start off with a quick glance through the basics of JQuery, followed by the explanation of JQuery selectors, filters, and DOM element manipulation. After this, you will learn how events and animations can be used to create and design beautiful and user-friendly sites. Next, you will be familiarized with Ajax functions to help you send and receive data from your server. Finally, we'll walk you through using built-in plugins and eventually create your own plugins for your websites.

By the end of this book, you will be able to to build robust and efficient websites successfully using JQuery.

Style and approach

This book takes a fast but thorough walk through jQuery. The goal is to get you writing fast and efficient jQuery quickly. It uses easy-to-read, jargon-free text and lots of ready-to-use code examples.

About the author

Troy Miles, a.k.a. the Rockncoder, began writing games in assembly language for early computers, such as the Apple II, Vic20, C64, and the IBM PC, over 35 years ago. Currently, he spends his days writing web apps for a Southern California-based automotive valuation and information company. During the nights and weekends, he can usually be found writing cool apps for mobile and Web or teaching other developers how to do that. He likes to post interesting code nuggets on his blog at http://therockncoder.com and videos on his YouTube channel at https://www.youtube.com/user/rockncoder. He can be reached at rockncoder@gmail.com.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.