Mastering jQuery

Rogerson, Andrew, ed. (2012) Mastering jQuery. Smashing Magazine, Freiburg, Germany. ISBN 9783943075168

[thumbnail of Publisher supplied copy for use by UCLan students only] PDF (Publisher supplied copy for use by UCLan students only) - Published Version
Restricted to Registered users only
Available under License Creative Commons Attribution Non-commercial No Derivatives.

1MB

Abstract

The explosion of JavaScript libraries and frameworks within the front-end development scene has opened up the power of jQuery to a far wider audience than ever before. What began from a necessity of front-end developers to upgrade JavaScript basic API took a new direction of unified implementation between browsers and to make it more compact in its syntax. Thanks to this development, it is possible to actually apply optimized scripts now. A script to find all links of a certain CSS class in a document and bind an event to them requires one single line of code instead of ten. Also, jQuery brings to the party its own API, featuring a host of functions, methods and syntactical peculiarities.

In this Smashing eBook Mastering jQuery, you will learn how to combine JavaScript and jQuery with PHP and, specially, PHP’s GD library to create an image manipulation tool to upload an image, then crop it and finally save the revised version to the server. In addition, you will be able to create your own bookmarklets, which are small JavaScript-powered applications in link form. Typically used to extend the functionality of the browser and to interact with Web services, bookmarklets allow you to post onto your own WordPress or Tumblr blog, submit any selected text to Google's search function, or modify a current CSS code within a browser ― just to cite a few!

Special attention is also given to jQuery plugins, which help save time and streamline development as well as allow programmers to avoid having to build every component from scratch. A good plugin saves countless development hours, whereas a bad plugin leads to bugs that must be fixed and so takes more of of your time than actually building the component from scratch. With the help of this eBook, you will get the best hints on how to choose which plugins are really worth considering for your projects and which ones you should avoid.


Repository Staff Only: item control page