tailieunhanh - JavaScript: The Good Parts
It is not an exhaustive reference but rather a small collection of guidelines on how javascript code should be written. The book touches on the major aspects of the language: objects, functions, prototypes, inheritance (with all its flavours), arrays and regular expressions. Maybe the most important part of the language is given the most pages: functions. The chapter on functions gives a good understanding on function invocation patterns, on closures, callbacks, scope, augmentation, memoization, currying and function arguments | Unearthing the Excellence in JavaScript The Good Parts O REILLY PRESS Douglas Crockford Web Authoring Design O REILLY JavaScript The Good Parts Most programming languages contain good and bad components but JavaScript has more than its share of the latter as it was developed and released in a hurry before it could be refined. This authoritative book scrapes away the most horrendous features to reveal a subset of JavaScript that s more reliable readable and maintainable than the language as a whole a subset you can use to create truly extensible and efficient code. Author Douglas Crockford considered the JavaScript expert by many in the development community identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language. Unfortunately these good ideas such as functions loose typing dynamic objects and an expressive object literal notation are mixed in with bad and downright awful ideas such as a programming model based on global variables . When Java applets failed JavaScript became the language of the Web by default its popularity is almost completely independent of its qualities as a programming language. In JavaScript The Good Parts Crockford digs through a pile of good intentions and blunders to give you a detailed look al all of the genuinely elegant parts of JavaScript including Syntax Objects Functions Inheritance Arrays Regular expressions Methods Style Beautiful features With JavaScript The Good Parts you ll discover a beautiful elegant lightweight and highly expressive language that lets you create effective code whether you re managing object libraries or just trying to get Ajax to run fast. If you develop sites or applications for the Web this book is an absolute must. Douglas Crockford is a senior JavaScript architect at Yahoo who is well known for introducing and maintaining the JSON JavaScript Object Notation format. He speaks regularly at conferences about advanced JavaScript topics and he also
đang nạp các trang xem trước