This book addresses today’s approach to JavaScript in modern browser support, including information on Internet Explorer 7; Object-Oriented JavaScript; testing and debugging; unobtrusive JavaScript techniques using DOM Scripting; Ajax; creating and using blocks of reusable code, and the future of JavaScript. All the concepts expressed in this up-to-the-minute reference are thoroughly backed up with real world examples and full-scale case studies. The book offers reusable functions for readers to use in their own projects, a significant time-saver. Also included are several reference sections that allow developers to look up details quickly and easily.
John Resig Books







Secrets of the JavaScript Ninja
- 392 pages
- 14 hours of reading
Secrets of the JavaScript Ninja uses practical examples to clearly illustrate each core concept and technique. This completely revised edition shows you how to master key JavaScript concepts such as functions, closures, objects, prototypes, and promises. It covers APIs such as the DOM, events, and timers. You’ll discover best practice techniques such as testing, and cross-browser development, all taught from the perspective of skilled JavaScript practitioners.
jQuery in Action
- 504 pages
- 18 hours of reading
"JQuery in Action, Third Edition, is a fast-paced and complete guide to jQuery, focused on the tasks you'll face in nearly any web dev project. Written for readers with minimal JavaScript experience, this revised edition adds new examples and exercises, along with the deep and practical coverage you expect from an In Action book. You'll learn how to traverse HTML documents, handle events, perform animations, write plugins, and even unit test your code. The unique lab pages anchor each concept with real-world code. Several new chapters teach you how to interact with other tools and frameworks to build modern single-page web applications.jQuery in Action, Third Edition, is a fast-paced guide to jQuery, focused on the tasks you'll face in nearly any web dev project. In it, you'll learn how to traverse the DOM, handle events, perform animations, write jQuery plugins, perform Ajax requests, and even unit test your code. Its unique Lab Pages anchor each concept in real-world code. This expanded Third Edition adds new chapters that teach you how to interact with other tools and frameworks and build modern single-page web applications."--Publisher
JavaScript to język programowania, który wymaga od programisty szerokiej wiedzy i dokładności. Chwila nieuwagi może spowodować poważne problemy, trudne do wykrycia. Jak sobie radzić w tym wymagającym środowisku? Jak zwinnie poruszać się pomiędzy zastawionymi pułapkami? Na te i wiele innych pytań znajdziesz odpowiedź w tej książce. Dzięki niej będziesz zwinnie jak ninja przemykał pomiędzy niuansami języka JavaScript. W trakcie lektury poznasz dogłębnie najlepszą broń przeciw błędom — debuger oraz testy automatyczne. W kolejnych rozdziałach nauczysz się korzystać z potencjału funkcji oraz domknięć. W tej doskonałej książce znajdziesz również szerokie omówienie wyrażeń regularnych — tematu, który spędza programistom sen z oczu. Ponadto szczegółowo poznasz zasady programowania obiektowego w JavaScripcie, modyfikowania drzewa DOM, wsparcia dla różnych przeglądarek oraz obsługi zdarzeń. Książka ta zawiera praktyczne porady, które sprawdzą się w codziennej pracy z językiem JavaScript. Jest to obowiązkowa pozycja dla każdego programisty!
Das Web ist heute ohne JavaScript undenkbar, und seit der Entstehung dieser Scriptsprache hat sich viel verändert. Dieses Buch stellt moderne JavaScript-Konzepte vor, die für Webentwickler von Nutzen sind, die Ajax und JavaScript-Bibliotheken für interaktive Webseiten einsetzen. Der JavaScript-Experte John Resig vermittelt das Insiderwissen der besten Programmierer und richtet sich an fortgeschrittene Anfänger. Der Leser wird in drei Stufen an die Programmierung moderner JavaScript-Anwendungen herangeführt: Entwurf, Entwicklung sowie Pflege und Wartung des Codes. Zunächst wird eine solide Grundlage fortgeschrittenen Wissens gelegt. Anschließend wird der Aufbau einer JavaScript-Bibliothek behandelt, einschließlich der vielfältigen Aufgaben, Entwicklungsstrategien und praktischen Lösungsansätze. Auch die Erstellung zukunftssicheren Codes wird thematisiert. Das Buch befähigt den Leser, ausgezeichnete JavaScript-Anwendungen zu programmieren, eigene Bibliotheken zu schreiben und vorhandene Bibliotheken optimal zu nutzen. Die Inhalte umfassen unter anderem Assertionen, Debugging, Funktionen, Objekte, Closures, Objektorientierung, reguläre Ausdrücke, Cross-Browser-Strategien und DOM-Manipulation. Moderne Designansätze und Problemlösungen für die browserübergreifende Entwicklung werden ebenfalls behandelt.
JavaScript a Ajax: Moderní programování webových aplikací
- 360 pages
- 13 hours of reading
JavaScript se v nových verzích stává stále mocnější zbraní pro webové programátory, zejména díky Ajaxu, což zvyšuje jeho důležitost a atraktivitu. Tato příručka moderního webového programování vás naučí, jak plně využít JavaScript na vašich webových stránkách, aniž by se zabývala základními znalostmi programování. Místo toho se zaměří na konkrétní příklady implementace JavaScriptu a Ajaxu v reálných projektech, a nabídne množství znovupoužitelných funkcí a tříd, čímž ušetříte čas. Zkušený webový programátor představí například objektově orientované programování, využití dědičnosti, rozdělení kódu do balíků, ladění a testování s nástroji jako FireBug nebo JSUnit, navigaci v DOM, asynchronní události, CSS pro animace a drag&drop, validaci formulářů, tvorbu obrázkové galerie s nenápadným načítáním a úvod do technik Ajaxu. Praktická implementace zahrnuje hledání s automatickým dokončováním a tvorbu interaktivního blogu a Wiki. Kniha je doplněna přehlednou referenční příručkou o DOM a událostech JavaScriptu, která obsahuje nejen výčet prvků, ale také jejich popis a praktické aplikace.