Learning JavaScript Design Patterns: A JavaScript and React Developer’s Guide, 2nd Edition (Third Early Release)

Автор: literator от 10-03-2023, 13:01, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Learning JavaScript Design Patterns: A JavaScript and React Developer’s Guide, 2nd Edition (Third Early Release)Название: Learning jаvascript Design Patterns: A jаvascript and React Developer’s Guide, 2nd Edition (Third Early Release)
Автор: Addy Osmani
Издательство: O’Reilly Media, Inc.
Год: 2023-03-09
Страниц: 346
Язык: английский
Формат: pdf, epub (true), mobi
Размер: 10.2 MB

Do you want to write beautiful, structured, and maintainable jаvascript by applying modern design patterns to the language? Do you want clean, efficient, manageable code? Want to stay up-to-date with the latest best practices? If so, the updated second edition of Learning jаvascript Design Patterns is the ideal place to start.

Author Addy Osmani shows you how to apply modern design patterns to jаvascript and React. That includes popular design patterns such as modules, mixins, observers, and mediators. You'll learn about performance and rendering patterns, such as server-side rendering and islands architecture. You'll also learn how modern architectural patterns - such as MVC, MVP, and MVVM - are useful from the perspective of a modern web application developer. Other essential topics include modern jаvascript syntax and React patterns such as Hooks, higher order components, and render props.

Design patterns provide a common vocabulary to structure code, making it easier to understand. They help enhance the quality of this connection to other developers. Knowledge of design patterns helps us identify recurring themes in requirements and map them to definitive solutions. We can rely on the experience of others who have encountered a similar problem and devised an optimized method to address it. This knowledge is invaluable as it paves the way for writing or refactoring code to make it maintainable.

Whether on the server or client, jаvascript is a cornerstone of modern web application development. The previous edition of this book focused on several popular design patterns in the jаvascript context. Over the years, jаvascript has significantly evolved as a language in terms of features and syntax. It now supports modules, classes, arrow functions, and template literals that were not there earlier. We also have advanced jаvascript libraries and frameworks that have made life easy for many web developers. How relevant, then, are Design Patterns in the modern jаvascript context?

It’s important to note that traditionally design patterns are neither prescriptive nor language specific. You can apply them when you think they fit, but you don’t have to. Like data structures or algorithms, you can still apply classic design patterns using modern programming languages, including jаvascript. You may not need some of these design patterns in modern frameworks or libraries where they are already abstracted. Conversely, the use of specific patterns may even be encouraged by some frameworks. In this edition, we are taking a pragmatic approach to patterns. We will explore why specific patterns may be the right fit for implementing certain features and if a pattern it is still recommended in the modern jаvascript context.

This book explores:

Patterns to architect your components and apps
More than 20 design patterns in jаvascript and React
Different pattern categories, including creational, structural, and behavioral
Performance patterns such as dynamic imports and code-splitting
Rendering patterns such as server-side rendering, hydration, islands architecture, and more

Скачать Learning jаvascript Design Patterns, 2nd Edition (Third Early Release)








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.