Professional JavaScript

- Autorzy:
- Hugo Di Francesco, Siyuan Gao, Vinicius Isola, Philip Kirkbride


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 664
- Dostępne formaty:
-
PDFePubMobi
Opis książki: Professional JavaScript
In depth knowledge of JavaScript makes it easier to learn a variety of other frameworks, including React, Angular, and related tools and libraries. This book is designed to help you cover the core JavaScript concepts you need to build modern applications.
You'll start by learning how to represent an HTML document in the Document Object Model (DOM). Then, you'll combine your knowledge of the DOM and Node.js to create a web scraper for practical situations. As you read through further lessons, you'll create a Node.js-based RESTful API using the Express library for Node.js. You'll also understand how modular designs can be used for better reusability and collaboration with multiple developers on a single project. Later lessons will guide you through building unit tests, which ensure that the core functionality of your program is not affected over time. The book will also demonstrate how constructors, async/await, and events can load your applications quickly and efficiently. Finally, you'll gain useful insights into functional programming concepts such as immutability, pure functions, and higher-order functions.
By the end of this book, you'll have the skills you need to tackle any real-world JavaScript development problem using a modern JavaScript approach, both for the client and server sides.
Wybrane bestsellery
-
Get to grips with the core fundamentals of Vue.js 2 and learn to build reliable component-based applications with practical guidance from industry experts
Front-End Development Projects with Vue.js Front-End Development Projects with Vue.js
Raymond Camden, Hugo Di Francesco, Clifford Gurney, Philip Kirkbride, Maya Shavin
-
Get to grips with the fundamentals of JavaScript and learn to build the programming skills that will kickstart your career as a software developer
The JavaScript Workshop The JavaScript Workshop
Joseph Labrecque, Jahred Love, Daniel Rosenbaum, Nick Turner, Gaurav Mehla, Alonzo L. Hosford
-
Enhance your career options with this well-crafted object-oriented programming language that enjoys the support of an enormous ecosystem of tools and libraries Key Features Get introduced to Java, its features, and its ecosystem Understand how Java uses object-oriented programming Become an exp...
Java Fundamentals Java Fundamentals
Gazihan Alankus, Rogerio Theodoro de Brito, Basheer Ahamed Fazal, Vinicius Isola, Miles Obare
-
Z tym przewodnikiem nauczysz się stosowania Reacta w praktyce. Dowiesz się, w jaki sposób zbudować jednostronicową, złożoną aplikację internetową, i zdobędziesz wiedzę umożliwiającą używanie tej biblioteki w codziennej pracy. Pokazano tu, jak rozpocząć projekt i rozwijać rzeczywistą aplikację. Za...
React w działaniu. Tworzenie aplikacji internetowych. Wydanie II React w działaniu. Tworzenie aplikacji internetowych. Wydanie II
(0,00 zł najniższa cena z 30 dni)35.40 zł
59.00 zł(-40%) -
Dzięki książce Head First JavaScript. Edycja polska poznasz JavaScript w nietypowy, a przy tym bardzo skuteczny sposób. Ponieważ została ona napisana w oparciu o najnowsze teorie uczenia się, błyskawicznie przyswoisz sobie wiedzę o tym języku. Nauczysz się osadzać kod JavaScript w dokumentach HTM...(0,00 zł najniższa cena z 30 dni)
44.50 zł
89.00 zł(-50%) -
To książka przeznaczona dla osób, które posługują się językiem JavaScript i chcą wykorzystać jego możliwości do zbudowania kompletnej aplikacji internetowej. Prezentuje język TypeScript i opisuje jego najlepsze cechy, pokazuje także, w jaki sposób za pomocą takich frameworków jak React, Redux, No...
React, TypeScript i Node. Tworzenie aplikacji internetowych typu fullstack React, TypeScript i Node. Tworzenie aplikacji internetowych typu fullstack
(0,00 zł najniższa cena z 30 dni)65.40 zł
109.00 zł(-40%) -
To drugie wydanie cenionego podręcznika dla początkujących programistów. Zawarty w nim materiał - podany jasno i przystępnie - pozwoli Ci w pełni poznać możliwości języka TypeScript 4. Naukę rozpoczniesz od zdobycia solidnych podstaw, a po przeanalizowaniu przejrzystych przykładów poznasz korzyśc...
TypeScript 4. Od początkującego do profesjonalisty. Wydanie II TypeScript 4. Od początkującego do profesjonalisty. Wydanie II
(0,00 zł najniższa cena z 30 dni)65.40 zł
109.00 zł(-40%) -
To książka przeznaczona dla średnio zaawansowanych użytkowników biblioteki React, którzy chcą tworzyć elastyczniejsze i łatwiejsze w utrzymaniu aplikacje. Wyjaśniono tu sposób działania wewnętrznych mechanizmów biblioteki React. Zaprezentowano, jak należy budować komponenty możliwe do wielokrotne...
React 17. Wzorce projektowe i najlepsze praktyki. Projektowanie i rozwijanie nowoczesnych aplikacji internetowych. Wydanie III React 17. Wzorce projektowe i najlepsze praktyki. Projektowanie i rozwijanie nowoczesnych aplikacji internetowych. Wydanie III
(0,00 zł najniższa cena z 30 dni)47.40 zł
79.00 zł(-40%) -
W poprzednim tomie Nanonauci, którzy założyli własne Dojo Nano, wymyślili i napisali stronę internetową. Teraz przyszedł czas na grę. Będzie to prosta gra działająca w przeglądarce internetowej. Do kodowania posłuży Ci świetny język JavaScript, którym posługują się najlepsi programiści! W książce...(0,00 zł najniższa cena z 30 dni)
7.90 zł
24.90 zł(-68%) -
Niniejsza książka jest pierwszą częścią serii w całości poświęconej temu językowi. Autor skupia się na trudniejszych aspektach języka JavaScript, dogłębnie je analizuje, a następnie przedstawia praktyczne zastosowanie opisanych koncepcji. Książka jest przeznaczona dla osób dopiero rozpoczynającyc...
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- Tytuł oryginału:
- Professional JavaScript
- ISBN Ebooka:
- 978-18-388-2275-0, 9781838822750
- Data wydania ebooka:
-
2019-09-30
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku Pdf:
- 10.4MB
- Rozmiar pliku ePub:
- 22.7MB
- Rozmiar pliku Mobi:
- 22.7MB
- Kategorie:
Technologie webowe » JavaScript - Programowanie
Spis treści książki
- Preface
- About the Book
- About the Authors
- Learning Objectives
- Audience
- Approach
- Hardware Requirements
- Software Requirements
- Conventions
- Installation and Setup
- Installing Node.js and npm
- Additional Resources
- About the Book
- Chapter 1
- JavaScript, HTML, and the DOM
- Introduction
- HTML and the DOM
- Exercise 1: Iterating over Nodes in a Document
- Developer Tools
- Exercise 2: Manipulating the DOM from the Elements Tab
- Exercise 3: Debugging Code from the Sources Tab
- The Console Tab
- Activity 1: Extracting Data from a Page
- Nodes and Elements
- Exercise 4: Traversing the DOM Tree
- Special Objects
- Using JavaScript to Query the DOM
- Exercise 5: Querying the DOM Using querySelector
- Manipulating the DOM
- Exercise 6: Filtering and Searching Products
- Shadow DOM and Web Components
- Exercise 7: Replacing a Search Box with a Web Component
- Activity 2: Replacing the Tag Filter with a Web Component
- Summary
- Chapter 2
- Node.js and npm
- Introduction
- What is Node.js?
- Exercise 8: Running Your First Node.js Commands
- Node Version Manager (nvm)
- Exercise 9: Using nvm to Manage Versions
- Node Package Manager (npm)
- Exercise 10: Creating a Command-Line HTML Generator
- Dependencies
- npm Scripts
- Activity 3: Creating an npm Package to Parse HTML
- Summary
- Chapter 3
- Node.js APIs and Web Scraping
- Introduction
- Globals
- Exercise 11: Creating a Task Reminder Application
- FileSystem APIs
- Exercise 12: Searching for a File through a Directory Using Glob Pattern
- HTTP APIs
- Exercise 13: Serving Static Files
- Exercise 14: Serving Dynamic Content
- What is Scraping?
- Downloading and Parsing Web Pages
- Exercise 15: Scraping Medium Articles
- Activity 4: Scraping Products and Prices from Storefront
- Summary
- Chapter 4
- RESTful APIs with Node.js
- Introduction
- What is an API?
- What is REST?
- Express.js for RESTful APIs on Node.js
- Exercise 16: Creating an Express Project with an Index Route
- Interacting with Your API via HTTP
- Exercise 17: Creating and Importing a Route File
- HTTP Status Codes
- Designing Your API
- Exercise 18: Creating Action Routes
- Further Modularizing
- Type Checking and Validating the Input Sent to an Endpoint
- Exercise 19: Creating a Route with Type Checking and Validation
- Useful Defaults and Easy Inputs
- Exercise 20: Making the Duration Input Optional
- Middleware
- Exercise 21: Setting Up an Endpoint that Requires Authentication
- The Contents of a JWT
- MongoDB
- Activity 5: Creating an API Endpoint for a Keypad Door Lock
- Summary
- Chapter 5
- Modular JavaScript
- Introduction
- Dependencies and Security
- Other Costs of Modularity
- Reviewing Imports and Exports
- Separation of Concerns
- Introduction
- ES6 Modules
- Exercise 22: Writing a Simple ES6 Module
- Objects in JavaScript
- Prototypes
- Exercise 23: Extending the Number Prototype
- ES6 Classes
- Object-Oriented Programming (OOP)
- Abstraction
- Classes and Constructors
- Exercise 24: Converting a Light Module to a Class
- Default Attributes
- Encapsulation
- WeakMap
- Exercise 25: WeakMap for Encapsulation
- Getters and Setters
- Inheritance
- Exercise 26: Extending a Class
- Polymorphism
- Exercise 27: LightBulb Builder
- npm Package
- npm Link Command
- Npm Publish Command
- ESM versus CommonJS
- Babel
- webpack
- Exercise 28: Converting ES6 and Packages with webpack and Babel
- Composability and Strategies for Combining Modules
- Activity 6: Creating a Lightbulb with a Flash Mode
- Summary
- Chapter 6
- Code Quality
- Introduction
- Clear Naming
- Convention
- Opinionated versus Non-Opinionated
- Linting
- Exercise 29: Setting up ESLint and Prettier to Monitor Errors in Code
- Unit Tests
- Exercise 30: Setting up Jest Tests to Test a Calculator Application
- Integration Tests
- Exercise 31: Integration Testing with Jest
- Code Performance Fibonacci Example
- Exercise 32: Ensuring Performance with Jest
- End-to-End Testing
- Puppeteer
- Exercise 33: End-to-End Testing with Puppeteer
- Git Hooks
- Exercise 34: Setting up a Local Git Hook
- Sharing Git Hooks with Husky
- Exercise 35: Setting up a Commit Hook with Husky
- Exercise 36: Getting Elements by Text with Puppeteer
- Activity 7: Putting It All Together
- Summary
- Chapter 7
- Advanced JavaScript
- Introduction
- Language Features Supported in ES5, ES6, ES7, ES8, and ES9
- Working in the Node.js REPL
- Executing the Node.js REPL
- Array Manipulation in JavaScript
- Exercise 37: Creating and Modifying an Array
- Exercise 38: Adding and Removing Items
- Exercise 39: Getting Information About the Items in Your Array
- Activity 8: Creating a User Tracker
- Object Manipulation in JavaScript
- Exercise 40: Creating and Modifying Objects in JavaScript
- JSON.stringify
- Exercise 41: Creating an Efficient JSON.Stringify
- Array and Object Destructuring
- Exercise 42: Using Destructuring Assignment for an Array
- Exercise 43: Using Destructuring Assignment for an Object
- Spread Operators
- Exercise 44: Using Spread Operators
- Rest Operators
- OOP in JavaScript
- Defining a Class in JavaScript
- Exercise 45: Declaring an Object Constructor Using Functions
- Exercise 46: Creating a Class in JavaScript
- Creating a Simple User Information Cache Using Objects
- Exercise 47: Creating a Cache Class to Add/Update/Remove Records from the Data Store
- Class Inheritance
- Exercise 48: Implementing a Subclass
- Private and Public Methods
- Exercise 49: Private Methods in the Vehicle Class
- Array and Object Built-in Methods
- Exercise 50: Using Iteration Methods on Arrays
- Exercise 51: Lookups and Filtering the Array
- Sorting
- Exercise 52: Sorting Arrays in JavaScript
- Array Reduce
- Exercise 53: Using JavaScript Reduce Method to Make Calculations for a Shopping Cart
- Activity 9: Creating a Student Manager Using JavaScript Arrays and Classes
- Maps and Sets
- Exercise 54: Using Maps versus Objects
- Exercise 55: Using Sets to Track Unique Values
- Math, Date, and String
- Exercise 56: Using String Methods
- Math and Date
- Exercise 57: Using Math and Date
- Symbols, Iterators, Generators, and Proxies
- Symbol
- Iterator and Generator
- Exercise 58: Using Symbols and Exploring Their Properties
- Exercise 59: Iterators and Generators
- Proxies
- Exercise 60: Using Proxies to Build Complex Objects
- Refactoring in JavaScript
- Activity 10: Refactoring Functions to Use Modern JavaScript Features
- Summary
- Chapter 8
- Asynchronous Programming
- Introduction
- How JavaScript Handles Time-Consuming Operations
- Handling Async Operations Using Callbacks
- Exercise 61: Writing Your First Callback
- Event Loops
- How JavaScript Executes Code
- Activity 11: Using Callbacks to Receive Results
- Introduction
- Callback Hell
- Promises
- Exercise 62: Using Promises as Alternatives to Callbacks
- Chaining Promises
- Exercise 63: Advanced JavaScript Promises
- Error Handling in Promises
- Exercise 64: Refactor the Bill Calculator Using Promises
- Async and Await
- Exercise 65: Async and Await Functions
- Async Await Concurrency
- When to Use await
- Exercise 66: Complex Async Implementation
- Activity 12: Refactor the Bill Calculator Using Async and Await
- Migrating Callback- and Promise-Based Code to Async and Await
- Migrating Callback-Based Code to Async and Await
- Summary
- Chapter 9
- Event-Driven Programming and Built-In Modules
- Introduction
- The Traditional Approach versus Event-Driven Programming
- Eventing
- Exercise 67: A Simple Event Emitter
- EventEmitter Methods
- Removing Listeners
- Removing all Listeners
- Attaching a One-Time Listener
- Reading from Event Emitters
- Getting a List of Events That Have Listeners Registered
- Max Listeners
- Prepend Listeners
- Concurrency in Listeners
- Building Custom Event Emitters
- Exercise 68: Building A Chatroom Application
- Activity 13: Building an Event-Driven Module
- Event-Driven Programming Best Practices
- Node.js Built-In Modules
- path
- fs
- Exercise 69: Basic Usage of the Fs Module
- Handling Large Files in Node.js
- Util
- Timer
- Activity 14: Building a File Watcher
- Summary
- Chapter 10
- Functional Programming with JavaScript
- Introduction
- Functions First-Class Citizens
- First-Class Functions Idiomatic JavaScript Building Blocks
- Inversion of Control Using First-Class Functions
- Functions that Enable Asynchronous I/O and Event-Driven Programming in JavaScript
- JavaScript Built-In Array Methods that Showcase First-Class Function Support
- Exercise 70: Re-Implementing includes, indexOf, and join with some, findIndex, and reduce
- Exercise 71: Computing the Price of a Basket Using Map and Reduce
- Child-Parent Component Communication in React
- Activity 15: onCheckout Callback Prop
- Exercise 72: Adding a Product to the Basket
- First-Class Functions in React Render Props
- Exercise 73: Rendering Basket Contents with a Render Prop
- Pure Functions
- Redux Reducers and Actions
- Exercise 74: Redux Dispatching Actions and Reducing Them into State
- Testing Pure Functions
- Exercise 75: Testing a Reducer
- Redux Selectors
- Exercise 76: Implementing a Selector
- Activity 16: Testing a Selector
- Higher-Order Functions
- bind, apply, and call
- Currying and Partial Application
- Leveraging Closures React Function Components
- Function Composition
- Exercise 77: A Binary to n-ary Compose Function
- Function Composition in the Real World with a Simple BFF
- Exercise 78: Leveraging Compose to Simplify the Micro Server Creation Step
- Immutability and Side Effects
- A Look at Redux Action Creators
- Exercise 79: Refactoring the React/Redux Application to Use Action Creators
- React-Redux mapStateToProps and mapDispatchToProps
- Exercise 80: Abstracting State Management Using the mapDispatchToProps Function
- Redux Reducers In Depth
- Changing JavaScript-Native Methods to an Immutable Functional Style
- Handling Side Effects in a React/Redux Application React Life Cycle Hooks
- Handling Side Effects in a React/Redux Application React Hooks
- Handling Side Effects in a React/Redux Application Redux-Thunk
- Introduction to GraphQL Language Schemas and Queries
- Running Updates with GraphQL Mutations and Resolvers
- Exercise 81: Implementing a BFF Mutation with micro and GraphQL
- Activity 17: Fetching the Current Basket From BFF
- Summary
- Appendix
- Chapter 1: JavaScript, HTML, and the DOM
- Activity 1: Extracting Data from a Page
- Activity 2: Replacing the Tag Filter with a Web Component
- Chapter 1: JavaScript, HTML, and the DOM
- Chapter 2: Node.js and npm
- Activity 3: Creating a npm Package to Parse HTML
- Chapter 3: Node.js APIs and Web Scraping
- Activity 4 Scraping Products and Prices from Storefront
- Chapter 4: RESTful APIs with Node.js
- Activity 5: Creating an API Endpoint for a Keypad Door Lock
- Chapter 5: Modular JavaScript
- Activity 6: Creating a Lightbulb with a Flash Mode
- Chapter 6: Code Quality
- Activity 7: Putting It All Together
- Chapter 7: Advanced JavaScript
- Activity 8: Creating a User Tracker
- Activity 9: Creating a Student Manager Using JavaScript Arrays and Classes
- Activity 10: Refactoring Functions to Use Modern JavaScript Features
- Chapter 8: Asynchronous Programming
- Activity 11: Using Callbacks to Receive Results
- Activity 12: Refactor the Bill Calculator Using Async and Await
- Chapter 9: Event-Driven Programming and Built-In Modules
- Activity 13: Building an Event-Driven Module
- Activity 14: Building a File Watcher
- Chapter 10: Functional Programming with JavaScript
- Activity 15: onCheckout Callback Prop
- Activity 16: Testing a Selector
- Activity 17: Fetching the Current Basket From BFF
Packt Publishing - inne książki
-
Save time and effort when building 3D scenes with this essential guide to creating stunning photorealistic 3D environments in Blender
-
Solve classic computer science problems from fundamental algorithms, such as sorting and searching, to modern algorithms in machine learning and cryptography
40 Algorithms Every Programmer Should Know - Second Edition 40 Algorithms Every Programmer Should Know - Second Edition
-
Use modern Python libraries such as pandas, NumPy, and scikit-learn and popular machine learning and deep learning methods to solve financial modeling problems
-
Design, build, and deploy performant and maintainable web applications using Spring, Spring Boot, and Angular
-
Get up to speed with Oracle's Autonomous Databases and implementation strategies for any workload or use case, including transactional, data warehousing, and non-relational databases
Oracle Autonomous Database in Enterprise Architecture Oracle Autonomous Database in Enterprise Architecture
-
Build CD pipelines following GitOps principles like declarative and immutable changes stored in version control, all continuously reconciled by Argo CD, and minimize the failure of deployments.
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Professional JavaScript Hugo Di Francesco, Siyuan Gao, Vinicius Isola, Philip Kirkbride (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.