Vai al contenuto principale della pagina
Autore: | Reid Jonathan |
Titolo: | JavaScript programmer's reference / / Jonathan Reid, Thomas Valentine |
Pubblicazione: | [Berkeley, Calif.], : Apress, 2013 |
Edizione: | 1st ed. 2013. |
Descrizione fisica: | 1 online resource (288 p.) |
Disciplina: | 005.2762 |
Soggetto topico: | JavaScript (Computer program language) |
Altri autori: | ValentineThomas |
Note generali: | Includes index. |
Nota di contenuto: | Cover; Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewer; Introduction; Who is this book for?; Overview; Conventions Used In This Book; Code Downloads; CHAPTER 1 JavaScript Basics; Hard to Learn, Harder to Love; What Is JavaScript?; The Evolution of JavaScript and the ECMA-262 Standard; JavaScript Implementations; Web Browsers and JavaScript; JavaScript in Web Pages; Order of Execution; Brief Digression: Understanding and Running Examples; Running the Examples; JavaScript's Three Difficult Features |
Prototypal InheritanceScoping in JavaScript; Limiting Scope; Closures; One of Those Weak Types, Eh?; Basic Data Types and Primitives; Type Conversion in JavaScript; Putting It Together: Two Common Patterns; Immediately Executing Function Expressions; The Module Pattern; Summary; CHAPTER 2 JavaScript Nuts and Bolts; Formatting JavaScript Code; Relying on ASI; Be Consistent; Expressions and Statements; Expressions; Statements; Operators; Precedence; Variables; Declaring Variables in JavaScript; Understanding Variable Scope in JavaScript; Managing Variables in JavaScript; Objects; Inheritance | |
Accessing Properties and EnumerationCreating Objects; Using Constructor Functions; Using Literals; Using Object.create( ); Which Method Should I Use?; Arrays; Dynamic Length; Accessing and Assigning Values; Creating Arrays; Iterating over Arrays; Array Methods and Properties; Functions; Function Declarations; Function Expressions; Invoking Functions; Invoking Functions Using the Invoker; Invoking Functions As Constructors; Invoking Functions Using apply() and call(); Conditionals; if Statements; switch Statements; Loops; for Loops; for-in Loops; while Loops; do Loops; Summary | |
CHAPTER 3 The DOMHow I Learned to Stop Worrying and Love the DOM; History of the DOM Standard; Browser Dependencies; DOM Structure; Accessing Elements in the DOM; Traversing the DOM; Modifying the DOM; Modifying Existing Elements; Modifying Styles; Modifying Content; Creating New Elements; Deleting Elements; DOM Events; Event Phases; Event Execution Context; Different Events; Binding Event Handlers; Unbinding Event Handlers; The Event Object; Event Delegation; Manually Firing Events; Creating an Event Object; Configuring an Event Object; Dispatching an Event; Custom Events | |
Cross-Browser StrategiesSummary; CHAPTER 4 JavaScript in Action; Working with JavaScript; JavaScript IDEs; aptana studio; Eclipse; Microsoft Visual Web Developer and Visual Studio Express; WebStorm; Browsers; Chrome; Firefox; Internet Explorer; Safari; Web Servers; MacOS; Windows; Xampp; IDE Debugging Servers; JavaScript Development Workflow; Using the Browser Console; Breakpoints; Loading Scripts Efficiently; How Browsers Download and Process Content; Optimization Tip #1: Load Scripts at the End of the Document; Optimization Tip #2: Combine, Minify, and GZip | |
Optimization Tip #3: Load Scripts In the Document Head Using a Non-Blocking Technique | |
Sommario/riassunto: | JavaScript Programmer's Reference is an invaluable resource that won't stray far from your desktop (or your tablet!). It contains detailed information on every JavaScript object and command, and combines that reference with practical examples showcasing how you can use those commands in the real world. Whether you're just checking the syntax of a method or you're starting out on the road to JavaScript mastery, the JavaScript Programmer's Reference will be an essential aid. With a detailed and informative tutorial section giving you the ins and outs of programming with JavaScript and the DOM followed by a command-by-command reference, your next project will pop with interactivity and keep your audience coming back for more. JavaScript Programmer's Reference is your one-stop source for everything you'll need to know to become a cutting edge web developer using the latest tools and techniques available today. In depth explanations and activities to explain not just the command in question, but why it is used in that way Progressive learning curve to not overwhelm and confuse you Handy and extremely informative quick-reference of every command within the JavaScript & DOM specifications. |
Titolo autorizzato: | JavaScript programmer's reference |
ISBN: | 1-4302-4630-8 |
Formato: | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910438101003321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |