好书推荐 好书速递 排行榜 读书文摘

Pro JavaScript Techniques

Pro JavaScript Techniques
作者:John Resig
出版社:Apress
出版年:2006-12
ISBN:9781590597279
行业:计算机
浏览数:8

内容简介

Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.

Expert web developer and author John Resig concentrates on fundamental, vital topics--what modern JavaScripting is (and isn't), the current state of browser support, and pitfalls to be wary of. The book is organized into four sections:

Modern JavaScript development--using JavaScript the object-oriented way, creating reusable code, plus testing and debugging

DOM scripting--updating content and styles, plus events, and effect and event libraries

Ajax--how Ajax works, overcoming problems, and using libraries to speed up development of Ajax applications

The future of JavaScript--looking at cutting edge topics like JSON, HTML 5, and more

All concepts are backed up by real-world examples and case studies, and John provides numerous reusable functions and classes to save you time in your development. There are also up-to-date reference appendixes for the DOM, events, browser support (including IE7), and frameworks--so you can look up specific details quickly and easily.

......(更多)

作者简介

John Resig is a programmer and entrepreneur who's been developing web applications for over 8 years. Having primarily focused on backend development for most of that time, using Perl and mySQL, John changed his focus towards implementing usable web front-ends.

He holds a degree in Computer Science from Rochester Institute of Technology and has published several papers on data mining Instant Messaging networks.

When he's not programming, he enjoys watching movies, writing in his web log (ejohn.org), and spending time with his girlfriend.

......(更多)

目录

......(更多)

读书文摘

Within this book, I use the term modern browser a lot; when I use that phrase, I mean any browser that has grade-A support deemed by the Yahoo browser chart.

本质上,特权方法是动态生成的,运行时才添加到对象中,而不是在代码第一次编译时就生成。这个技巧比对象的prototype上绑定一个简单的方法开销更大,但功能更强大。

原型式继承指对象的构造可以从其他对象中继承方法,它创建一个原型对象后,其它对象都可以基于这个原型对象来构建。

......(更多)

猜你喜欢

点击查看