The explosion of JavaScript libraries and frameworks within the front-end development scene has opened up the power of jQueryto 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. 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 #14 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 funtion, 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.