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
-
To kolejne, rozbudowane i uaktualnione wydanie świetnego podręcznika projektowania i programowania stron internetowych, zawierające wiedzę niezbędną do rozpoczęcia samodzielnej pracy. Opisano tu zasady tworzenia witryn WWW oraz przedstawiono język HTML i techniki CSS. Sporo miejsca poświęcono mul...
Projektowanie stron internetowych. Przewodnik dla początkujących webmasterów po HTML5, CSS3 i grafice. Wydanie V Projektowanie stron internetowych. Przewodnik dla początkujących webmasterów po HTML5, CSS3 i grafice. Wydanie V
(38.90 zł najniższa cena z 30 dni)38.90 zł
129.00 zł(-70%) -
Przekonaj się, jak wygląda składnia JavaScriptu oraz typowe konstrukcje w tym języku. W trakcie lektury kolejnych rozdziałów nauczysz się budować przejrzystą strukturę programu, korzystać z obiektów i tablic oraz wyrażeń regularnych. Ponadto poznasz tajniki programowania obiektowego i najlepsze t...
Zrozumieć JavaScript. Wprowadzenie do programowania Zrozumieć JavaScript. Wprowadzenie do programowania
(59.40 zł najniższa cena z 30 dni)59.40 zł
99.00 zł(-40%) -
This book is a comprehensive guide to Nuxt.js, which takes you from the basics to advanced topics. Uniquely, this book emphasizes practical, project-based learning, tackling real-world problems.
Nuxt 3 Projects. Build scalable applications with Nuxt 3 using TypeScript, Pinia, and Composition API Nuxt 3 Projects. Build scalable applications with Nuxt 3 using TypeScript, Pinia, and Composition API
-
Full-Stack React Projects is a complete guide to learning full-stack web development, understanding the creation and integration of backend systems, and advancing your career as a frontend developer.
Modern Full-Stack React Projects. Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js Modern Full-Stack React Projects. Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js
-
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
-
In this book, you'll gain extensive knowledge of the JavaScript ecosystem, Node.js, and microservices. Moreover, you'll learn best practices that you can easily apply in your everyday work or study.
Building Microservices with Node.js. Explore microservices applications and migrate from a monolith architecture to microservices Building Microservices with Node.js. Explore microservices applications and migrate from a monolith architecture to microservices
-
This unique book introduces both React and React Native, giving you a big picture view of the React ecosystem.
React and React Native. Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile - Fifth Edition React and React Native. Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile - Fifth Edition
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)35.40 zł
59.00 zł(-40%) -
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
(39.50 zł najniższa cena z 30 dni)39.50 zł
79.00 zł(-50%) -
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...(16.45 zł najniższa cena z 30 dni)
16.45 zł
32.90 zł(-50%) -
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.31 zł
59.90 zł(-16%) -
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...(34.50 zł najniższa cena z 30 dni)
34.50 zł
69.00 zł(-50%) -
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...(19.50 zł najniższa cena z 30 dni)
19.50 zł
39.00 zł(-50%) -
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)
159.65 zł
189.00 zł(-16%) -
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
(19.95 zł najniższa cena z 30 dni)19.95 zł
39.90 zł(-50%) -
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:
JavaScript. Wzorce
- Autor:
- Stoyan Stefanov
19,50 zł
39,00 zł
(19.50 zł najniższa cena z 30 dni)
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
-
Keeping up with the Python ecosystem can be daunting. Its developer tooling doesn't provide the out-of-the-box experience native to languages like Rust and Go. When it comes to long-term project maintenance or collaborating with others, every Python project faces the same problem: how to build re...(203.15 zł najniższa cena z 30 dni)
210.15 zł
249.00 zł(-16%) -
Bringing a deep-learning project into production at scale is quite challenging. To successfully scale your project, a foundational understanding of full stack deep learning, including the knowledge that lies at the intersection of hardware, software, data, and algorithms, is required.This book il...(237.15 zł najniższa cena z 30 dni)
252.85 zł
289.00 zł(-13%) -
Frontend developers have to consider many things: browser compatibility, usability, performance, scalability, SEO, and other best practices. But the most fundamental aspect of creating websites is one that often falls short: accessibility. Accessibility is the cornerstone of any website, and if a...(194.65 zł najniższa cena z 30 dni)
209.55 zł
249.00 zł(-16%) -
In this insightful and comprehensive guide, Addy Osmani shares more than a decade of experience working on the Chrome team at Google, uncovering secrets to engineering effectiveness, efficiency, and team success. Engineers and engineering leaders looking to scale their effectiveness and drive tra...(118.15 zł najniższa cena z 30 dni)
125.14 zł
149.00 zł(-16%) -
Data modeling is the single most overlooked feature in Power BI Desktop, yet it's what sets Power BI apart from other tools on the market. This practical book serves as your fast-forward button for data modeling with Power BI, Analysis Services tabular, and SQL databases. It serves as a starting ...(194.65 zł najniższa cena z 30 dni)
209.75 zł
249.00 zł(-16%) -
C# is undeniably one of the most versatile programming languages available to engineers today. With this comprehensive guide, you'll learn just how powerful the combination of C# and .NET can be. Author Ian Griffiths guides you through C# 12.0 and .NET 8 fundamentals and techniques for building c...(228.65 zł najniższa cena z 30 dni)
252.45 zł
289.00 zł(-13%) -
Learn how to get started with Futures Thinking. With this practical guide, Phil Balagtas, founder of the Design Futures Initiative and the global Speculative Futures network, shows you how designers and futurists have made futures work at companies such as Atari, IBM, Apple, Disney, Autodesk, Luf...(152.15 zł najniższa cena z 30 dni)
158.85 zł
189.00 zł(-16%) -
Augmented Analytics isn't just another book on data and analytics; it's a holistic resource for reimagining the way your entire organization interacts with information to become insight-driven.Moving beyond traditional, limited ways of making sense of data, Augmented Analytics provides a dynamic,...(177.65 zł najniższa cena z 30 dni)
184.65 zł
219.00 zł(-16%) -
Learn how to prepare for—and pass—the Kubernetes and Cloud Native Associate (KCNA) certification exam. This practical guide serves as both a study guide and point of entry for practitioners looking to explore and adopt cloud native technologies. Adrián González Sánchez ...
Kubernetes and Cloud Native Associate (KCNA) Study Guide Kubernetes and Cloud Native Associate (KCNA) Study Guide
(160.65 zł najniższa cena z 30 dni)177.65 zł
209.00 zł(-15%) -
Python is an excellent way to get started in programming, and this clear, concise guide walks you through Python a step at a time—beginning with basic programming concepts before moving on to functions, data structures, and object-oriented design. This revised third edition reflects the gro...(151.08 zł najniższa cena z 30 dni)
150.98 zł
179.00 zł(-16%)
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.