Programming
Programming Language Pragmatics, Third Edition 豆瓣
作者: Michael L. Scott Morgan Kaufmann 2009 - 4
Programming Language Pragmatics is the most comprehensive programming language textbook available today. Taking the perspective that language design and language implementation are tightly interconnected, and that neither can be fully understood in isolation, this critically acclaimed and bestselling book has been thoroughly updated to cover the most recent developments in programming language design. With a new chapter on run-time program management and expanded coverage of concurrency, this new edition provides both students and professionals alike with a solid understanding of the most important issues driving software development today.

Classic programming foundations text now updated to familiarize students with the languages they are most likely to encounter in the workforce, including including Java 7, C++, C# 3.0, F#, Fortran 2008, Ada 2005, Scheme R6RS, and Perl 6.
New and expanded coverage of concurrency and run-time systems ensures students and professionals understand the most important advances driving software today.
Includes over 800 numbered examples to help the reader quickly cross-reference and access content.
Design Patterns 豆瓣 Goodreads
作者: Erich Gamma / Richard Helm Addison Wesley 1994 - 10
* Capturing a wealth of experience about the design of object-oriented software, four top-notch designers present a catalog of simple and succinct solutions to commonly occurring design problems. Previously undocumented, these 23 patterns allow designers to create more flexible, elegant, and ultimately reusable designs without having to rediscover the design solutions themselves. * The authors begin by describing what patterns are and how they can help you design object-oriented software. They then go on to systematically name, explain, evaluate, and catalog recurring designs in object-oriented systems. With Design Patterns as your guide, you will learn how these important patterns fit into the software development process, and how you can leverage them to solve your own design problems most efficiently.
Head First Design Patterns 豆瓣 Goodreads
9.5 (8 个评分) 作者: Elisabeth Freeman / Eric Freeman O'Reilly Media 2004 - 11
You're not alone. At any given moment, somewhere in the world someone struggles with the same software design problems you have. You know you don't want to reinvent the wheel (or worse, a flat tire), so you look to Design Patterns--the lessons learned by those who've faced the same problems. With Design Patterns, you get to take advantage of the best practices and experience of others, so that you can spend your time on... something else. Something more challenging. Something more complex. Something more fun. You want to learn about the patterns that matter--why to use them, when to use them, how to use them (and when NOT to use them). But you don't just want to see how patterns look in a book, you want to know how they look "in the wild". In their native environment. In other words, in real world applications. You also want to learn how patterns are used in the Java API, and how to exploit Java's built-in pattern support in your own code. You want to learn the real OO design principles and why everything your boss told you about inheritance might be wrong (and what to do instead). You want to learn how those principles will help the next time you're up a creek without a design paddle pattern. Most importantly, you want to learn the "secret language" of Design Patterns so that you can hold your own with your co-worker (and impress cocktail party guests) when he casually mentions his stunningly clever use of Command, Facade, Proxy, and Factory in between sips of a martini. You'll easily counter with your deep understanding of why Singleton isn't as simple as it sounds, how the Factory is so often misunderstood, or on the real relationship between Decorator, Facade and Adapter. With Head First Design Patterns, you'll avoid the embarrassment of thinking Decorator is something from the "Trading Spaces" show. Best of all, in a way that won't put you to sleep! We think your time is too important (and too short) to spend it struggling with academic texts. If you've read a Head First book, you know what to expect - a visually-rich format designed for the way your brain works. Using the latest research in neurobiology, cognitive science, and learning theory, Head First Design Patterns will load patterns into your brain in a way that sticks. In a way that lets you put them to work immediately. In a way that makes you better at solving software design problems, and better at speaking the language of patterns with others on your team.
Starting Out with C++ 豆瓣
作者: Tony Gaddis Addison Wesley 2008 - 3
Tony Gaddis's accessible, step-by-step presentation helps beginning students understand the important details necessary to become skilled programmers at an introductory level. Gaddis motivates the study of both programming skills and the C++ programming language by presenting all the details needed to understand the "how" and the "why"--but never losing sight of the fact that most beginners struggle with this material. His approach is both gradual and highly accessible, ensuring that students understand the logic behind developing high-quality programs. In Starting Out with C++: From Control Structures through Objects, Gaddis covers control structures, functions, arrays, and pointers before objects and classes. As with all Gaddis texts, clear and easy-to-read code listings, concise and practical real-world examples, and an abundance of exercises appear in every chapter. This text is intended for either a one-semester accelerated introductory course or a traditional two-semester sequence covering C++ programming.
Git Internals 豆瓣
Scott Chacon
Peep Code Press 2008
It took me a pretty long time to really get Git. As I’ve continued to use Git more and more where I work, I’ve found myself trying to teach people what it is and why we use it over and over again, and the reality is that Git generally has a pretty steep learning curve compared to many other systems. I’ve seen case after case of devel- opers who love Git after they finally understand it, but getting to that point is often somewhat painstaking.
This book is aimed at the developer who does not particularly like Subversion, Perforce or whatever SCM system they are currently using, has heard good things about Git, but doesn’t know where to start or why it’s so wonderful. It is meant to explain Git as simply as possible in a clean, concise, easily readable volume. My goal is to help you understand Git internals as well as usage at a fundamental level by the time you finish this book.
To accomplish this, I’m starting the book out (after the introduction) with a section about what Git actually does, rather than how to use it. I found that I didn’t really understand Git and had many problems using it until I understood what it was actually doing at a low level, rather than thinking of it as a different, weird SVN-like system.
Sams Teach Yourself C++ in One Hour a Day 豆瓣
作者: Jesse Liberty / Siddhartha Rao Sams 2008 - 7
Sams Teach Yourself C++ in One Hour a Day ' In just one hour a day, you'll have all the skills you need to begin programming in C++. With this complete tutorial, you'll quickly master the basics and then move on to more advanced features and concepts: * Master the fundamentals of C++ and object-oriented programming * Learn some of the more advanced features of C++ * Learn the Standard Template Library and the containers and algorithms used in most real-world C++ applications * Learn how to build effective programs in C++ with hands-on exercises * Get expert tips on implementing C++ in the corporate environment ' Learn on your own time, at your own pace * No previous programming experience required * Learn C++ and object-oriented design, programming, and analysis * Write fast and powerful C++ programs, compile the source code, and create executable files * Understand the latest ANSI standard * Use the Standard Template Library's algorithms and containers to write feature-rich yet stable C++ applications * Develop sophisticated programming techniques with functions, arrays, variables, and smart pointers * Learn to expand your program's power with inheritance and polymorphism * Master the features of C++ by learning from programming experts * Works with all ANSI C++ compilers
冒号课堂 豆瓣
8.0 (10 个评分) 作者: 郑晖 电子工业出版社 2009 - 10
《冒号课堂》以课堂对话的形式,借六位师生之口讲述编程要义。上篇对编程范式作了入门性的介绍,并对一些流行的编程语言进行了简评;下篇侧重阐发软件设计思想,其中在范式上以OOP为主,在语言上以C++、Java和C#为主。全书寓庄于谐,深入浅出,既可开阔眼界,又能引发思考,值得编程爱好者品读。
The Art of Computer Programming, Volumes 1-3 Boxed Set 豆瓣 Goodreads
The Art of Computer Programming, Volumes 1-3 Boxed Set
作者: [美国] Donald Knuth Addison-Wesley Professional 1998 - 10
This multivolume work is widely recognized as the definitive description of classical computer science. The first three volumes have for decades been an invaluable resource in programming theory and practice for students, researchers, and practitioners alike. The bible of all fundamental algorithms and the work that taught many of today's software developers most of what they know about computer programming. --Byte, September 1995 Countless readers have spoken about the profound personal influence of Knuth's work. Scientists have marveled at the beauty and elegance of his analysis, while ordinary programmers have successfully applied his "cookbook" solutions to their day-to-day problems. All have admired Knuth for the breadth, clarity, accuracy, and good humor found in his books. I can't begin to tell you how many pleasurable hours of study and recreation they have afforded me! I have pored over them in cars, restaurants, at work, at home! and even at a Little League game when my son wasn't in the line-up. --Charles Long Primarily written as a reference, some people have nevertheless found it possible and interesting to read each volume from beginning to end.A programmer in China even compared the experience to reading a poem. If you think you're a really good programmer! read [Knuth's] Art of Computer Programming! You should definitely send me a resume if you can read the whole thing. --Bill Gates Whatever your background, if you need to do any serious computer programming, you will find your own good reason to make each volume in this series a readily accessible part of your scholarly or professional library. It's always a pleasure when a problem is hard enough that you have to get the Knuths off the shelf. I find that merely opening one has a very useful terrorizing effect on computers. --Jonathan Laventhol For the first time in more than 20 years, Knuth has revised all three books to reflect more recent developments in the field. His revisions focus specifically on those areas where knowledge has converged since publication of the last editions, on problems that have been solved, on problems that have changed. In keeping with the authoritative character of these books, all historical information about previous work in the field has been updated where necessary.Consistent with the author's reputation for painstaking perfection, the rare technical errors in his work, discovered by perceptive and demanding readers, have all been corrected. Hundreds of new exercises have been added to raise new challenges. 0201485419B04062001
Android技术内幕 豆瓣 Goodreads
作者: 杨丰盛 2011 - 6
《Android技术内幕:系统卷》是国内首本系统对Android的源代码进行深入分析的著作。全书将Android系统从构架上依次分为应用层、应用框架层、系统运行库层、硬件抽象层和Linux内核层等5个层次,旨在通过对Android系统源代码的全面分析来帮助开发者加深对Android系统架构设计和实现原理的认识,从而帮助他们解决开发中遇到的更加复杂的问题。
全书分为两卷,系统卷主要分析了Linux内核层、硬件抽象层和系统运行库层的各个模块的底层原理和实现细节;应用卷主要分析了应用层和应用框架层的各个模块的底层原理和实现细节。
具体而言,系统卷第1章首先从宏观上介绍了Android系统的架构以及各个层次之间的关系,然后介绍了如何获取Android源代码并搭建Android源代码开发环境和阅读环境的方法;第2章有针对性地剖析了Android的内核机制和结构,以及Android对Linux内核的改动和增强;第3章分析了Binder的架构和工作机制,以及Binder驱动的实现原理;第4章分析了Android电源管理模块的机制与实现;第5章全面地剖析了Android硬件设备驱动(显示、视频、音频、MTD、Event、蓝牙、WLAN等)的工作原理和实现,掌握这部分内容即可修改和编写基于Android的设备驱动程序;第6章深刻阐述了Android原生库的原理及实现,涉及系统C库、功能库、扩展库和原生的Server等重要内容;第7章系统地讲解了硬件抽象层的原理与实现,掌握这部分内容即可编写适合特定硬件设备驱动的抽象层接口;第8章和第9章是对系统运行库层的分析,主要讲解了Dalvik虚拟机的架构、原理与实现,以及Android的核心库相关的知识,掌握这部分内容即可完成对Android运行库的移植和修改。
本书适合所有的高级Android应用开发工程师、Android系统开发工程师、Android移植工程师、Android系统架构师和所有对Android源码实现感兴趣的读者。
Head First iPhone Development 豆瓣
作者: Dan Pilone / Tracey Pilone O'Reilly Media 2009 - 10
This practical book offers programmers the knowledge and code they need to create cutting-edge mobile applications, using Apple's iPhone SDK. The iPhone is one of the hottest new pieces of technology: a fully functional portable Unix operating system with the most advanced handheld user interface in existence. "iPhone SDK Application Development" covers development environment for both the iPhone and iPod Touch, from windows and navigation bars to more advanced layers of the iPhone SDK, such as screen transitions, low-level graphics rendering using CoreSurface, the MultiTouch API, and digital sound and music rendering with Celestial and CoreAudio. With this book, you will: understand how the iPhone works internally, with a complete introduction to the technology; learn how different iPhone components interact with each other; use your existing Mac OS X development skills by understanding the similarities between iPhone and Mac OS X Leopard; also learn about the iPhone-specific APIs, such as the user interface, to develop custom iPhone applications; and, get code examples to help you write various features of your application. With "iPhone SDK Application Development", you'll learn how to create effective iPhone applications and games with the same tools Apple uses.
深入解析Windows操作系统 豆瓣
作者: (美)罗斯(Russinovich,M.E.) / (美)所罗门(Solomon,D.A.) 译者: 潘爱民 电子工业出版社 2007 - 4
本书是著名的操作系统内核专家Mark Russinovich和David Solomon撰写的Windows操作系统原理的最新版著作,全面和深入地阐述了Windows操作系统的整体结构以及内部工作细节。本书针对Windows Server 2003、Windows XP和Windows 2000做了全面更新,通过许多练习实验让你直接感受到Windows的内部行为。另外,本书还介绍了一些高级诊断技术,以便使你的系统运行得更加平稳和高效。无论你是开发人员还是系统管理员,你都可以在本书中找到一些关键的、有关体系结构方面的知识,通过这些知识你可以更好地做系统设计、调试,以及性能优化……
PHP与MySQL基础教程 豆瓣
PHP and MySQL for Dynamic Web Sites, 2nd Ed
作者: 厄尔曼 译者: 陈宗斌 人民邮电出版社 2007 - 5
《PHP与MySQL基础教程(第2版)》采用基于任务的方法来讲授PHP和MySQL,使用大量图片指导读者深入学习语言,并向读者展示了如何构造Web站点。用简洁、直观的步骤和讲解提供了学习任务和概念的最快方式。通过《PHP与MySQL基础教程(第2版)》,读者可以快速、高效地学习PHP和MySQL,并可以立刻成为一位构筑Web站点的高手!
PHP基础教程 豆瓣
作者: 厄尔曼 译者: 贾菡 / 刘彦博 人民邮电出版社 2010 - 1
《PHP基础教程(第3版)》非常通俗易懂地向初学者介绍了PHP语言的基本概念、使用方法和注意事项。全书通过丰富的示例,引领读者逐步掌握这门流行的Web开发语言,使读者能够上手亲自编写适用于常用场景的PHP脚本。《PHP基础教程(第3版)》适合有基本的HTML经验的读者阅读。
点击链接进入新版: Web开发系列:PHP基础教程(第4版)
jQuery基础教程 豆瓣
作者: Jonathan Chaffer / Karl Swedberg 译者: 李松峰 / 卢玉平 人民邮电出版社 2009 - 11
《jQuery基础教程(第2版)》作为《jQuery基础教程》的升级版,涵盖了jQuery 1.3的全部新特性,特别是新增了介绍jQuery UI(jQuery官方用户界面插件库)的内容。《jQuery基础教程(第2版)》前6章以通俗易懂的方式介绍了jQuery的基本概念,主要包括jQuery的选择符、事件、效果、DOM操作、AJAX支持等。随后3章从理论到实践,通过表格操作、构建功能型表单、实现滑移和翻转效果等实例,深入浅出地讲解了如何创造性地运用jQuery提供的丰富而强大的API。《jQuery基础教程(第2版)》最后两章专门介绍了如何使用和编写jQuery插件。值得一提的是,本版新增的附录D分门别类地列出了所有jQuery API,为高效使用jQuery提供了方便。
《jQuery基础教程(第2版)》注重理论与实践相结合,适合初中级Web开发人员阅读和参考。
点击链接进入新版: jQuery基础教程(第3版)
JavaScript高级程序设计 豆瓣
作者: [美国] 尼古拉斯·泽卡斯 译者: 曹力 / 张欣 人民邮电出版社 2006 - 9
JavaScript最新经典教程 * Amazon超级畅销书 * AJAX程序员必备

随着国内的计算机图书市场越来越细化,各类引进版和原创图书在各自领域内如雨后春笋般展露头角,各类“经典”和“圣经”横空出世。但是有一个领域内却一直遗留了大片空白,就是JavaScript类图书。除了O'Reilly的《JAVASCRIPT权威指南》之外,国内一直没有出现过特别优秀的同类图书。就在这时,Wrox的《Professional JavaScript for Web Developers》走进了我们的视野,中文名是《JAVASCRIPT高级程序设计》

JavaScript是目前Web客户端开发的主要编程语言,也是Ajax的核心技术之一。本书从最早期Netscape浏览器中的JavaScript 开始讲起,直到当前它对XML和Web服务的具体支持,内容主要涉及JavaScript的语言特点、JavaScript与浏览器的交互、更高级的 JavaScript技巧,以及与在Web应用程序中部署JavaScript解决方案有关的问题,如错误处理、调试、安全性、优化/混淆化、XML和 Web服务,最后介绍应用所有这些知识来创建动态用户界面。
本书适合有一定编程经验的开发人员阅读,也可作为高校相关专业课程的教材。

新增DOM概念,如何实现正则表达式进行数据验证和字符串操作,把JavaScript联系到Web用户界面的事件处理方法; 数据验证、表排序和错误处理的方法等

目录

第1章 JavaScript是什么 1
1.1 历史简述 1
1.2 JavaScript实现 2
1.2.1 ECMAScript 3
1.2.2 DOM 5
1.2.3 BOM 8
1.3 小结 8
第2章 ECMAScript基础 9
2.1 语法 9
2.2 变量 10
2.3 关键字 12
2.4 保留字 12
2.5 原始值和引用值 13
2.6 原始类型 13
2.6.1 typeof运算符 14
2.6.2 Undefined类型 14
2.6.3 Null类型 15
2.6.4 Boolean类型 15
2.6.5 Number类型 15
2.6.6 String类型 17
2.7 转换 18
2.7.1 转换成字符串 18
2.7.2 转换成数字 19
2.7.3 强制类型转换 20
2.8 引用类型 22
2.8.1 Object类 22
2.8.2 Boolean类 23
2.8.3 Number类 23
2.8.4 String类 24
2.8.5 instanceof运算符 28
2.9 运算符 28
2.9.1 一元运算符 28
2.9.2 位运算符 32
2.9.3 Boolean运算符 37
2.9.4 乘性运算符 40
2.9.5 加性运算符 41
2.9.6 关系运算符 42
2.9.7 等性运算符 43
2.9.8 条件运算符 45
2.9.9 赋值运算符 45
2.9.10 逗号运算符 46
2.10 语句 46
2.10.1 if语句 46
2.10.2 迭代语句 47
2.10.3 有标签的语句 48
2.10.4 break语句和continue语句 48
2.10.5 with语句 50
2.10.6 switch语句 50
2.11 函数 51
2.11.1 无重载 53
2.11.2 arguments对象 53
2.11.3 Function类 54
2.11.4 闭包 56
2.12 小结 57
第3章 对象基础 58
3.1 面向对象术语 58
3.1.1 面向对象语言的要求 58
3.1.2 对象的构成 59
3.2 对象应用 59
3.2.1 声明和实例化 59
3.2.2 对象引用 59
3.2.3 对象废除 59
3.2.4 早绑定和晚绑定 60
3.3 对象的类型 60
3.3.1 本地对象 60
3.3.2 内置对象 70
3.3.3 宿主对象 75
3.4 作用域 75
3.4.1 公用、受保护和私有作用域 75
3.4.2 静态作用域并非静态的 76
3.4.3 关键字this 76
3.5 定义类或对象 78
3.5.1 工厂方式 78
3.5.2 构造函数方式 80
3.5.3 原型方式 80
3.5.4 混合的构造函数/原型方式 81
3.5.5 动态原型方法 82
3.5.6 混合工厂方式 83
3.5.7 采用哪种方式 84
3.5.8 实例 84
3.6 修改对象 86
3.6.1 创建新方法 86
3.6.2 重定义已有方法 87
3.6.3 极晚绑定 88
3.7 小结 88
第4章 继承 89
4.1 继承机制实例 89
4.2 继承机制的实现 90
4.2.1 继承的方式 90
4.2.2 一个更实际的例子 96
4.3 其他继承方式 100
4.3.1 zInherit 100
4.3.2 xbObjects 104
4.4 小结 108
第5章 浏览器中的JavaScript 109
5.1 HTML中的JavaScript 109
5.1.1 〈script/〉标签 109
5.1.2 外部文件格式 110
5.1.3 内嵌代码和外部文件 111
5.1.4 标签放置 111
5.1.5 隐藏还是不隐藏 113
5.1.6 〈noscript/〉标签 113
5.1.7 XHTML中的改变 114
5.2 SVG中的JavaScript 116
5.2.1 SVG基础 116
5.2.2 SVG中的〈script/〉标签 117
5.2.3 SVG中的标签放置 118
5.3 BOM 119
5.3.1 window对象 119
5.3.2 document对象 130
5.3.3 location对象 133
5.3.4 navigator对象 135
5.3.5 screen对象 136
5.4 小结 137
第6章 DOM基础 138
6.1 什么是DOM? 138
6.1.1 XML简介 138
6.1.2 针对XML的API 141
6.1.3 节点的层次 141
6.1.4 特定语言的DOM 144
6.2 对DOM的支持 145
6.3 使用DOM 145
6.3.1 访问相关的节点 145
6.3.2 检测节点类型 146
6.3.3 处理特性 147
6.3.4 访问指定节点 148
6.3.5 创建和操作节点 150
6.4 HTML DOM特征功能 155
6.4.1 让特性像属性一样 155
6.4.2 table方法 156
6.5 遍历DOM 158
6.5.1 NodeIterator 158
6.5.2 TreeWalker 163
6.6 测试与DOM标准的一致性 165
6.7 DOM Level 3 166
6.8 小结 166
第7章 正则表达式 167
7.1 正则表达式支持 167
7.1.1 使用RegExp对象 168
7.1.2 扩展的字符串方法 169
7.2 简单模式 170
7.2.1 元字符 170
7.2.2 使用特殊字符 170
7.2.3 字符类 172
7.2.4 量词 174
7.3 复杂模式 177
7.3.1 分组 177
7.3.2 反向引用 178
7.3.3 候选 179
7.3.4 非捕获性分组 180
7.3.5 前瞻 181
7.3.6 边界 182
7.3.7 多行模式 183
7.4 理解RegExp对象 184
7.4.1 实例属性 184
7.4.2 静态属性 185
7.5 常用模式 186
7.5.1 验证日期 187
7.5.2 验证信用卡号 188
7.5.3 验证电子邮件地址 192
7.6 小结 193
第8章 检测浏览器和操作系统 194
8.1 navigator对象 194
8.2 检测浏览器的方式 194
8.2.1 对象/特征检测法 194
8.2.2 user-agent字符串检测法 195
8.3 user-agent字符串简史 196
8.3.1 Netscape Navigator 3.0与 IE3.0 196
8.3.2 Netscape Communicator 4.0与IE 4.0 197
8.3.3 IE 5.0及更高版本 198
8.3.4 Mozilla 198
8.3.5 Opera 200
8.3.6 Safari 201
8.3.7 结语 201
8.4 浏览器检测脚本 201
8.4.1 方法学 202
8.4.2 第一步 202
8.4.3 检测Opera 204
8.4.4 检测Konqueror/Safari 206
8.4.5 检测IE 208
8.4.6 检测Mozilla 209
8.4.7 检测Netscape Communicator 4.x 210
8.5 平台/操作系统检测脚本 211
8.5.1 方法学 211
8.5.2 第一步 212
8.5.3 检测Windows操作系统 212
8.5.4 检测Macintosh操作系统 214
8.5.5 检测Unix操作系统 214
8.6 全部脚本 215
8.7 例子:登录页面 219
8.8 小结 224
第9章 事件 225
9.1 今天的事件 225
9.2 事件流 226
9.2.1 冒泡型事件 226
9.2.2 捕获型事件 227
9.2.3 DOM事件流 228
9.3 事件处理函数/监听函数 229
9.3.1 IE 230
9.3.2 DOM 231
9.4 事件对象 232
9.4.1 定位 233
9.4.2 属性/方法 233
9.4.3 相似性 235
9.4.4 区别 238
9.5 事件的类型 240
9.5.1 鼠标事件 240
9.5.2 键盘事件 244
9.5.3 HTML事件 246
9.5.4 变化事件 251
9.6 跨平台的事件 252
9.6.1 EventUtil对象 252
9.6.2 添加/删除事件处理函数 252
9.6.3 格式化event对象 254
9.6.4 获取事件对象 258
9.6.5 示例 259
9.7 小结 260
第10章 高级DOM技术 261
10.1 样式编程 261
10.1.1 DOM样式的方法 263
10.1.2 自定义鼠标提示 264
10.1.3 可折叠区域 265
10.1.4 访问样式表 266
10.1.5 最终样式 270
10.2 innerText和innerHTML 271
10.3 outerText和outerHTML 273
10.4 范围 274
10.4.1 DOM中的范围 274
10.4.2 IE中的范围 284
10.4.3 范围在实际中的应用 288
10.5 小结 288
第11章 表单和数据完整性 289
11.1 表单基础 289
11.2 对〈form/〉元素进行脚本编写 291
11.2.1 获取表单的引用 291
11.2.2 访问表单字段 291
11.2.3 表单字段的共性 292
11.2.4 聚焦于第一个字段 292
11.2.5 提交表单 293
11.2.6 仅提交一次 294
11.2.7 重置表单 295
11.3 文本框 295
11.3.1 获取/更改文本框的值 296
11.3.2 选择文本 297
11.3.3 文本框事件 298
11.3.4 自动选择文本 298
11.3.5 自动切换到下一个 299
11.3.6 限制textarea的字符数 300
11.3.7 允许/阻止文本框中的字符 301
11.3.8 使用上下按键操作数字文本 306
11.4 列表框和组合框 308
11.4.1 访问选项 309
11.4.2 获取/更改选中项 309
11.4.3 添加选项 310
11.4.4 删除选项 311
11.4.5 移动选项 312
11.4.6 重新排序选项 313
11.5 创建自动提示的文本框 313
11.5.1 匹配 314
11.5.2 内部机制 314
11.6 小结 316
第12章 表格排序 317
12.1 起点——数组 317
12.2 对单列的表格排序 319
12.2.1 比较函数 320
12.2.2 sortTable()函数 320
12.3 对多列表格进行排序 323
12.3.1 比较函数生成器 323
12.3.2 修改sortTable()方法 324
12.3.3 逆序排列 325
12.3.4 对不同的数据类型进行排序 327
12.3.5 高级排序 330
12.4 小结 334
第13章 拖放 335
13.1 系统拖放 335
13.1.1 拖放事件 336
13.1.2 数据传输对象dataTransfer 341
13.1.3 dragDrop()方法 345
13.1.4 优点及缺点 346
13.2 模拟拖放 346
13.2.1 代码 347
13.2.2 创建放置目标 349
13.2.3 优点及缺点 352
13.3 zDragDrop 352
13.3.1 创建可拖动元素 352
13.3.2 创建放置目标 353
13.3.3 事件 353
13.3.4 例子 354
13.4 小结 355
第14章 错误处理 356
14.1 错误处理的重要性 356
14.2 错误和异常 357
14.3 错误报告 358
14.3.1 IE(Windows) 358
14.3.2 IE(MacOS) 359
14.3.3 Mozilla(所有平台) 359
14.3.4 Safari(MacOS) 360
14.3.5 Opera 7(所有平台) 361
14.4 处理错误 362
14.4.1 onerror事件处理函数 362
14.4.2 try...catch语句 365
14.5 调试技巧 370
14.5.1 使用警告框 370
14.5.2 使用Java控制台 371
14.5.3 将消息写入JavaScript控制台 (仅限Opera 7+) 372
14.5.4 抛出自定义错误 372
14.5.5 JavaScript校验器 373
14.6 调试器 374
14.6.1 Microsoft Script Debugger 374
14.6.2 Venkman 376
14.7 小结 383
第15章 JavaScript中的XML 384
15.1 浏览器中的XML DOM支持 384
15.1.1 IE中的XML DOM支持 384
15.1.2 Mozilla中XML DOM支持 388
15.1.3 通用接口 393
15.2 浏览器中的XPath支持 403
15.2.1 XPath简介 403
15.2.2 IE中的XPath支持 404
15.2.3 Mozilla中的XPath支持 404
15.3 浏览器中的XSLT支持 408
15.3.1 IE中的XSLT支持 410
15.3.2 Mozilla中XSLT支持 413
15.4 小结 415
第16章 客户端与服务器端的通信 416
16.1 cookie 416
16.1.1 cookie的成分 416
16.1.2 其他安全限制 417
16.1.3 JavaScript中的cookie 417
16.1.4 服务器端的cookie 419
16.1.5 在客户端与服务器端之间传递cookie 422
16.2 隐藏框架 423
16.3 HTTP请求 426
16.3.1 使用HTTP首部 428
16.3.2 实现的复制品 429
16.3.3 进行GET请求 430
16.3.4 进行POST请求 430
16.4 LiveConnect请求 431
16.4.1 进行GET请求 431
16.4.2 进行POST请求 433
16.5 智能HTTP请求 435
16.5.1 get()方法 435
16.5.2 post()方法 438
16.6 实际使用 439
16.7 小结 439
第17章 Web服务 440
17.1 Web服务快速入门 440
17.1.1 Web服务是什么? 440
17.1.2 WSDL 441
17.2 IE中的Web服务 443
17.2.1 使用WebService组件 444
17.2.2 WebService组件例子 445
17.3 Mozilla中的Web服务 447
17.3.1 加强的特权 447
17.3.2 使用SOAP方法 448
17.3.3 使用WSDL代理 451
17.4 跨浏览器的方案 454
17.4.1 WebService对象 454
17.4.2 Temperature 服务 456
17.4.3 使用TemperatureService对象 458
17.5 小结 458
第18章 与插件进行交互 459
18.1 为何使用插件 459
18.2 流行的插件 460
18.3 MIME类型 460
18.4 嵌入插件 461
18.4.1 加入参数 461
18.4.2 Netscape 4.x 462
18.5 检测插件 462
18.5.1 检测Netscape式插件 463
18.5.2 检测ActiveX插件 467
18.5.3 跨浏览器检测 469
18.6 Java applet 470
18.6.1 嵌入applet 470
18.6.2 在JavaScript中引用applet 471
18.6.3 创建applet 471
18.6.4 JavaScript到Java的通信 472
18.6.5 Java到JavaScript的通信 475
18.7 Flash动画 477
18.7.1 嵌入Flash动画 477
18.7.2 引用Flash动画 478
18.7.3 JavaScript到Flash的通信 478
18.7.4 Flash到JavaScript通信 481
18.8 ActiveX控件 483
18.9 小结 485
第19章 部署问题 486
19.1 安全性 486
19.1.1 同源策略 486
19.1.2 窗口对象问题 487
19.1.3 Mozilla特有的问题 488
19.1.4 资源限制 490
19.2 国际化 491
19.2.1 使用JavaScript检测语言 491
19.2.2 策略 492
19.2.3 字符串的思考 492
19.3 优化JavaScript 495
19.3.1 下载时间 495
19.3.2 执行时间 499
19.4 知识产权的问题 512
19.4.1 混淆 512
19.4.2 Microsoft Script Encoder(仅IE) 513
19.5 小结 514
第20章 JavaScript的未来 515
20.1 ECMAScript 4 515
20.1.1 Netscape的提案 515
20.1.2 实现 521
20.2 ECMAScript for XML 522
20.2.1 途径 522
20.2.2 for each..in循环 524
20.2.3 新的类 524
20.2.4 实现 532
20.3 小结 532
索引
Java编程思想 (第4版) 豆瓣 Goodreads
Thinking in Java
8.9 (18 个评分) 作者: [美] Bruce Eckel 译者: 陈昊鹏 机械工业出版社 2007 - 6
本书赢得了全球程序员的广泛赞誉,即使是最晦涩的概念,在Bruce Eckel的文字亲和力和小而直接的编程示例面前也会化解于无形。从Java的基础语法到最高级特性(深入的面向对象概念、多线程、自动项目构建、单元测试和调试等),本书都能逐步指导你轻松掌握。
从本书获得的各项大奖以及来自世界各地的读者评论中,不难看出这是一本经典之作。本书的作者拥有多年教学经验,对C、C++以及Java语言都有独到、深入的见解,以通俗易懂及小而直接的示例解释了一个个晦涩抽象的概念。本书共22章,包括操作符、控制执行流程、访问权限控制、复用类、多态、接口、通过异常处理错误、字符串、泛型、数组、容器深入研究、Java I/O系统、枚举类型、并发以及图形化用户界面等内容。这些丰富的内容,包含了Java语言基础语法以及高级特性,适合各个层次的Java程序员阅读,同时也是高等院校讲授面向对象程序设计语言以及Java语言的绝佳教材和参考书。
第4版特点:
适合初学者与专业人员的经典的面向对象叙述方式,为更新的Java SE5/6增加了新的示例和章节。
 测验框架显示程序输出。
深入浅出Java 豆瓣
作者: Kathy Sierra 东南大学出版社 2005 - 11
《深入浅出Java 第二版》是完整的面向对象程序设计和Java的学习指导。此书是根据学习理论所设计的,它让你可以从学习程序语言的基础开始一直到掌握线程、网络编程与分布式程序设计等高级特性。最重要的,你将学会如何像面向对象开发者一样思考。   除了阅读,你还将学会玩游戏、拼图、解谜题以及以意想不到的方式与Java互动。在这些活动中,你会写出一堆真正的Java程序。   深入浅出(Head First)系列图书的图文并茂的版式能让你快速地掌握知识。  如果你想要看无趣的书,去看别的。但如果你真的想要学习Java, 你会需要 《深入浅出Java》。这本书可是2003年与2004年Amazon编辑推荐的十大好书之一!