JavaScript combat manual
With David Sawyer McFarland
Li Qiang et al
ISBN :978-7-111-25867-4
Price: 89.00
About the author
David Sawyer McFarland is the Sawyer McFarland Media, president of the company, which is located in Portland of Oregon, a Web development and training company. From 1995 he began developing the Web site, when he designed his first Web site, which is an online communications professional journal. He was a University of California at Berkeley and the Berkeley Multimedia Research Center Web site administrator and is responsible for A complete redesign of CSS-driven.
In addition to building a Web site, David is also a writer, lecturer and teacher training. In his Institute of Journalism, University of California, Berkeley, Electronics Arts Center, University of the Arts Institute, the new non-print media center, and professor at the University of the Polish State Web design. He Practical Web Design, MX Developer's Journal, Macworld magazine and To write articles on Web design.
He welcomed the adoption of missing@sawmac.com readers to provide feedback on the book (but if you want to seek technical help, please refer to Appendix A are listed in resources).
In this book, bestselling author David McFarland teach you how to use advanced JavaScript, even if you have only little or no programming experience. Once mastered the structure of the language and terminology, you will learn how to use advanced JavaScript tools to quickly add useful for cross-site, rather than scripting everything from scratch. And other Missing Manuals books different, this book clearly, refining, and hands-on.
Modern Web sites need to release something far more than just text. Visitors look forward to an intelligent form, navigation tab, the pop-up help screens, as well as an interactive set of photos. The book introduced the style with fine release of all these elements JavaScript knowledge required, even if you are not programming experts, but also can easily read and study this book.
An important aspect of this book include:
Directly from JavaScript to build well-structured procedures, these procedures operate HTML and CSS Web pages.
Custom Code - the book step-by-step tutorials allow only need to add the Web page functions.
Through the study of this book online vivid example, you can develop their own Web site solution.
Avoid common errors, clear the course in how to do this.
JQurey library through a large number of pre-prepared code to save time and effort.
Ajax programming using a simple, integrated Web server or from the Google Maps data.
Translated sequence
Ajax (Asynchronous JavaScript And XML) technology and applications to the real Web 2.0 wave of the tide of revolution. The initial use of Ajax technology is Google Maps, Gmail so a new generation of Web sites and Web applications,
Now, in the sweeping tide of Web 2.0, the application of Ajax technology can be seen everywhere, the Web site, they are to people like desktop applications as user experience and response.
However, Ajax can not do client-side scripting. Ajax in the "J" on behalf of the JavaScript language. JavaScript is a Web application development languages required. Whether it is for Web pages or add interactivity to create the entire application process, if there is no JavaScript, today's Web will not be like this now. Ajax is the technology enables JavaScript from a scripting language to grow into useful and powerful programming language. TIOBE language in the latest rankings, JavaScript ranked No. 11, behind Ruby, shows its subject to the developer of the degree of concern and love.
O'Reilly's book is "The Missing Manual" series 1. Missing Manual series goal is to learn from those who do not have the software and technical manuals to fill the gaps, to provide readers with an authoritative reference manual to learn. Therefore, the purpose of this book is to act as supporting JavaScript manual, help readers grasp the structure of the JavaScript language and terminology, such as basic knowledge, and to learn how to use advanced JavaScript tools to quickly add useful for interactive site.
Translation of this book, we feel that this book by following a number of distinct characteristics, it is worth the reader in the process of reading and the use of concern:
<!--[ if! supportLists] -> l <!--[ endif] -> clear and refined, in view of the different needs of the reader to arrange appropriate content. The book introduced the basic knowledge of the contents of simple and refined, often through a number of short code examples to clearly explain its use, very easy for beginners to learn. Arrangements for different readers "familiar with the fast", "Frequently Asked Questions", "advanced user tips" and other features throughout the book plate. At the same time, the book has a lot of "attention" and "tips" to help readers more efficient use of the book. The appendix also gives an in-depth study and knowledge of JavaScript and related reference materials and books to introduce.
<!--[ if! supportLists] -> l <!--[ endif] -> hands to explain. Each chapter is introduced not only the content knowledge, and is equipped with a step-by-step tutorials hands-on experience, by doing so readers to easily grasp the use of JavaScript libraries to develop Web applications and useful skills.
<!--[ if! supportLists] -> l <!--[ endif] -> icon-rich and practical. The icons in this book is very rich, generally divided into two types. One is the manifestation of the effect of Web applications or software interface Fig. We know that the majority of Web Dynamic effects of the adoption of black and white printing is difficult to show the map, and this book through a special kind of way and do a good job as far as possible to do this. Icon that is highlighted local changes, or more plans to reflect the changes. Another example is the code that maps method used icons to illustrate the working mechanism of the code, as well as the role of the various parts and functions. The use of icons, and the whole of the Missing Manual book series of a breakthrough. Why do these technologies have been many books beginner readers in particular, pro-gaze, we would like, this is an important factor.
<!--[ if! supportLists] -> l <!--[ endif] -> Cross-reference for easy access. As a manual to facilitate Info is one of the conditions necessary. The book is also cross-reference through the rich to do this. JavaScript used in the body of knowledge of other relevant time, have given their location in the reference book instructions to help readers quickly find the relevant parts of the book, recall or review of knowledge.
<!--[ if! supportLists] -> l <!--[ endif] -> of JavaScript libraries, especially the introduction and application of jQurey. jQurey such as the introduction and application of the Treasury, the JavaScript programming mode has changed. Many tasks can be off-the-shelf database program to complete, programmers do not have to go hard all the basic preparation of the code. And these are deeply affecting the way the current Web application development. Therefore, as a serious Web developer must learn and master these libraries. However, you can pay the price of a book, buy two books. Because this book not only introduced the JavaScript programming knowledge, and help you in a practical way to learn how to use the High jQurey build, dazzling the Web application. Totally unnecessary to spend money again to buy a jQurey books, this book is sufficient to introduce the usage of your Topsy jQurey.
Organic will be very pleased to be able to do a good book to introduce to the readers. To participate in the work of translation of the book, Li Qiang, Wang Yong Guan Zhixing, Mao-tao, Yan Liu Qing, JIANG Qiao-sheng, Shen Haifeng, Xie Lin deduction, Joe Yi Feng , Liu Richard Strong, WANG Yi-qiang, LIU, Yang Chuan-hui , Wang Jianhua, Wang Jun, Mr Siu-Tao FU An hair , Zhang Yong. Reader friends to read this book in the process, if there is doubt or feel that there is inappropriate, contact the translator via reejohn@sohu.com.
Introduction to JavaScript Part 1
Chapter 1 of the preparation of the first JavaScript 1
Programming 1.1 Introduction 1
2 What is a computer program
1.2 how to add JavaScript to page 3
5 external JavaScript file
1.3 The first JavaScript program 7
Version 1.4 wrote Web page 9
1.5 Annex 10 external JavaScript file
1.6 Tracking Error 12
1.6.1 Firefox JavaScript Console 13
1.6.2 show the Internet Explorer error dialog box 14
Safari error console 1.6.3 Access 15
Chapter 2 JavaScript syntax 16
2.1 statement 16
2.2 command 16
2.3 Data Types 17
2.3.1 Numerical 17
2.3.2 string 18
2.3.3 Boolean 19
2.4 Variables 19
2.4.1 create a variable 20
2.4.2 the use of variable 22
2.5 Operation data types and variables 23
2.5.1 Basic arithmetic 24
2.5.2 the operation of the order of 25
2.5.3 Portfolio string 25
2.5.4 Numerical and string combinations 26
2.5.5 modify the value of variable 27
2.6 Tutorial: Using variables to create news 28
2.7 Tutorial: request for information 30
2.8 Arrays 32
2.8.1 to create an array of 32
2.8.2 Access an array of items 34
2.8.3 Add items to an array of 35
2.8.4 to delete the item from the array 37
2.8.5 use the splice () to add and remove 38
2.9 Tutorial: the preparation of the use of an array of page 40
2.10 Note 42
2.10.1 When to Use 43 Note
2.10.2 Notes book 44
Chapter 3 to add the logic and control 45
3.1 intelligently respond to the process 45
3.1.1 based on conditional statements 46
3.1.2 back-up plans to add 49
3.1.3 Testing multiple conditions 49
3.1.4 the conditions more complex 51
3.1.5 nested conditional statements 53
3.1.6 conditional statements of the skills to prepare 54
3.2 Tutorial: Using conditional statements 55
3.3 use of repetitive tasks to deal with 58
3.3.1 while cycle 58
3.3.2 Cycle and an array of 60
3.3.3 for cycle 61
3.3.4 do / while cycle 63
3.4 function: the code is converted to useful reusable command 64
3.4.1 small Tutorial 66
3.4.2 provide information to the function 67
3.4.3 access to information from the function 69
3.4.4 to prevent the conflict variable 70
3.5 Tutorial: A Simple Test 72
Chapter 4 string operations, numerical and date 77
4.1 Introduction 78 rapid object
4.2 string 80
4.2.1 to determine the length of the string 80
4.2.2 change the string case 80
4.2.3 to find a string: indexOf () Technology 81
4.2.4 the use of slice () extract as part of the string 83
4.3 in the string search mode 84
4.3.1 create and use basic regular expressions 84
4.3.2 Construction of a regular expression 85
4.3.3 Sub-group is part of the regular expression 88
4.3.4 Regular Expression useful 89
4.3.5 Mode matching 94
4.3.6 Replace the text of 96
4.3.7 try regular expressions 97
4.4 Value 97
4.4.1 change the string value 97
4.4.2 Numerical tests 99
4.4.3 Numerical rounding 100
4.4.4 monetary value formatting 100
4.4.5 create a random number 101
4.5 Date and Time 103
4.5.1 access to 103 months
4.5.2 a few weeks to obtain 104
4.5.3 Access Time 105
4.5.4 create a date other than the current date 108
109 Guide 4.6
4.6.1 Overview 109
4.6.2 the preparation of function 110
Chapter 5 Dynamic modify Web page 115
5.1 modify Web page: Overview 116
5.2 understand the Document Object Model 117
5.2.1 Select the page element 118
5.2.2 to add the content page 122
5.2.3 Test 123 return to the moon
5.2.4 DOM issue of 126
127 Profile 5.3 JavaScript Library
Beginner jQuery 128
5.4 Select the page element 129 return
5.4.1 basic selector 130
5.4.2 High selector 133
5.4.3 jQuery filter 135
5.4.4 understand the jQuery selection 136
Add 5.5 to the page content 138
Choose to replace, and delete 141
5.6 set-up and read the label attribute 142
5.6.1 Class 142
5.6.2 read and change the CSS attribute 143
5.6.3 a change CSS properties in more than 145
5.7 read, set and remove HTML attributes 146
147 Creative 5.8 title
5.9 operation of each element to choose 149
5.9.1 Anonymous Functions 150
5.9.2 this and $ (this) 150
5.10 Automatic extraction of reference 152
5.10.1 Overview 152
5.10.2 Programming 153
Chapter 6 Action / response: Let the page together through Events 156
6.1 What is event 156
6.1.1 Mouse events 158
6.1.2 Document / window event 159
6.1.3 Form 160 events
6.1.4 Keyboard event 160
6.2 Functions and events with the use of 161
6.2.1 Intranet 161 events
6.2.2 Traditional Model 162
6.2.3 Modern approach
- JavaScript Manual of actual combat. Rar (228.7 KB)
- Downloads: 18
- 11:23
- Browser (58)
- Comments (0)
- Published in book circles Huazhang
- Related Recommended
Comments
Comment
hzbook
- View: 15584 times
- Gender:
- From: Beijing
- Details book
Search this blog
Recent visitors>> More Visitors
ea163
update_2009
Sharp angle
kizi1014
Blog Categories
- All blog (39)
My Album
Site Banner copy a total of three
Other Categories
- My Favorites (0)
- My Forum Posts (9)
- I am the essence of a good paste (0)
Recently joined the circle of
- Jquery
- Book Huazhang
Archive
- 2009-05 (6)
- 2009-04 (2)
- 2009-03 (1)
- More archives ...
Latest Comments
- Recommended book - "Project Management of ...
Oh, this man seems to understand it all too well
- By hzbook - Recommended book - "Project Management of ...
Want to see the latest version of the English version. Read this directory, personal feeling is that teach you how, as a project manager to deal with office politics ...
- By the dark prodigal - Recommended book - "Project Management of ...
Forum ad a lot, but the real content?
- By mock1234 - "Fruitful programmers"
http://www.luanxiang.org/blog/archives/59 ...
- By hzbook - "Fruitful programmers" excerpt
I looked, China-pub section of the free trial. Feeling very general! ! !
- By sunnyshuhai
Comments list
- "Effective java version of the Chinese version of No. 2"
- "Java technology" Every Java learners must read ...
- The world's top 38 players, many of the classical language for the father of 9 ...
- "Fruitful programmers"
- Java-SOA-UI-Dojo book invites translator - Huazhang public ...
Statement: JavaEye article copyright belongs to the author, are protected by law. Without the written permission of the author may not be reproduced. If the author agreed to reprint must be marked hyperlink form the source and author of the original article.
© 2003 -2009 JavaEye.com. All rights reserved. Jiong Shanghai Co., Ltd.-resistant computer software [ ICP 05023328 ]
