JavaScript Patterns. Build Better Applications with Coding and Design Patterns
- Autor:
- Stoyan Stefanov
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 236
- Dostępne formaty:
-
ePubMobi
Opis ebooka: JavaScript Patterns. Build Better Applications with Coding and Design Patterns
What's the best approach for developing an application with JavaScript? This book helps you answer that question with numerous JavaScript coding patterns and best practices. If you're an experienced developer looking to solve problems related to objects, functions, inheritance, and other language-specific categories, the abstractions and code templates in this guide are ideal—whether you're using JavaScript to write a client-side, server-side, or desktop application.
Written by JavaScript expert Stoyan Stefanov—Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool—JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve.
- Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and more
- Learn why literal notation patterns are simpler alternatives to constructor functions
- Discover different ways to define a function in JavaScript
- Create objects that go beyond the basic patterns of using object literals and constructor functions
- Learn the options available for code reuse and inheritance in JavaScript
- Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more
- Examine patterns that apply specifically to the client-side browser environment
Wybrane bestsellery
-
W tej książce omówiono ponad 20 najprzydatniejszych wzorców projektowych, dzięki którym tworzone aplikacje internetowe będą łatwe w późniejszej obsłudze technicznej i w trakcie skalowania. Poza wzorcami projektowymi przedstawiono wzorce generowania i wydajności działania, których znaczenie dla uż...
Wzorce projektowe w JavaScripcie. Przewodnik dla programistów JavaScriptu i Reacta. Wydanie II Wzorce projektowe w JavaScripcie. Przewodnik dla programistów JavaScriptu i Reacta. Wydanie II
(41.40 zł najniższa cena z 30 dni)48.30 zł
69.00 zł(-30%) -
Dzięki tej książce zrozumiesz, że w rekurencji nie kryje się żadna magia. Dowiesz się, na czym polega jej działanie i kiedy warto zastosować algorytm rekursywny, a kiedy lepiej tego nie robić. Poznasz szereg klasycznych i mniej znanych algorytmów rekurencyjnych. Pracę z zawartym tu materiałem uła...
Rekurencyjna książka o rekurencji. Zostań mistrzem rozmów kwalifikacyjnych poświęconych językom Python i JavaScript Rekurencyjna książka o rekurencji. Zostań mistrzem rozmów kwalifikacyjnych poświęconych językom Python i JavaScript
(47.40 zł najniższa cena z 30 dni)55.30 zł
79.00 zł(-30%) -
This book is a comprehensive guide to deploying and scaling frontend web applications on Netlify. With hands-on instructions and real-world examples, this book takes you from setting up a Netlify account and deploying web apps to optimizing performance.
Web Development on Netlify. Proven strategies for building, deploying, and hosting modern web applications Web Development on Netlify. Proven strategies for building, deploying, and hosting modern web applications
(71.93 zł najniższa cena z 30 dni) -
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(177.65 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
This book provides a thorough understanding of JavaScript design patterns and assists with writing and structuring your JavaScript code and applications in a way that offers high performance to JavaScript application users.
JavaScript Design Patterns. Deliver fast and efficient production-grade JavaScript applications at scale JavaScript Design Patterns. Deliver fast and efficient production-grade JavaScript applications at scale
-
Znany i uwielbiany przez programistów React doczekał się potomka. Tak bowiem można by nazwać Gatsby.js – generator stron statycznych bazujący na bibliotece React. Gatsby używa jej jako swojej podstawy do budowania interfejsów użytkownika. Dalsze podobieństwa to między innymi struktura proje...
React i GatsbyJS. Kurs video. Nowoczesne strony internetowe w oparciu o headless CMS i GraphQL React i GatsbyJS. Kurs video. Nowoczesne strony internetowe w oparciu o headless CMS i GraphQL
(39.90 zł najniższa cena z 30 dni)81.95 zł
149.00 zł(-45%) -
Web apps are getting increasingly complex and frontend development more challenging. In this book, you’ll learn to better utilize the potential of the Angular framework and the design patterns that will simplify the challenges of your application.
Angular Design Patterns and Best Practices. Create scalable and adaptable applications that grow to meet evolving user needs Angular Design Patterns and Best Practices. Create scalable and adaptable applications that grow to meet evolving user needs
-
This third edition delves from Angular basics to deployment, covering performance optimization, authentication, state management, Signals, and more. It includes updated examples and tools to enhance your Angular skills for business requirements.
Angular for Enterprise Applications. Build scalable Angular apps using the minimalist Router-first architecture - Third Edition Angular for Enterprise Applications. Build scalable Angular apps using the minimalist Router-first architecture - Third Edition
-
This book shows how you can leverage Vue to develop impressive apps quickly. You’ll discover various new tools and features in the Vue ecosystem, including Vitest and Vuetify, and use Vue 3 to develop web apps that interact well with APIs.
Building Real-World Web Applications with Vue.js 3. Build a portfolio of Vue.js and TypeScript web applications to advance your career in web development Building Real-World Web Applications with Vue.js 3. Build a portfolio of Vue.js and TypeScript web applications to advance your career in web development
O autorze ebooka
Stoyan Stefanov pracuje w Facebooku, jest autorem książek i często zabiera głos na konferencjach poświęconych WWW. Obecnie mieszka w Los Angeles w Kalifornii. W wolnych chwilach gra na gitarze, lata lub po prostu leniuchuje wraz z rodziną na którejś z plaż Santa Monica.
Stoyan Stefanov - pozostałe książki
-
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
(35.40 zł najniższa cena z 30 dni)41.30 zł
59.00 zł(-30%) -
Ta książka jest znakomitym podręcznikiem programowania obiektowego w JavaScripcie. Przedstawiono tu solidne podstawy języka oraz programowania obiektowego, co ułatwia zrozumienie zaawansowanych, nowoczesnych funkcjonalności ES6: iteratorów i generatorów. Wyjaśniono koncepcję prototypów i zasady d...
Programowanie zorientowane obiektowo w języku JavaScript. Wydanie III Programowanie zorientowane obiektowo w języku JavaScript. Wydanie III
(29.90 zł najniższa cena z 30 dni)43.45 zł
79.00 zł(-45%) -
Książka przeznaczona jest dla programistów PHP chcących szybko nauczyć się programowania w języku JavaScript. W trakcie lektury poznasz różnice i podobieństwa między tymi dwoma językami. W kolejnych rozdziałach rozgryziesz składnię JavaScriptu i błyskawicznie zaczniesz używać funkcj...(9.90 zł najniższa cena z 30 dni)
18.10 zł
32.90 zł(-45%) -
If 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. You’ll discover some similarities between JavaScript and PHP, such as conditions and loops, but the p...
JavaScript for PHP Developers. A Concise Guide to Mastering JavaScript JavaScript for PHP Developers. A Concise Guide to Mastering JavaScript
(46.74 zł najniższa cena z 30 dni)50.91 zł
59.90 zł(-15%) -
Dzięki tej książce dowiesz się, w jaki sposób użyć do swoich celów obiektowych możliwości języka JavaScript. Jednak zanim zapoznasz się z tymi tematami, autor w niezwykle przejrzysty sposób przedstawi Ci podstawy tego języka. Zobaczysz, w jaki sposób działają funkcje, pętle oraz model DOM. Ponadt...(19.90 zł najniższa cena z 30 dni)
37.95 zł
69.00 zł(-45%) -
Książka napisana przez eksperta języka JavaScript Stoyana Stefanova - starszego inżyniera Yahoo! i architekta narzędzia do optymalizacji stron WWW YSlow 2.0 - zawiera wiele praktycznych wskazówek w zakresie implementacji opisywanych wzorców, a także kilka całościowych przykładów. Znajdziesz w nie...(9.90 zł najniższa cena z 30 dni)
21.45 zł
39.00 zł(-45%) -
Hit the ground running with React, the open source technology from Facebook for building rich web applications fast. Updated for the latest React release, the second edition of this hands-on guide shows you how to build React components and organize them into maintainable large-scale apps. If you...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Niniejsza książka jest przydatnym przewodnikiem po bibliotece React i jej zastosowaniach w tworzeniu aplikacji internetowych. Z publikacji tej dowiesz się, jak można jednorazowo zdefiniować interfejs, który będzie automatycznie się przebudowywał w reakcji na zmianę stanu aplikacji. Nauczysz się t...
React w działaniu. Tworzenie aplikacji internetowych React w działaniu. Tworzenie aplikacji internetowych
(14.90 zł najniższa cena z 30 dni)21.95 zł
39.90 zł(-45%) -
JavaScript is the behavior, the third pillar in today's paradigm that looks at web pages as something that consists of : content (HTML), presentation (CSS), and behavior (JavaScript). Using JavaScript, you can create interactive web pages along with desktop widgets, browser, and application exten...
Javascript: Object Oriented Programming. Build sophisticated web applications by mastering the art of Object-Oriented Javascript Javascript: Object Oriented Programming. Build sophisticated web applications by mastering the art of Object-Oriented Javascript
Kumar Chetan Sharma, Stoyan Stefanov, Ved Antani, Gaston C. Hillar
-
JavaScript is the behavior, the third pillar in today's paradigm that looks at web pages as something that consists of clearly distinguishable parts: content (HTML), presentation (CSS) and behavior (JavaScript). Using JavaScript, you can create not only web pages but also desktop widgets, browser...
Object-Oriented JavaScript. If you've limited or no experience with JavaScript, this book will put you on the road to being an expert. A wonderfully compiled introduction to objects in JavaScript, it teaches through examples and practical play. - Second Edition Object-Oriented JavaScript. If you've limited or no experience with JavaScript, this book will put you on the road to being an expert. A wonderfully compiled introduction to objects in JavaScript, it teaches through examples and practical play. - Second Edition
Kup polskie wydanie:
Ebooka "JavaScript Patterns. Build Better Applications with Coding and Design Patterns" 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 "JavaScript Patterns. Build Better Applications with Coding and Design Patterns" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "JavaScript Patterns. Build Better Applications with Coding and Design Patterns" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-493-9694-7, 9781449396947
- Data wydania ebooka:
- 2010-09-09 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@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1.8MB
- Rozmiar pliku Mobi:
- 1.8MB
Spis treści ebooka
- JavaScript Patterns
- Dedication
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Target Audience
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- Credits
- Reading
- 1. Introduction
- Patterns
- JavaScript: Concepts
- Object-Oriented
- No Classes
- Prototypes
- Environment
- ECMAScript 5
- JSLint
- The Console
- 2. Essentials
- Writing Maintainable Code
- Minimizing Globals
- The Problem with Globals
- Side Effects When Forgetting var
- Access to the Global Object
- Single var Pattern
- Hoisting: A Problem with Scattered vars
- for Loops
- for-in Loops
- (Not) Augmenting Built-in Prototypes
- switch Pattern
- Avoiding Implied Typecasting
- Avoiding eval()
- Number Conversions with parseInt()
- Coding Conventions
- Indentation
- Curly Braces
- Opening Brace Location
- White Space
- Naming Conventions
- Capitalizing Constructors
- Separating Words
- Other Naming Patterns
- Writing Comments
- Writing API Docs
- YUIDoc Example
- Writing to Be Read
- Peer Reviews
- MinifyIn Production
- Run JSLint
- Summary
- 3. Literals and Constructors
- Object Literal
- The Object Literal Syntax
- Objects from a Constructor
- Object Constructor Catch
- Object Literal
- Custom Constructor Functions
- Constructors Return Values
- Patterns for Enforcing new
- Naming Convention
- Using that
- Self-Invoking Constructor
- Array Literal
- Array Literal Syntax
- Array Constructor Curiousness
- Check for Array-ness
- JSON
- Working with JSON
- Regular Expression Literal
- Regular Expression Literal Syntax
- Primitive Wrappers
- Error Objects
- Summary
- 4. Functions
- Background
- Disambiguation of Terminology
- Declarations Versus Expressions: Names and Hoisting
- Functions name Property
- Function Hoisting
- Background
- Callback Pattern
- A Callback Example
- Callbacks and Scope
- Asynchronous Event Listeners
- Timeouts
- Callbacks in Libraries
- Returning Functions
- Self-Defining Functions
- Immediate Functions
- Parameters of an Immediate Function
- Returned Values from Immediate Functions
- Benefits and Usage
- Immediate Object Initialization
- Init-Time Branching
- Function PropertiesA Memoization Pattern
- Configuration Objects
- Curry
- Function Application
- Partial Application
- Currying
- When to Use Currying
- Summary
- 5. Object Creation Patterns
- Namespace Pattern
- General Purpose Namespace Function
- Namespace Pattern
- Declaring Dependencies
- Private Properties and Methods
- Private Members
- Privileged Methods
- Privacy Failures
- Object Literals and Privacy
- Prototypes and Privacy
- Revealing Private Functions As Public Methods
- Module Pattern
- Revealing Module Pattern
- Modules That Create Constructors
- Importing Globals into a Module
- Sandbox Pattern
- A Global Constructor
- Adding Modules
- Implementing the Constructor
- Static Members
- Public Static Members
- Private Static Members
- Object Constants
- Chaining Pattern
- Pros and Cons of the Chaining Pattern
- method() Method
- Summary
- 6. Code Reuse Patterns
- Classical Versus Modern Inheritance Patterns
- Expected Outcome When Using Classical Inheritance
- Classical Pattern #1The Default Pattern
- Following the Prototype Chain
- Drawbacks When Using Pattern #1
- Classical Pattern #2Rent-a-Constructor
- The Prototype Chain
- Multiple Inheritance by Borrowing Constructors
- Pros and Cons of the Borrowing Constructor Pattern
- Classical Pattern #3Rent and Set Prototype
- Classical Pattern #4Share the Prototype
- Classical Pattern #5A Temporary Constructor
- Storing the Superclass
- Resetting the Constructor Pointer
- Klass
- Prototypal Inheritance
- Discussion
- Addition to ECMAScript 5
- Inheritance by Copying Properties
- Mix-ins
- Borrowing Methods
- Example: Borrow from Array
- Borrow and Bind
- Function.prototype.bind()
- Summary
- 7. Design Patterns
- Singleton
- Using new
- Instance in a Static Property
- Instance in a Closure
- Singleton
- Factory
- Built-in Object Factory
- Iterator
- Decorator
- Usage
- Implementation
- Implementation Using a List
- Strategy
- Data Validation Example
- Façade
- Proxy
- An Example
- A video expando
- Without a proxy
- HTML
- Event handlers
- videos object
- http object
- Enter the proxy
- An Example
- Proxy As a Cache
- Mediator
- Mediator Example
- Observer
- Example #1: Magazine Subscriptions
- Example #2: The Keypress Game
- Summary
- 8. DOM and Browser Patterns
- Separation of Concerns
- DOM Scripting
- DOM Access
- DOM Manipulation
- Events
- Event Handling
- Event Delegation
- Long-Running Scripts
- setTimeout()
- Web Workers
- Remote Scripting
- XMLHttpRequest
- JSONP
- JSONP example: Tic-tac-toe
- Frames and Image Beacons
- Deploying JavaScript
- Combining Scripts
- Minifying and Compressing
- Expires Header
- Using a CDN
- Loading Strategies
- The Place of the <script> Element
- HTTP Chunking
- Dynamic <script> Element for Nonblocking Downloads
- Appending the <script> element
- Lazy-Loading
- Loading on Demand
- Preloading JavaScript
- Summary
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Copyright
O'Reilly Media - inne książki
-
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
109.00 zł(-7%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
If programming is magic, then web scraping is surely a form of wizardry. By writing a simple automated program, you can query web servers, request data, and parse it to extract the information you need. This thoroughly updated third edition not only introduces you to web scraping but also serves ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
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.
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.
Książka drukowana
Oceny i opinie klientów: JavaScript Patterns. Build Better Applications with Coding and Design Patterns Stoyan Stefanov (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.