Vai al contenuto principale della pagina

Beginning JavaScript / / Jeremy McPeak, Paul Wilton



(Visualizza in formato marc)    (Visualizza in BIBFRAME)

Autore: McPeak Jeremy Visualizza persona
Titolo: Beginning JavaScript / / Jeremy McPeak, Paul Wilton Visualizza cluster
Pubblicazione: Indianapolis, Indiana : , : Wrox, , 2015
©2015
Edizione: 5th ed.
Descrizione fisica: 1 online resource (771 p.)
Disciplina: 006.74
Soggetto topico: JavaScript (Computer program language)
World Wide Web
Web servers
Persona (resp. second.): WiltonPaul <1969->
Note generali: Includes index.
Nota di contenuto: Beginning JavaScript®; CREDITS; ABOUT THE AUTHORS; ACKNOWLEDGMENTS; CONTENTS; INTRODUCTION; CHAPTER 1: INTRODUCTION TO JAVASCRIPT AND THE WEB; Introduction to JavaScript; What Is JavaScript?; JavaScript and the Web; What Can JavaScript Do for Me?; Tools Needed to Create JavaScript Web Applications; Development Tools; Web Browsers; Where Do My Scripts Go?; Linking to an External JavaScript File; Advantages of Using an External File; Your First Simple JavaScript Program; Writing More JavaScript; A Brief Look at Browsers and Compatibility Problems; Summary; CHAPTER 2: DATA TYPES AND VARIABLES
Types of Data in JavaScriptNumerical Data; Text Data; Boolean Data; Variables-Storing Data in Memory; Creating Variables and Giving Them Values; Assigning Variables with the Value of Other Variables; Using Data-Calculations and Basic String Manipulation; Numerical Calculations; Increment and Decrement Operators; Operator Precedence; Basic String Operations; Mixing Numbers and Strings; Data Type Conversion; Dealing with Strings That Won't Convert; Arrays; A Multi-Dimensional Array; Summary; CHAPTER 3: DECISIONS AND LOOPS; Decision Making-The if and switch Statements; Comparison Operators
PrecedenceAssignment versus Comparison; Assigning the Results of Comparisons; The if Statement; Logical Operators; AND; OR; NOT; Multiple Conditions Inside an if Statement; else and else if; Comparing Strings; The switch Statement; Executing the Same Code for Different Cases; Looping-The for and while Statements; The for Loop; The for...in Loop; The while Loop; The do...while loop; The break and continue Statements; Summary; CHAPTER 4: FUNCTIONS AND SCOPE; Creating Your Own Functions; Scope and Lifetime; Global Scope; Functional Scope; Identifier Lookup; Functions as Values; Summary
CHAPTER 5: JAVASCRIPT-AN OBJECT-BASED LANGUAGEObject-Based Programming; What Are Objects?; Objects in JavaScript; Using JavaScript Objects; Creating an Object; Using an Object's Properties; Calling an Object's Methods; Primitives and Objects; JavaScript's Native Object Types; String Objects; The length Property; Finding a String Inside Another String-The indexOf() and lastIndexOf() Methods; Copying Part of a String-The substr() and substring() Methods; Converting Case-The toLowerCase() and toUpperCase() Methods; Selecting a Single Character from a String-The charAt() and charCodeAt() Methods
Converting Character Codes to a String-The fromCharCode() MethodRemoving Leading and Trailing Whitespace-The trim() Method; Array Objects; Finding Out How Many Elements Are in an Array-The length Property; Adding Elements-The push() Method; Joining Arrays-The concat() Method; Copying Part of an Array-The slice() Method; Converting an Array into a Single String-The join() Method; Putting Your Array in Order-The sort() Method; Putting Your Array into Reverse Order-The reverse() Method; Finding Array Elements-The indexOf() and lastIndexOf() Methods; Iterating through an Array without Loops
The Math Object
Sommario/riassunto: The bestselling JavaScript guide, updated with current features and best practices Beginning JavaScript 5th Edition shows you how to work effectively with JavaScript frameworks, functions, and modern browsers, and teaches more effective coding practices using HTML5. This new edition has been extensively updated to reflect the way JavaScript is most commonly used today, introducing you to the latest tools and techniques available to JavaScript developers. Coverage includes modern coding practices using HTML5 markup, the JSON data format, DOM APIs, the jQuery framework, and more. Exercises wit
Titolo autorizzato: Beginning JavaScript  Visualizza cluster
ISBN: 1-119-20942-0
1-118-90374-9
1-118-90343-9
Formato: Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione: Inglese
Record Nr.: 9910132449803321
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui