Search results for """ "Advanced JavaScript for FrontEnd Developers""
Independently Published Advanced JavaScript for FrontEnd Developers
£16.00
Independently Published Mastering Frontend Development with React
£32.44
O'Reilly Media Node for FrontEnd Developers
Book SynopsisNode gives JavaScript developers incredible server-side power, but transitioning from front-end development to the server is difficult. This guide walks developers through the mental shift, demonstrating how techniques from the browser translate to work on the server, and helping them bring tools from the client side back to the server.
£10.79
APress Frameworkless FrontEnd Development
Book SynopsisExplore an alternative method of front-end application development without using frameworks or third-party libraries. This updated book provides you with the required skills and freedom to consider a no framework approach when choosing a technology for creating a new project. New topics covered include a brief history of JavaScript frameworks and their key developments, how to protect domain code, and how to work with frameworkless in legacy applications. You'll work through the most important issues in a clear and sensible way, using practical methods and tools to gain an understanding of non-functional requirements. This book answers questions on important topics such as state management, making a routing system, creating a REST client using fetch, and reveals the trade-offs and risks associated with choosing the wrong framework or tool for your project, as well as provides sustainability, and functional alternatives. Frameworkless Front-End Development breaksdown the concept of Table of Contents
£29.99
O'Reilly Media Mastering Modular JavaScript
Book SynopsisTackle two aspects of JavaScript development, modularity and ECMAScript 6 (ES6). With this practical guide, frontend and backend Node.js developers alike will learn how to scale out JavaScript applications by breaking codebases into smaller modules. Author Nicolas Bevacqua also covers features in ES6--the latest version of the specification that includes JavaScript--that support modularization. If you're a frontend developer or backend Node.js developer with a working knowledge of JavaScript, this book is for you. It's ideal for semi-senior developers, senior developers, technical leaders, and software architects.
£29.99
John Wiley & Sons Inc Professional JavaScript for Web Developers
Book SynopsisTable of ContentsFOREWORD xliii INTRODUCTION xlv CHAPTER 1: WHAT IS JAVASCRIPT? 1 CHAPTER 2: JAVASCRIPT IN HTML 9 CHAPTER 3: LANGUAGE BASICS 19 CHAPTER 4: VARIABLES, SCOPE, AND MEMORY 97 CHAPTER 5: BASIC REFERENCE TYPES 119 CHAPTER 6: ADVANCED REFERENCE TYPES 159 CHAPTER 7: ITERATORS AND GENERATORS 217 CHAPTER 8: OBJECTS, CLASSES, AND OBJECT'ORIENTED PROGRAMMING 251 CHAPTER 9: PROXIES AND REFLECT 323 CHAPTER 10: FUNCTIONS 349 CHAPTER 11: PROMISES AND ASYNC/AWAIT 383 CHAPTER 12: THE BROWSER OBJECT MODEL 435 CHAPTER 13: THE DOCUMENT OBJECT MODEL 459 CHAPTER 14: DOM EXTENSIONS 507 CHAPTER 15: EVENTS 557 CHAPTER 16: ANIMATION AND GRAPHICS WITH CANVAS 609 CHAPTER 17: SCRIPTING FORMS 645 CHAPTER 18: JAVASCRIPT APIs 675 CHAPTER 19: ERROR HANDLING AND DEBUGGING 765 CHAPTER 20: JSON 791 CHAPTER 21: NETWORK REQUESTS AND REMOTE RESOURCES 801 CHAPTER 22: CLIENT'SIDE STORAGE 839 CHAPTER 23: MODULES 861 CHAPTER 24: WORKERS 887 CHAPTER 25: BEST PRACTICES 955 APPENDIX A: ES.NEXT 987 APPENDIX B: STRICT MODE 991 APPENDIX C: JAVASCRIPT LIBRARIES AND FRAMEWORKS 999 APPENDIX D: JAVASCRIPT TOOLS 1005 INDEX 1017
£45.12
Amazon Digital Services LLC - Kdp FrontEnd Engineering with JavaScript
£14.09
Independently Published Frontend Web Development
£10.25
Independently Published Front End JavaScript Development Handbook React Angular and Vue Compared
£15.03
Packt Publishing Limited Learn React with TypeScript: A beginner's guide to reactive web development with React 18 and TypeScript
Book SynopsisTake your first step in building modern-day component-based web apps using the latest features and capabilities of React and TypeScript with this easy-to-follow guide Key Features Learn to use different React hooks with TypeScript Explore different styling approaches while building React web apps Gain experience in using React Dev Tools to debug components Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionReading, navigating, and debugging a large frontend codebase is a major issue faced by frontend developers. This book is designed to help web developers like you learn about ReactJS and TypeScript, both of which power large-scale apps for many organizations. This second edition of Learn React with TypeScript is updated, enhanced, and improved to cover new features of React 18 including hooks, state management libraries, and features of TypeScript 4. The book will enable you to create well-structured and reusable React components that are easy to read and maintain, leveraging modern design patterns. You’ll be able to ensure that all your components are type-safe, making the most of TypeScript features, including some advanced types. You’ll also learn how to manage complex states using Redux and how to interact with a GraphQL web API. Finally, you’ll discover how to write robust unit tests for React components using Jest. By the end of the book, you’ll be well-equipped to use both React and TypeScript.What you will learn Gain first-hand experience of TypeScript and its productivity features Understand how to transpile your TypeScript code into JavaScript for running in a browser Build a React frontend codebase with hooks Interact with REST and GraphQL web APIs Design and develop strongly typed reusable components Create automated component tests Who this book is forThis book is for experienced frontend developers looking to build large scale web applications using React and TypeScript. Intermediate knowledge of JavaScript, HTML and CSS is a prerequisite.Table of ContentsTable of Contents Introducing React Introducing TypeScript Setting Up React and TypeScript Using React Hooks Approaches to Styling React Frontends Routing with React Router Working with Forms State Management Interacting with RESTful APIs Interacting with GraphQL APIs Reusable Components Unit Testing with Jest and React Testing Library
£47.23
Mike Murach & Associates Inc. Murach's JavaScript
Book SynopsisToday, JavaScript is used in 89.9% of all websites, including the most heavily-trafficked sites like Google, Facebook, YouTube, and Amazon. That is why every web developer should know how to use JavaScript. The problem is that JavaScript is surprisingly difficult to learn, not only for programming novices but also for experienced programmers. But now, Murach''s JavaScript makes it easier than ever to become an accomplished JavaScript programmer. To make that possible, section 1 of this book presents a six-chapter course in JavaScript that gets you off to a great start. This section works for programming novices as well as experienced programmers because it lets you set your own pace. When you finish this section, you will be able to write, test and debug JavaScript applications of your own. Then, section 2 builds on that base by presenting the additional skills that every JavaScript programmer must have. That includes working with arrays and web storage, creating and using your own object types in object-oriented applications, using regular expressions for data validation, and much more. For many developers, sections 1 and 2 will be all that they need to know. But for those who want to move on to the expert level, section 3 presents the skills that will get you there. That includes skills like how to bulletproof your applications by using closures, namespaces, and modules; how to make your functions more useful by using callbacks; and how to use JSON to transmit and store data. Then, the last chapter in this section introduces you to jQuery and shows you how it can make your JavaScript code even better.
£47.59
Pragmatic Bookshelf Rediscovering JavaScript: Master ES6, ES7, and
Book SynopsisJavaScript is no longer to be feared or loathed - the world's most popular and ubiquitous language has evolved into a respectable language. Whether you're writing frontend applications or server side code, the phenomenal features from ES6 and beyond - like the rest operator, generators, destructuring, object literals, arrow functions, modern classes, promises, async, and metaprogramming capabilities - will get you excited and eager to program with JavaScript. You've found the right book to get started quickly and dive deep into the essence of modern JavaScript. Learn practical tips to apply the elegant parts of the language and the gotchas to avoid. JavaScript is a black swan that no one, including the author of the language, thought would become a popular and ubiquitous language. Not long ago, it was the most hated and feared language you could use to program the web. JavaScript ES6 and beyond has gone through a significant makeover. Troublesome features have been replaced with better, elegant, more reliable alternatives. This book includes many practical examples and exercises to help you learn in depth. It will not bore you with idiosyncrasies and arcane details intended for bad interview questions. Instead, it takes you into key features that you can readily use in your day-to-day projects. Whether you program the frontend or the server side, you can now write concise, elegant, and expressive JavaScript with newer features like default parameters, template literals, rest and spread operators, destructuring, arrow functions, and generators. Take it up a notch with features like infinite series, promises, async, and metaprogramming to create flexible, powerful, and extensible libraries. While the evolved features of the language will draw you in, the hundreds of examples in this book will pin the concepts down, for you to use on your projects. Take command of modern JavaScript and unlock your potential to create powerful applications. What You Need: To try out the examples in the book you will need a computer with Node.js, a text editor, and a browser like Chrome installed in it.
£35.14
Amazon Digital Services LLC - Kdp Full Stack JavaScript Development
£16.19
Penguin Random House Group Eloquent JavaScript 4th Edition
Book Synopsis
£35.99
Amazon Digital Services LLC - Kdp JavaScript na Prática Do Básico ao Avançado com Projetos Web
£12.12
John Wiley & Sons Inc JavaScript AllinOne For Dummies
Book SynopsisTable of ContentsIntroduction 1 Book 1: JavaScript Fundamentals 7 Chapter 1: Jumping into JavaScript 9 Chapter 2: Filling Your JavaScript Toolbox 41 Chapter 3: Using Data 63 Chapter 4: Working with Operators and Expressions 81 Chapter 5: Controlling Flow 91 Chapter 6: Using Arrays 105 Chapter 7: Making and Using Objects 125 Chapter 8: Writing and Running Functions 139 Chapter 9: Getting Oriented with Classes 167 Chapter 10: Making Things Happen with Events 181 Chapter 11: Writing Asynchronous JavaScript 197 Chapter 12: Using JavaScript Modules 223 Book 2: Meet Your Web Browser 231 Chapter 1: What a Web Browser Does 233 Chapter 2: Programming the Browser 241 Book 3: React 261 Chapter 1: Getting Started with React 263 Chapter 2: Writing JSX 281 Chapter 3: Building React Components 297 Chapter 4: Using Data and Events in React 327 Book 4: Vue 341 Chapter 1: Getting an Overview of Vue 343 Chapter 2: Introducing Vue Components 357 Chapter 3: Making Vue Templates 369 Chapter 4: Using Data and Reactivity 395 Chapter 5: Responding to Events 411 Book 5: Svelte 421 Chapter 1: Getting Started with Svelte 423 Chapter 2: Building with Components 437 Chapter 3: Designing Templates 451 Chapter 4: Using Directives 463 Chapter 5: Using the Component Lifecycle 471 Chapter 6: Advanced Svelte Reactivity 483 Book 6: Sharpening Your Tools 493 Chapter 1: Building from Scratch 495 Chapter 2: Optimizing and Bundling 513 Chapter 3: Testing Your JavaScript 535 Book 7: Node.js 557 Chapter 1: Node.js Fundamentals 559 Chapter 2: Streaming 587 Chapter 3: Working with Buffers 603 Chapter 4: Accessing the File System 613 Chapter 5: Networking with Node 627 Chapter 6: Using Events 639 Chapter 7: Error Handling and Debugging 651 Chapter 8: Accessing Databases 673 Chapter 9: Riding on the Express Train 697 Chapter 10: Registration and Authentication 721 Index 755
£23.79
Independently Published Python for FrontEnd Developers
£19.87
Rheinwerk Publishing Inc. JavaScript
Book SynopsisBegin your JavaScript journey with this comprehensive, hands-on guide. You’ll learn everything there is to know about professional JavaScript programming, from core language concepts to essential client-side tasks.
£44.99
APress JavaScript for Web Developers
Book SynopsisLearn the basics of JavaScript to enhance your web pages. This book focuses on modern JavaScript programming and encourages a well-organized approach to programming in general. JavaScript for Web Developers explains each foundational concept of the language, followed by a practical implementation of that lesson to reinforce what you've learned. Author Mark Simon starts with the basics of JavaScript programming, followed by a tutorial on manipulating HTML elements. You will then learn to work with forms, along with CSS and Event Listeners. Hands-on projects will not only solidify each concept in your mind, but they will also give you greater confidence and help you absorb best practices. The book concludes with coverage of Ajax, which will enable you to send and retrieve data from a server asynchronously without interfering with the display and behavior of an existing web page. After reading this book, you will be able to use JavaScript to design and program your own web applications. What Will You LearnUnderstand the basics of JavaScript programmingManipulate and modify web pages with JavaScriptUse JavaScript to interact with HTML and CSSWork with data and understand the basics of working with AjaxWho Is This Book ForBeginning web developers with little to no experience using JavaScript.Table of ContentsChapter 1: Working With JavaScript.- Chapter 2: Project — A Simple Guessing Game.- Chapter 3: Manipulating HTML Elements.- Chapter 4: Project — Creating a Slide Show.- Chapter 5: Working with Forms.- Chapter 6: Project — Creating a Custom Calculator Form.- Chapter 7: Interacting with CSS and Event Listeners.- Chapter 8: Project— Showing and Hiding Content.- Chapter 9: Project— Building a Lightbox Gallery.- Chapter 10: Project - An Introduction to Ajax.
£37.99
Cengage Learning, Inc JavaScript for Web Warriors
Book SynopsisLearn to use JavaScript, the popular scripting language that allows web page authors to develop interactive web pages and sites. Carey/Vodnik's JAVASCRIPT FOR WEB WARRIORS, Seventh Edition introduces a variety of techniques that focus on what you need to know to begin using JavaScript right away. Step-by-step tasks within each chapter highlight particular techniques essential for building actual JavaScript programs. Guided activities reinforce skills and build in complexity as you progress. You also study debugging techniques. Using accompanying MindTap digital resources, you read and immediately practice with embedded JavaScript coding exercises in an authentic integrated development environment (IDE). Learning objectives, summaries, review and key terms highlight major concepts while reinforcement exercises let you further practice new techniques. After completing your course, you will able to use JavaScript to build professional quality web applications.Table of Contents1. Introduction to JavaScript 2. Working with Functions, Data Types, and Operators 3. Building Arrays and Controlling Flow 4. Debugging and Error Handling 5. Creating a Web App Using the Document Object Model 6. Enhancing and Validating Forms 7. Manipulating Data In Strings Arrays, and Other Objects 8. Creating Customized Objects, Properties, and Methods 9. Managing State Information and Security 10. Programming for Touchscreens and Mobile Devices 11. Updating Web Pages with Ajax 12. Working with Frameworks Appendix A. Installing and Configuring a Testing Server Appendix B. Working with HTML and CSS Appendix C. Solutions to Quick Checks
£190.45
O'Reilly Media Frontend Architecture for Design Systems
Book SynopsisThis practical book takes experienced web developers through the new discipline of frontend architecture, including the latest tools, standards, and best practices that have elevated frontend web development to an entirely new level.
£20.39
Amazon Digital Services LLC - Kdp Typescript for Front End Development
£23.97
O'Reilly Media Functional JavaScript
Book SynopsisWith this book, you'll learn how to create code that's beautiful, safe, and simple to understand and test by using JavaScript's functional programming support. Author Michael Fogus shows you how to apply functional-style concepts with Underscore.js, a JavaScript library that facilitates functional programming techniques.
£19.19
Pearson Education (US) Learn Enough JavaScript to Be Dangerous
Book SynopsisMichael Hartl created the legendary Ruby on Rails Tutorial that helped jumpstart thousands of web development careers. A cofounder and principal author at Learn Enough, Hartl previously earned a Ph.D. in physics at the California Institute of Technology (Caltech), where he received a Lifetime Achievement Award for Excellence in Teaching. He is also an alumnus of Harvard University and the world-renowned Y Combinator entrepreneur program.Trade ReviewPraise for Learn Enough Tutorials "I have nothing but fantastic things to say about @LearnEnough courses. I am just about finished with the #javascript course. I must say, the videos are mandatory because @mhartl will play the novice and share in the joy of having something you wrote actually work!" --Claudia Vizena "I must say, this Learn Enough series is a masterpiece of education. Thank you for this incredible work!" --Michael King "I want to thank you for the amazing job you have done with the tutorials. They are likely the best tutorials I have ever read." --Pedro IatzkyTable of ContentsPreface xiii About the Author xvii Chapter 1: Hello, World! 1 1.1 Introduction to JavaScript 5 1.2 JS in a Web Browser 7 1.3 JS in a REPL 14 1.4 JS in a File 21 1.5 JS in a Shell Script 22 Chapter 2: Strings 25 2.1 String Basics 25 2.2 Concatenation and Interpolation 27 2.3 Printing 33 2.4 Properties, Booleans, and Control Flow 35 2.5 Methods 44 2.6 String Iteration 50 Chapter 3: Arrays 55 3.1 Splitting 55 3.2 Array Access 56 3.3 Array Slicing 58 3.4 More Array Methods 59 3.5 Array Iteration 62 Chapter 4: Other Native Objects 65 4.1 Math and Number 65 4.2 Dates 69 4.3 Regular Expressions 73 4.4 Plain Objects 81 4.5 Application: Unique Words 83 Chapter 5: Functions 91 5.1 Function Definitions 91 5.2 Functions in a File 95 5.3 Method Chaining 104 5.4 Iteration for Each 110 Chapter 6: Functional Programming 115 6.1 Map 116 6.2 Filter 122 6.3 Reduce 126 Chapter 7: Objects and Prototypes 135 7.1 Defining Objects 135 7.2 Prototypes 139 7.3 Modifying Native Objects 147 Chapter 8: Testing and Test-Driven Development 153 8.1 Testing Setup 154 8.2 Initial Test Coverage 159 8.3 Red 164 8.4 Green 172 8.5 Refactor 177 Chapter 9: Events and DOM Manipulation 187 9.1 A Working Palindrome Page 187 9.2 Event Listeners 192 9.3 Dynamic HTML 202 9.4 Form Handling 205 Chapter 10: Shell Scripts with Node.js 215 10.1 Reading from Files 216 10.2 Reading from URLs 218 10.3 DOM Manipulation at the Command Line 224 Chapter 11: Full Sample App: Image Gallery 235 11.1 Prepping the Gallery 235 11.2 Changing the Gallery Image 242 11.3 Setting an Image as Current 250 11.4 Changing the Image Info 252 11.5 Conclusion 259 Index 263
£23.99
Amazon Digital Services LLC - Kdp Next.js for Modern Developers
£15.87
Mike Murach & Associates Inc. Murach's JavaScript and jQuery (4th Edition)
Book Synopsis
£51.84
Amazon Digital Services LLC - Kdp JavaScript Handbook Advanced Functions
£14.08
Independently Published Modern JavaScript Engineering
£20.91
CRC Press Conquering JavaScript
Book SynopsisHave you ever considered how these visuals and games are shown in a web browser? What technology is at the heart of it? Of course, employing HTML and CSS alone will not be sufficient. Three.js is a free JavaScript toolkit for displaying images, 3D, and 2D objects in web browsers that enables you to render graphics and 3D objects on a canvas in the web browser using your GPU (Graphics Processing Unit).Conquering JavaScript: Three.js helps the reader master the Three.js framework for faster and robust development. The book is a detailed guide that will help developers and coders do more with Three.js. It covers the basics in brief, and then moves on to more advanced and detailed exercises to help readers quickly gain the required knowledge.
£37.99
Pearson Education (US) Modern JavaScript for the Impatient
Book SynopsisCay S. Horstmann is principal author of Core JavaTM Volumes I & II, Eleventh Edition (Pearson, 2018), Scala for the Impatient, Second Edition (2016), and Core Java SE 9 for the Impatient (2017). Cay is a professor of computer science at San Jose State University, a Java Champion, and a frequent speaker at computer industry conferences.Table of ContentsPreface xvAbout the Author xxi Chapter 1: Values and Variables 11.1 Running JavaScript 11.2 Types and the typeofOperator 51.3 Comments 51.4 Variable Declarations 61.5 Identifiers 71.6 Numbers 81.7 Arithmetic Operators 91.8 Boolean Values 121.9 null and undefined 121.10 String Literals 131.11 Template Literals 151.12 Objects 161.13 Object Literal Syntax 171.14 Arrays 181.15 JSON 201.16 Destructuring 211.17 Advanced Destructuring 23Exercises 24 Chapter 2: Control Structures 272.1 Expressions and Statements 272.2 Semicolon Insertion 292.3 Branches 312.4 Boolishness 342.5 Comparison and Equality Testing 342.6 Mixed Comparisons 362.7 Boolean Operators 372.8 The switchStatement 392.9 while anddo Loops 402.10 for Loops 412.11 Breaking and Continuing 442.12 Catching Exceptions 46Exercises 47 Chapter 3: Functions and Functional Programming 513.1 Declaring Functions 513.2 Higher-Order Functions 533.3 Function Literals 543.4 Arrow Functions 543.5 Functional Array Processing 563.6 Closures 573.7 Hard Objects 593.8 Strict Mode 613.9 Testing Argument Types 623.10 Supplying More or Fewer Arguments 633.11 Default Arguments 643.12 Rest Parameters and the Spread Operator 643.13 Simulating Named Arguments with Destructuring 663.14 Hoisting 673.15 Throwing Exceptions 693.16 Catching Exceptions 703.17 The finallyClause 72Exercises 73 Chapter 4: Object-Oriented Programming 774.1 Methods 774.2 Prototypes 784.3 Constructors 814.4 The Class Syntax 834.5 Getters and Setters 854.6 Instance Fields and Private Methods 854.7 Static Methods and Fields 864.8 Subclasses 874.9 Overriding Methods 894.10 Subclass Construction 904.11 Class Expressions 914.12 The thisReference 92Exercises 95 Chapter 5: Numbers and Dates 995.1 Number Literals 995.2 Number Formatting 1005.3 Number Parsing 1015.4 Number Functions and Constants 1025.5 Mathematical Functions and Constants 1035.6 Big Integers 1055.7 Constructing Dates 1055.8 Date Functions and Methods 1095.9 Date Formatting 110Exercises 110 Chapter 6: Strings and Regular Expressions 1156.1 Converting between Strings and Code Point Sequences 1156.2 Substrings 1166.3 Other String Methods 1186.4 Tagged Template Literals 1216.5 Raw Template Literals 1226.6 Regular Expressions 1236.7 Regular Expression Literals 1276.8 Flags 1276.9 Regular Expressions and Unicode 1296.10 The Methods of the RegExpClass 1306.11 Groups 1316.12 String Methods with Regular Expressions 1336.13 More about Regex Replace 1356.14 Exotic Features 136Exercises 137 Chapter 7: Arrays and Collections 1417.1 Constructing Arrays 1417.2 The lengthProperty and Index Properties 1437.3 Deleting and Adding Elements 1447.4 Other Array Mutators 1457.5 Producing Elements 1487.6 Finding Elements 1497.7 Visiting All Elements 1507.8 Sparse Arrays 1527.9 Reduction 1537.10 Maps 1567.11 Sets 1587.12 Weak Maps and Sets 1597.13 Typed Arrays 1607.14 Array Buffers 163Exercises 164 Chapter 8: Internationalization 1678.1 The Locale Concept 1678.2 Specifying a Locale 1688.3 Formatting Numbers 1718.4 Localizing Dates and Times 1728.5 Collation 1768.6 Other Locale-Sensitive String Methods 1778.7 Plural Rules and Lists 1788.8 Miscellaneous Locale Features 180Exercises 181 Chapter 9: Asynchronous Programming 1859.1 Concurrent Tasks in JavaScript 1859.2 Making Promises 1889.3 Immediately Settled Promises 1919.4 Obtaining Promise Results 1919.5 Promise Chaining 1929.6 Rejection Handling 1949.7 Executing Multiple Promises 1969.8 Racing Multiple Promises 1979.9 Async Functions 1979.10 Async Return Values 1999.11 Concurrent Await 2019.12 Exceptions in Async Functions 202Exercises 203 Chapter 10: Modules 20910.1 The Module Concept 20910.2 ECMAScript Modules 21010.3 Default Imports 21110.4 Named Imports 21210.5 Dynamic Imports 21310.6 Exports 21310.7 Packaging Modules 217Exercises 218 Chapter 11: Metaprogramming 22111.1 Symbols 22111.2 Customization with Symbol Properties 22311.3 Property Attributes 22511.4 Enumerating Properties 22811.5 Testing a Single Property 22911.6 Protecting Objects 23011.7 Creating or Updating Objects 23111.8 Accessing and Updating the Prototype 23111.9 Cloning Objects 23211.10 Function Properties 23511.11 Binding Arguments and Invoking Methods 23611.12 Proxies 23711.13 The ReflectClass 24011.14 Proxy Invariants 242Exercises 244 Chapter 12: Iterators and Generators 24912.1 Iterable Values 24912.2 Implementing an Iterable 25012.3 Closeable Iterators 25212.4 Generators 25412.5 Nested Yield 25512.6 Generators as Consumers 25712.7 Generators and Asynchronous Processing 25912.8 Async Generators and Iterators 261Exercises 263 Chapter 13: An Introduction to Typescript 26913.1 Type Annotations 27013.2 Running TypeScript 27113.3 Type Terminology 27313.4 Primitive Types 27413.5 Composite Types 27513.6 Type Inference 27713.7 Subtypes 28013.8 Classes 28413.9 Structural Typing 28713.10 Interfaces 28813.11 Indexed Properties 29013.12 Complex Function Parameters 29113.13 Generic Programming 297Exercises 305 Index 309
£30.59
Amazon Digital Services LLC - Kdp Advanced JavaScript Techniques
£19.79
Dpunkt.Verlag GmbH JavaScript Das Handbuch fr die Praxis Meistern
Book Synopsis
£35.92
Mike Murach & Associates, Inc Murachs Modern JavaScript
Book Synopsis
£45.74
Amazon Digital Services LLC - Kdp JavaScript for BackEnd Devs
£17.99
Pragmatic Bookshelf Simplifying JavaScript: Writing Modern JavaScript
Book SynopsisThe best modern JavaScript is simple, readable, and predictable. Learn to write modern JavaScript not by memorizing a list of new syntax, but with practical examples of how syntax changes can make code more expressive. Starting from variable declarations that communicate intention clearly, see how modern principles can improve all parts of code. Incorporate ideas with curried functions, array methods, classes, and more to create code that does more with less while yielding fewer bugs. It's time to write JavaScript code that's clean and exprssive. Modern JavaScript is more simple, predictable, and readable than ever. Discover how to write better code with clear examples using principles that show how updated syntax can make code better with fewer bugs. Starting from the ground up, learn new syntax (or how to reuse older syntax) to transform code from clunky bug-susceptible scripts to clear and elegant programs that are easy to read and easy to extend. Create a foundation for readable code with simple variable declarations that reduce side effects and subtle bugs. Select collections with clear goals instead of defaulting to objects or arrays. See how to simplify iterations from complex loops to single line array methods. Master techniques for writing flexible and solid code ranging from high-order functions, to reusable classes, to patterns for architecting large applications creating applications that will last while through rounds of refactoring and changing requirements. The best part is there's no need to read this book straight through. Jump around and incorporate new functionality at will. Most importantly, understand not just what the new syntax is, but when and how to use it. Start writing better code from the first page. What You Need: For the best experience, have the latest version of Node installed (at least version 7). You can test most examples in the console of Chrome or other modern web browser. If you'd like to run the tests, you'll also need to install the latest version of Node Package Manager (npm).
£36.57
Amazon Digital Services LLC - Kdp FullStack JavaScript Development
£17.09
JavaScript como nunca antes se lo habían contado
Book SynopsisExplore JavaScript y lleve sus páginas web al siguiente nivel Si conoce HTML y CSS, ya habrá experimentado la satisfacción de poder desarrollar sus propias páginas web. Pero también se habrá dado cuenta de la limitación que conlleva trabajar únicamente con contenido estático. La necesidad de superar esta restricción fue precisamente la que motivó el nacimiento de JavaScript, cuya principal fortaleza es su capacidad para generar contenido de forma dinámica durante la interacción con el usuario. En este libro encontrará la descripción del lenguaje JavaScript desde cero, por lo que partirá de los conceptos de programación más básicos, como los tipos de datos primitivos, y llegará a otros más avanzados, como los objetos, que le llevarán al conocimiento de los modelos DOM (Document Object Model, modelo de objetos del documento) y BOM (Browser Object Model, modelo de objetos del navegador). Gracias a esta lectura podrá: ' Crear y modificar páginas web de forma dinámica. Las etiquetas HTML se convertirán en piezas de LEGO que le permitirán construir la estructura que luego rellenará con el texto y las imágenes, a las que finalmente aplicará el estilo deseado. ' Generar animaciones y juegos en los que existan objetos o personajes capaces de relacionarse entre sí o con el usuario. ' Compartir datos entre páginas o almacenarlos en el propio dispositivo para recuperarlos posteriormente. ' Desarrollar aplicaciones web que puedan ser manejadas tanto con un teclado y un ratón como a través de pantallas táctiles. ' Utilizar sensores presentes en la mayoría de los teléfonos móviles, como el giroscopio o el acelerómetro, para controlar una aplicación web en base a su posición. Todos los conceptos introducidos en cada capítulo van seguidos de ejemplos que muestran cómo llevarlos a la práctica. Su código, ya sea HTML, CSS o JavaScript, se explica línea a línea para aclarar cualquier interrogante sobre su funcionamiento. No lo dude y adéntrese en el mundo de las aplicaciones web con JavaScript para dar un paso más allá como desarrollador de páginas HTML. Tomás Domínguez es ingeniero de telecomunicación y doctorado en inteligencia artificial. Su labor profesional se ha desarrollado en una multinacional de telecomunicaciones, donde ha ocupado diversos cargos relacionados con la tecnología. Asimismo, ha ejercido como profesor universitario de ingeniería informática en la Universidad Alfonso X el Sabio de Madrid.
£34.95
Lulu.com Cuadernillo JavaScript 1 Desarrollo Web en Entorno Cliente 99 Prcticas y Ejercicios
a huge range and FREE tracked UK delivery on ALL orders.
£14.47
Pearson Education (US) Javascript Absolute Beginners Guide Third Edition
Book SynopsisKirupa Chinnathambi has spent most of his life trying to teach others to love web development as much as he does. In 1999, before blogging was even a word, he started posting tutorials on kirupa.com. In the years since then, he has written hundreds of articles, written a few books (none as good as this one, of course!), and recorded a bunch of videos you can find on YouTube. When he isn't writing or talking about web development, he spends his waking hours helping make developers happy and productive as a Product Manager at Google. In his nonwaking hours, he is probably sleeping, joining Meena in running after their daughter Akira, protecting himself from Pixel (aka a T-rex in an unassuming cat's body)or writing about himself in the third person. You can find him on Twitter, Facebook, LinkedIn, and the interwebs at large. Just search for his name in your favorite search engine.Table of ContentsIntroduction...................1 Parlez-Vous JavaScript? 2 Contacting Me/Getting Help...................... 2 1 Hello, World!... 5 What Is JavaScript?....... 7 Hello, World!.................. 9 Statements, Expressions, and Functions..12 I The Basic Stuff 2 Values and Variables..................... 15 Using Variables............16 More Variable Stuff......18 3 Functions....... 23 What Is a Function?.....26 A Simple Function.......26 Creating a Function That Takes Arguments...........................30 Creating a Function That Returns Data...35 4 Conditional Statements: if, else, and switch............... 39 The If/Else Statement..40 Switch Statements.......49 Deciding Which to Use..............................55 5 Looping with for, while, and do…while!...................... 57 The for Loop................59 The Starting Point........62 Some for Loop Examples..........................64 The Other Loops.........67 6 Commenting Your Code…FTW!.... 71 What Are Comments?.72 Commenting Best Practices......................76 7 Timers............ 79 Delaying with setTimeout..........................80 8 Variable Scope.............................. 85 Global Scope...............86 Local Scope..................88 Miscellaneous Scoping Shenanigans.......89 9 Closures......... 95 Functions Within Functions.......................96 When the Inner Functions Aren't Self-Contained................100 10 Where Should Your Code Live?.. 109 Approach #1: All the Code Lives in Your HTML Document...................113 Approach #2: The Code Lives in a Separate File................114 So, Which Approach to Use?..................118 11 Console Logging Basics.............. 123 Meet the Console......124 Displaying the Console............................126 If You Want to Follow Along...................127 Console Logging 101..............................128 II It's an Object-Oriented World 12 Of Pizza, Types, Primitives, and Objects................... 135 Let's First Talk About Pizza.......................136 From Pizza to JavaScript!.........................139 What Are Objects?....141 The Predefined Objects Roaming Around in JavaScript....142 13 Arrays.......... 145 Creating an Array......146 Accessing Array Values............................147 Adding Items.............149 Removing Items.........151 Finding Items.............152 Merging Arrays..........152 Mapping, Filtering, and Reducing Arrays.............................153 The Old School Way.153 Modifying Each Array Item with map.....154 Getting One Value from an Array of Items...........................157 A Short Foray into Functional Programming........................160 14 Strings......... 161 The Basics...................162 String Properties and Methods...............163 15 Combining Strings and Variables 173 Our Setup...................174 16 When Primitives Behave Like Objects....................... 179 Strings Aren't the Only Problem.............180 Let's Pick on Strings Anyway...................180 Why This Matters.......182 17 Numbers...... 185 Using a Number........186 Operators...................187 Incrementing and Decrementing............188 Hexadecimal and Octal Values...............190 Special Values—Infinity and NaN...........190 The Math Object.......191 Random Numbers.....196 18 Getters and Setters.................... 201 A Tale of Two Properties..........................202 Meet Getters and Setters........................205 19 A Deeper Look at Objects.......... 211 Meet the Object........212 Creating Custom Objects........................222 The this Keyword.......226 20 Using Classes.............................. 231 The Class Syntax and Object Creation..232 Extending Objects.....240 21 Extending Built-in Objects.......... 247 Say Hello to prototype Again, Sort Of!..249 Using a Subclassing Approach................253 Extending Built-in Objects Is Controversial................255 22 Arrow Functions......................... 259 What Are Arrow Functions?.....................260 Putting It All Together..............................263 23 Making Sense of this and More.. 265 The this Keyword 101..............................266 24 Booleans and the Stricter === and !== Operators... 277 The Boolean Object..278 The Boolean Function..............................278 Strict Equality and Inequality Operators281 25 Null and Undefined.................... 283 Null..............................284 Undefined...................284 26 All About JSON (JavaScript Object Notation).......... 287 What Is JSON?...........288 Looking Inside a JSON Object...............292 Reading JSON Data..297 Writing JSON Data?..300 III Working with the DOM 27 JS, the Browser, and the DOM... 303 What HTML, CSS, and JavaScript Do....304 HTML Defines the Structure....................304 Prettify My World, CSS!...........................306 It's JavaScript Time!...307 Meet the Document Object Model........309 28 Finding Elements in the DOM.... 315 Meet the querySelector Family...............316 It Really Is the CSS Selector Syntax........318 29 Modifying DOM Elements.......... 321 DOM Elements Are Objects, Sort Of!....322 Let's Actually Modify DOM Elements.....324 30 Styling Our Content................... 337 Why Would We Set Styles Using JavaScript?..............338 A Tale of Two Styling Approaches..........338 31 Using CSS Custom Properties.... 345 What Are CSS Custom Properties/Variables?................346 Setting Complex Values Easily................348 32 Traversing the DOM................... 353 Finding Your Way Around........................354 Putting It All Together..............................358 33 Creating and Removing DOM Elements.................... 363 Creating Elements.....364 Removing Elements..372 Cloning Elements......374 34 Quickly Adding Many Elements into the DOM......... 381 General Approach.....383 Getting Started..........384 35 In-Browser Developer Tools........ 397 Meet the Developer Tools.......................398 IV Dealing with Events 36 Events.......... 417 What Are Events?......418 Events and JavaScript..............................420 A Simple Example.....423 The Event Arguments and the Event Type.............426 37 Event Bubbling and Capturing... 429 Event Goes Down, Event Goes Up........430 Meet the Phases........434 Who Cares?................437 Event, Interrupted.....438 38 Mouse Events............................. 443 Meet the Mouse Events...........................444 The MouseEvent Properties....................451 Dealing with the Mouse Wheel..............454 39 Keyboard Events........................ 457 Meet the Keyboard Events......................458 Using These Events...459 The Keyboard Event Properties..............460 Some Examples.........461 40 Page Load Events and Other Stuff............................ 467 The Things That Happen During Page Load..........468 The DOMContentLoaded and load Events................471 Scripts and Their Location in the DOM.473 Script Elements: async and defer...........477 41 Loading Script Files Dynamically 481 The Basic Technique.482 Running Our Dynamically Loaded Script First............486 Running Dependent Code After Our Script File Has Loaded........488 42 Handling Events for Multiple Elements..................... 491 How to Do All This....493 V Totally Useful Topics that Only Make Sense Now 43 Using Emojis in HTML, CSS, and JavaScript.............. 501 What Are Emojis Exactly?........................502 Emojis in HTML..........503 44 Making HTTP/Web Requests in JavaScript................ 511 The Example..............513 Meet Fetch.................514 Meet XMLHttpRequest............................520 45 Accessing the Webcam............... 529 The Example..............530 Overview of How This Works..................531 Adding the Code.......532 Examining the Code.535 46 Array and Object Destructuring. 539 Destructuring Examples...........................541 47 Storing Data Using Web Storage.............................. 549 How Web Storage Works........................550 Getting Your Code On.............................552 48 Variable and Function Hoisting.. 559 JavaScript and Compiler Behavior.........560 49 Working with Sets...................... 565 Creating a Set, Part I.566 Adding Items to a Set..............................567 How Checking for Duplicates Works......567 Creating a Set, Part 2569 Checking the Size of Our Set..................570 Deleting Items from a Set.......................571 Checking If an Item Exists.......................572 Looping Through Items in a Set.............572 Entries, Keys, and Values.........................573 50 Conclusion... 577 Glossary............................ 581 9780137959167, TOC, 10/13/2022
£25.49
Amazon Digital Services LLC - Kdp JavaScript for BackEnd Development
£15.94
O'Reilly Media JavaScript for PHP Developers
Book SynopsisIf you want to significantly expand your web development skills beyond PHP, this practical, hands-on book teaches you ECMAScript - the core JavaScript language - from the ground up.
£10.79
Amazon Digital Services LLC - Kdp JavaScript and Node.js for FullStack Developers
£14.89
Independently Published Mastering Advanced JavaScript
£14.28
John Wiley & Sons JavaScript Essentials For Dummies
Book SynopsisThe concise and digestible get-started guide to JavaScript programming JavaScript Essentials For Dummies is your quick reference to all the core concepts about JavaScriptthe dynamic scripting language that is often the final step in creating powerful websites. This no-nonsense book gets right to the point, eliminating review material, wordy explanations, and fluff. Find out all you need to know about the foundations of JavaScript, swiftly and crystal clear. Perfect for a brush-up on the basics or as an everyday desk reference on the job, this is the reliable little book you can always turn to for answers. Get a quick and thorough intro to the basic concepts of coding with JavaScriptReview what you've already learned or pick up essential new skillsAdd interactive features to websites with JavaScript programmingKeep this concise reference book handy for jogging your memory as you work This book is to the point, focusing on the key topics you need to know about this popular programming language. Great for supplementing classroom learning, reviewing for a certification, or staying knowledgeable on the job.
£11.69
Independently Published The Ultimate JavaScript Guide 20252026
£14.39
John Wiley & Sons Inc Beginning JavaScript
Book SynopsisThe 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 with solutions provide plenty of opportunity to practice, and the companion website offers downloadable code for all examples given in the book. Learn JavaScript using the most up to date coding style Understand JSON, functions, events, and feature detection Utilize the new HTML5 elements and the related API Explore new features includingTable of ContentsIntroduction xix Chapter 1: Introduction to Javascript and the Web 1 Introduction to JavaScript 1 What is JavaScript? 2 JavaScript and the Web 3 What Can JavaScript Do for Me? 4 Tools Needed to Create JavaScript Web Applications 4 Development Tools 4 Web Browsers 5 Where Do My Scripts Go? 7 Linking to an External JavaScript File 7 Advantages of Using an External File 8 Your First Simple JavaScript Program 9 Writing More JavaScript 10 A Brief Look at Browsers and Compatibility Problems 15 Summary 16 Chapter 2: Data Types and Variables 17 Types of Data in JavaScript 18 Numerical Data 18 Text Data 19 Boolean Data 20 Variables—Storing Data in Memory 20 Creating Variables and Giving Them Values 22 Assigning Variables with the Value of Other Variables 24 Using Data—Calculations and Basic String Manipulation 26 Numerical Calculations 26 Increment and Decrement Operators 29 Operator Precedence 30 Basic String Operations 35 Mixing Numbers and Strings 37 Data Type Conversion 38 Dealing with Strings That Won’t Convert 41 Arrays 43 A Multi‐Dimensional Array 47 Summary 52 Chapter 3: Decisions and Loops 55 Decision Making—The if and switch Statements 56 Comparison Operators 56 Precedence 57 Assignment versus Comparison 57 Assigning the Results of Comparisons 58 The if Statement 58 Logical Operators 62 AND 63 OR 64 NOT 64 Multiple Conditions Inside an if Statement 65 else and else if 69 Comparing Strings 70 The switch Statement 71 Executing the Same Code for Different Cases 75 Looping—The for and while Statements 76 The for Loop 76 The for…in Loop 80 The while Loop 80 The do…while loop 82 The break and continue Statements 83 Summary 84 Chapter 4: Functions and Scope 87 Creating Your Own Functions 88 Scope and Lifetime 92 Global Scope 92 Functional Scope 93 Identifier Lookup 93 Functions as Values 94 Summary 97 Chapter 5: Javascript—An Object‐Based Language 99 Object‐Based Programming 100 What are Objects? 100 Objects in JavaScript 100 Using JavaScript Objects 101 Creating an Object 102 Using an Object’s Properties 103 Calling an Object’s Methods 104 Primitives and Objects 104 JavaScript’s Native Object Types 105 String Objects 105 The length Property 106 Finding a String Inside Another String—The indexOf() and lastIndexOf() Methods 106 Copying Part of a String—The substr() and substring() Methods 109 Converting Case—The toLowerCase() and toUpperCase() Methods 110 Selecting a Single Character from a String—The charAt() and charCodeAt() Methods 111 Converting Character Codes to a String—The fromCharCode() Method 115 Removing Leading and Trailing Whitespace—The trim() Method 115 Array Objects 116 Finding Out How Many Elements are in an Array—The length Property 116 Adding Elements—The push() Method 117 Joining Arrays—The concat() Method 117 Copying Part of an Array—The slice() Method 118 Converting an Array into a Single String—The join() Method 119 Putting Your Array in Order—The sort() Method 119 Putting Your Array into Reverse Order—The reverse() Method 121 Finding Array Elements—The indexOf() and lastIndexOf() Methods 122 Iterating through an Array without Loops 123 The Math Object 126 The abs() Method 127 Finding the Largest and Smallest Numbers—The min() and max() Methods 127 Rounding Numbers 127 The random() Method 131 The pow() Method 132 Number Objects 134 The toFixed() Method 134 Date Objects 135 Creating a Date Object 135 Getting Date Values 136 Setting Date Values 139 Calculations and Dates 140 Getting Time Values 140 Setting Time Values 143 Creating Your Own Custom Objects 144 Creating New Types of Objects (Reference Types) 148 Defining a Reference Type 149 Creating and Using Reference Type Instances 150 Summary 151 Chapter 6: String Manipulation 153 Additional String Methods 154 The split() Method 154 The replace() Method 156 The search() Method 157 The match() Method 157 Regular Expressions 158 Simple Regular Expressions 159 Regular Expressions: Special Characters 162 Text, Numbers, and Punctuation 162 Repetition Characters 165 Position Characters 166 Covering All Eventualities 170 Grouping Regular Expressions 171 Reusing Groups of Characters 173 The String Object 175 The split() Method 175 The replace() Method 177 The search() Method 179 The match() Method 180 Using the RegExp Object’s Constructor 183 Telephone Number Validation 185 Validating a Postal Code 187 Validating an E‐mail Address 189 Validating a Domain Name 189 Validating a Person’s Address 190 Validating the Complete Address 190 Summary 191 Chapter 7: Date, Time, and Timers 193 World Time 194 Setting and Getting a Date Object’s UTC Date and Time 197 Timers in a Web Page 200 One‐Shot Timer 200 Setting a Timer that Fires at Regular Intervals 202 Summary 203 Chapter 8: Programming the Browser 205 Introduction to the Browser’s Objects 206 The window Object 207 The history Object 208 The location Object 209 The navigator Object 210 The geolocation Object 210 The screen Object 213 The document Object 213 Using the document Object 214 The images Collection 216 The links Collection 218 Determining the User’s Browser 218 Feature Detection 218 Browser Sniffing 221 Summary 225 Chapter 9: DOM Scripting 229 The Web Standards 231 HTML 232 ECMAScript 233 The Document Object Model 234 The DOM Standard 234 Level 0 234 Level 1 234 Level 2 235 Level 3 235 Level 4 235 Browser Compliance with the Standards 235 Differences between the DOM and the BOM 236 Representing the HTML Document as a Tree Structure 236 What is a Tree Structure? 236 An Example HTML Page 237 The Core DOM Objects 238 Base DOM Objects 238 High‐Level DOM Objects 239 DOM Objects and Their Properties and Methods 240 The Document Object and its Methods 240 The Element Object 246 The Node Object 250 Manipulating the DOM 259 Accessing Elements 259 Changing Appearances 259 Using the style Property 259 Changing the class Attribute 262 Positioning and Moving Content 263 Example: Animated Advertisement 264 Are We There Yet? 264 Performing the Animation 265 Summary 268 Chapter 10: Events 271 Types of Events 272 Connecting Code to Events 273 Handling Events via HTML Attributes 273 Handling Events via Object Properties 280 The Standard Event Model 283 Connecting Code to Events—The Standard Way 283 Using Event Data 289 Event Handling in Old Versions of Internet Explorer 298 Accessing the event Object 298 Using Event Data 300 Writing Cross‐Browser Code 307 Native Drag and Drop 317 Making Content Draggable 318 Creating a Drop Target 319 Transferring Data 325 Summary 333 Chapter 11: HTML Forms: Interacting With the User 335 HTML Forms 336 Traditional Form Object Properties and Methods 338 HTML Elements in Forms 339 Common Properties and Methods 340 The name Property 340 The value Property 340 The form Property 340 The type Property 340 The focus() and blur() Methods 340 Button Elements 341 Text Elements 345 The Text Box 345 Problems with Firefox and the blur Event 350 The Password Text Box 351 The Hidden Text Box 351 The textarea Element 351 Check Boxes and Radio Buttons 355 Selection Boxes 364 Adding and Removing Options 365 Adding New Options with Standard Methods 369 Select Element Events 370 HTML5 Form Object Properties and Methods 375 New Input Types 376 New Elements 380 The Element 380 The and Elements 382 Summary 386 Chapter 12: JSON 391 XML 392 JSON 393 Simple Values 394 Objects 394 Arrays 395 Serializing Into JSON 396 Parsing JSON 396 Summary 400 Chapter 13: Data Storage 403 Baking Your First Cookie 404 A Fresh‐Baked Cookie 404 Viewing Cookies in Internet Explorer 404 Viewing Cookies in Firefox 409 Viewing Cookies in Chrome 411 The Cookie String 413 name and value 413 expires 413 path 414 domain 415 secure 416 Creating a Cookie 416 Getting a Cookie’s Value 419 Cookie Limitations 424 A User May Disable Cookies 424 Number and Information Limitation 425 Cookie Security and IE 425 Web Storage 426 Setting Data 427 Getting Data 428 Removing Data 428 Storing Data as Strings 428 Viewing Web Storage Content 431 Summary 432 Chapter 14: Ajax 435 What is Ajax? 436 What Can It Do? 436 Google Maps 436 Google Suggest 436 Browser Support 436 Using the XMLHttpRequest Object 438 Creating an XMLHttpRequest Object 438 Using the XMLHttpRequest Object 438 Asynchronous Requests 440 Creating a Simple Ajax Module 441 Planning the HttpRequest Module 441 The HttpRequest Constructor 442 Creating the send() Method 443 The Full Code 443 Validating Form Fields with Ajax 444 Requesting Information 445 The Received Data 445 Before You Begin 446 A Web Server 446 PHP 447 Things to Watch Out For 453 Security Issues 454 The Same‐Origin Policy 454 CORS 454 Usability Concerns 455 The Browser’s Back Button 455 Creating a Back/Forward‐Capable Form with an IFrame 455 The Server Response 456 Dealing with Delays 460 Degrade Gracefully When Ajax Fails 461 Summary 462 Chapter 15: HTML5 Media 463 A Primer 464 Scripting Media 467 Methods 468 Properties 471 Events 477 Summary 481 Chapter 16: jQuery 483 Getting jQuery 484 jQuery’s API 485 Selecting Elements 485 Changing Style 487 Adding and Removing CSS Classes 488 Toggling Classes 489 Checking if a Class Exists 490 Creating, Appending, and Removing Elements 490 Creating Elements 491 Appending Elements 491 Removing Elements 492 Handling Events 492 The jQuery Event Object 493 Rewriting the Tab Strip with jQuery 494 Using jQuery for Ajax 497 Understanding the jQuery Function 497 Automatically Parsing JSON Data 498 The jqXHR Object 498 Summary 504 Chapter 17: Other Javascript Libraries 505 Digging into Modernizr 506 Getting Modernizr 507 Modernizr’s API 508 Custom Tests 509 Loading Resources 510 Diving into Prototype 515 Getting Prototype 515 Testing Your Prototype Installation 516 Retrieving Elements 517 Selecting Elements with CSS Selectors 518 Performing an Operation on Elements Selected with $$() 519 Manipulating Style 519 Creating, Inserting, and Removing Elements 520 Creating an Element 520 Adding Content 520 Removing an Element 521 Using Events 521 Rewriting the Tab Strip with Prototype 522 Using Ajax Support 525 Delving into MooTools 531 Getting MooTools 531 Testing Your MooTools Installation 531 Finding Elements 533 Selecting Elements with CSS Selectors 533 Performing Operations on Elements 533 Changing Style 534 Creating, Inserting, and Removing Elements 535 Using Events 536 Rewriting the Tab Strip with MooTools 537 Ajax Support in MooTools 540 Summary 546 Chapter 18: Common Mistakes, Debugging, and Error Handling 549 D’oh! I Can’t Believe I Just Did That: Some Common Mistakes 550 Undefi ned Variables 550 Case Sensitivity 551 Incorrect Number of Closing Braces 552 Incorrect Number of Closing Parentheses 553 Using Equals (=) Rather than Equality (==) 553 Using a Method as a Property and Vice Versa 554 Missing Plus Signs during Concatenation 554 Error Handling 555 Preventing Errors 555 The try…catch Statements 556 Throwing Errors 557 Nested try…catch Statements 562 finally Clauses 562 Debugging 563 Debugging in Chrome (and Opera) 564 Setting Breakpoints 566 Scope Variables and Watches 566 Stepping through Code 567 The Console 571 Call Stack Window 573 Debugging in Internet Explorer 574 Setting Breakpoints 576 Adding Watches 576 Stepping through Code 576 The Console 577 Debugging in Firefox with Firebug 578 Setting Breakpoints 578 Watches 579 Stepping through Code 580 The Console 580 Debugging in Safari 580 Setting Breakpoints 583 Adding Watches 583 Stepping through Code 583 The Console 583 Summary 583 Appendix A: Answers to Exercises 587 Appendix B: Javascript Core Reference 653 Appendix C: W3C DOM Reference 683 Appendix D: Latin‐1 Character Set 715 Index 723
£30.60
No Starch Press,US Eloquent Javascript, 3rd Edition: A Modern
Book SynopsisJavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications. This much anticipated and thoroughly revised third edition of Eloquent JavaScript dives deep into the JavaScript language to show you how to write beautiful, effective code.Trade Review“Eloquent Javascript 3rd Edition is a worthy and much-needed update to the popular programming book. The fact that the book covers ES6 is worth a re-read, but the new edition goes above and beyond with new illustrations, a new exercise, and tighter writing. The 3rd edition of the book is substantially improved from its predecessors and worthy of the hype.”—Books on Code"It’s a smart, lean JavaScript tutorial that exists as an in-print book from No Starch Press, and a free, nicely formatted web version . . . easily the most enjoyable read in this list. And there are so many useful insights that you won’t be bored."—Matthew MacDonald, Medium's Young Coder“This is all the JavaScript knowledge you’ll need to hit the ground running in a JavaScript project . . . it’s a book I will be frequently revisiting as it has put JavaScript back on my radar.”—GeekTeckStuff“This book would make a great addition to any developer's reference books . . . I really like the author's style of writing and clarity of explanations. The sample code and exercises also work, which can be a rare feature in tech-related books”—Gary Woodfine, Software Developer“I think this is one of the most enjoyable programming books I’ve read. It covers the core features of the language concisely but then goes on to illustrate how to use those features.”—Ian Hopkinson, IanHopkinson.org“If you’re at all interested in learning JavaScript, making this your first guide could mean the difference between getting discouraged and giving up and really getting into programming as a lifelong venture.”—Joshua Johnson, Design Shack“Marijn Haverbeke is a software philosopher and all-round genius. He also has a terrific sense of humor and writes both prose and code in a friendly and un-intimidating fashion. In common with the very best teachers he dispenses his wisdom with disarming simplicity. I became a better architect, author, mentor and developer because of this book. It deserves to share shelf space with Flannagan and Crockford.”—Angus Croll, Javascript We Blog"A tour de force that takes you from the fundamentals to the heights of JavaScript mastery. Marijn Haverbeke’s conversational prose breathes life into JavaScript, making it accessible and engaging."—Alex Maher, .NET C# dev"The author, Marijn Haverbeke, has a great voice."—Abu Sayed, Sayed.Cyou Blog"One of the things that makes [Eloquent JavaScript, 3rd Edition] so good is that it doesn’t shy away from complexity . . . Haverbeke is a talented teacher, and he seems to have an intuitive understanding of how difficult concepts can be explained without oversimplifying them."—Neil Abad, Book Review Buffs
£30.39
Independently Published Agentic Frontend Development with AGUI
£18.55