Secrets of the JavaScript Ninja

Secrets of the JavaScript Ninja pdf epub mobi txt 電子書 下載2025

出版者:Manning Publishing
作者:John Resig
出品人:
頁數:392
译者:
出版時間:2013-1-15
價格:USD 39.99
裝幀:平裝
isbn號碼:9788933988695
叢書系列:
圖書標籤:
  • Ninja
  • Advanced
  • 前端修煉
  • JavaScript
  • 編程
  • Web開發
  • 前端
  • 技巧
  • 高級
  • 忍者
  • 代碼
  • 性能
  • 最佳實踐
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

具體描述

Secrets of the Javascript Ninja takes you on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. Written for JavaScript developers with intermediate-level skills, this book will give you the knowledge you need to create a cross-browser JavaScript library from the ground up.

ABOUT THIS BOOK

You can't always attack software head-on. Sometimes you come at it sideways or sneak up from behind. You need to master an arsenal of tools and know every stealthy trick. You have to be a ninja.

Secrets of the JavaScript Ninja leads you down the pathway to JavaScript enlightenment. This unique book starts with key concepts, like the relationships between functions, objects, and closures, taught from the master's perspective. You'll grow from apprentice to ninja as you soak up fresh insights on the techniques you use every day and discover features and capabilities you never knew about. When you reach the final chapters, you'll be ready to code brilliant JavaScript applications and maybe even write your own libraries and frameworks.

You don't have to be a ninja to read this book—just be willing to become one. Are you ready?

WHAT'S INSIDE

Functions, objects, closures, regular expressions, and more

Seeing applications and libraries from the right perspective

Dealing with the complexities of cross-browser development

Modern JavaScript design

著者簡介

John Resig is an acknowledged JavaScript authority and the creator of the jQuery library. Bear Bibeault is a web developer and coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning.

圖書目錄

preface
acknowledgments
about this book
about the authors
Part 1 Preparing for training
Chapter 1 Enter the ninja
The JavaScript libraries we’ll be tapping
Understanding the JavaScript language
Cross-browser considerations
Current best practices
Summary
Chapter 2 Arming with testing and debugging
Debugging code
Test generation
Testing frameworks
The fundamentals of a test suite
Summary
Part 2 Apprentice training
Chapter 3 Functions are fundamental
What’s with the functional difference?
Declarations
Invocations
Summary
Chapter 4 Wielding functions
Anonymous functions
Recursion
Fun with function as objects
Variable-length argument lists
Checking for functions
Summary
Chapter 5 Closing in on closures
How closures work
Putting closures to work
Binding function contexts
Partially applying functions
Overriding function behavior
Immediate functions
Summary
Chapter 6 Object-orientation with prototypes
Instantiation and prototypes
The gotchas!
Writing class-like code
Summary
Chapter 7 Wrangling regular expressions
Why regular expressions rock
A regular expression refresher
Compiling regular expressions
Capturing matching segments
Replacing using functions
Solving common problems with regular expressions
Summary
Chapter 8 Taming threads and timers
How timers and threading work
Minimum timer delay and reliability
Dealing with computationally expensive processing
Central timer control
Asynchronous testing
Summary
Part 3 Ninja training
Chapter 9 Ninja alchemy: runtime code evaluation
Code evaluation mechanisms
Function “decompilation”
Code evaluation in action
Summary
Chapter 10 With statements
What’s with “with”?
Real-world examples
Importing namespaced code
Testing
Templating with “with”
Summary
Chapter 11 Developing cross-browser strategies
Choosing which browsers to support
The five major development concerns
Implementation strategies
Reducing assumptions
Summary
Chapter 12 Cutting through attributes, properties, and CSS
DOM attributes and properties
Cross-browser attribute issues
Styling attribute headaches
Fetching computed styles
Summary
Part 4 Master training
Chapter 13 Surviving events
Binding and unbinding event handlers
The Event object
Handler management
Triggering events
Bubbling and delegation
The document ready event
Summary
Chapter 14 Manipulating the DOM
Injecting HTML into the DOM
Cloning elements
Removing elements
Text contents
Summary
Chapter 15 CSS selector engines
The W3C Selectors API
Using XPath to find elements
The pure-DOM implementation
Summary
index
· · · · · · (收起)

讀後感

評分

==== 修改说明:去掉对于翻译质量的评价,只评论本书的内容罢。==== ==== 但是!译者对闭包概念的翻译(86页)真是让人大跌眼镜啊!!!真的是用的谷歌翻译吗???==== 书名《JavaScript忍者秘籍》,作者呢是大名鼎鼎的 jQuery 的创作者。这本书里介绍了各种“忍者级”JS用法...  

評分

以前知道第一版,好多人推荐(中文版翻译有点差)。 听说出第二版,所以我就一直在等,没有想到很快出来了,我看了样章第二章, 只能说:好书,力荐购买。 样章主要内容: 第2章 运行时的页面构建过程 Web应用的生命周期步骤 从HTML代码到Web页面的处理过程 JavaScript代码的...  

評分

这是一本JavaScript进阶书,翻译也比较地道。本书是由jQuery的创建者和《jQuery实战》的作者合著的。全书从实际的实践中出发,对测试,函数、闭包、正则、定时器、事件,跨浏览器的DOM编程等内容,娓娓道来,内容清晰明了。同时对JavaScript编程中存在的陷阱以及规避的办法还有...  

評分

Chapter 6: Functions for the future: generators and promises 6.4 Combining generators and promises => 这一节要熟练掌握,有助于理解 koa1 里面的思路  

評分

如果你觉得自己的js水平不错了,可以看看这本书。 这本书虽然只是meap版,但是也够你看一段时间,里面有太多的东西需要慢慢体会。 这本书以函数为中心(函数也确实是js的核心),对函数的讲解非常全面细致,涉及到函数的定义、扩展、重载、curry化、闭包、重定向、继承等方方面...  

用戶評價

评分

確實高

评分

確實高

评分

確實高

评分

確實高

评分

確實高

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有