Object-Oriented JavaScript(Javascript面向对象)
|
|
|
【推荐级别】
|
☆☆☆☆☆
查看网友评价 |
|
【下载次数】 |
65 次 |
|
【作者】 |
Stoyan Stefanov
|
【出版社】 |
Packt publishing
|
|
【文件格式】 |
PDF
|
【ISBN】 |
978-1-847194-14-5
|
|
【资料语言】 |
英文
|
【文件大小】 |
7.15MB
|
|
【上传时间】 |
2008-08-16
|
【共享者】 |
booolean
查看他还共享了哪些书籍
|
|
|
资料说明:
|
Preface This book explores JavaScript for what it is: a highly expressive and lexible prototype-based object-oriented programming language. Once dismissed as a toy for designers to make things such as rollover buttons, today this interesting and unique language is back, stronger than ever. Today's Web 2.0 world of AJAX, fat-client programming, desktop-like rich Internet applications, drag-and-drop maps and webmail clients, rely heavily on JavaScript to provide a highly interactive user experience. And if we never had the chance to properly explore JavaScript before, now is the time to sit down and (re-)learn it. This book doesn't assume any prior knowledge of JavaScript and works from the ground up to give you a thorough understanding of the language. What This Book Covers Chapter 1 talks briely about the history, present, and future of JavaScript, and then moves on to explore the basics of object-oriented programming (OOP) in general. You then learn how to set up your training environment (Firebug) in order to dive into the language on your own, using the book examples as a base. Chapter 2 discuses the language basics: variables, data types, arrays, loops, and conditionals. Chapter 3 covers functions. JavaScript has many uses for functions and here you learn to master them all. You also learn about the scope of variables and JavaScript's built-in functions. An interesting, but often misunderstood feature of the language—closures—is demystiied at the end of the chapter. Chapter 4 introduces objects: how to work with properties and methods, and the various ways to create your objects. There's also an overview of the built-in objects in JavaScript, such as Math and Date (just an overview, Appendix C has all the details). Chapter 5 is dedicated to the all-important concept of prototypes in JavaScript. Chapter 6 expands your "thinking in JavaScript" horizon, discussing a dozen ways to implement inheritance in JavaScript. Chapter 7 is the browser chapter. In this chapter, you learn about BOM (Browser Object Model), DOM (W3C's Document Object Model), browser events, and AJAX. Chapter 8 dives into various unique JavaScript coding patterns, as well as several language-independent design patterns, translated to JavaScript from the Book of Four, the most inluential work of software design patterns. Appendix A lists the reserved words in JavaScript. Appendix B is a reference to the built-in JavaScript functions, together with sample uses. Appendix C is a reference that provides detail and provides examples of the use of every method and property of every built-in object in JavaScript. Appendix D is a regular expressions pattern reference.
|
|
资料下载
|
打开下载链接
点此链接需花费积分5分。如何获取积分?
注册新会员
积分不够?请用手机短信充值
·请先登录 ,然后下载
·下载后,您的积分会减少5分
·48小时内重复下载该资料不另外扣分
·下载前,请先阅读下载声明
·管理员对书籍只进行了初步审核,如果您发现该书违反了分享规则,请向管理员投诉!
|
·本服务的所有资料文件是其作者提供和网友推荐收集整理的,如有侵犯版权敬请指出。
·所有资料文件的准确性、安全性和完整性未经验证,NetYi不承担用户因使用这些下载内容而造成的任何形式的损失或伤害。
|
|
|
| 客户服务 |

 |
电话:028-66868000 13568916094
下班时间请点击此处留言 |
| 注:客服服务时间为周一至周五09:00—17:30,周六周日休息。 |
|
|