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.
A good web development framework anticipates what you need to do and makes those tasks easier and more efficient; jQuery practically reads your mind. Developers of every stripe-hobbyists and professionals alike-fall in love with jQuery the minute they've reduced 20 lines of clunky JavaScript into three lines of elegant, readable code. This new, concise JavaScript library radically simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery in Action, like jQuery itself, is a concise tool designed to make you a more efficient and effective web developer. In a short 300 pages, this book introduces you to the jQuery programming model and guides you through the major features and techniques you'll need to be productive immediately. The book anchors each new concept in the tasks you'll tackle in day-to-day web development and offers unique lab pages where you immediately put your jQuery knowledge to
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.
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.