JQuery Design Patterns : Write Elegant, Structured and Efficient JQuery 🔍
Greasidis Thodoris.
Packt Publishing, Limited, Packt Publishing, Birmingham, 2016
英语 [en] · EPUB · 2.4MB · 2016 · 📘 非小说类图书 · 🚀/lgli/lgrs/nexusstc/zlib · Save
描述
Packt Publishing, 2016. — 246 p. — ISBN: 978-1-78588-868-7.
Код примеров к книге выложен (/file/1938175/) здесь . Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deployments. Query is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery. What You Will Learn:
Respond to user actions;
Achieve greater flexibility and code decoupling;
Have a central point for emitting and receiving application level events;
Structure the application into small independent modules;
Abstract complex APIs;
Isolate the procedure of generating complex parts of the application;
Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises;
Utilize the most widely-used client-side templating libraries for more complex use cases. Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events.
Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results.
This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment. Who This Book Is For:
This book is for existing jQuery Developers or new developers who want to get an understanding of the “correct way” to build jQuery applications, using best practices and industry standard patterns.
Код примеров к книге выложен (/file/1938175/) здесь . Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deployments. Query is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery. What You Will Learn:
Respond to user actions;
Achieve greater flexibility and code decoupling;
Have a central point for emitting and receiving application level events;
Structure the application into small independent modules;
Abstract complex APIs;
Isolate the procedure of generating complex parts of the application;
Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises;
Utilize the most widely-used client-side templating libraries for more complex use cases. Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events.
Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results.
This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment. Who This Book Is For:
This book is for existing jQuery Developers or new developers who want to get an understanding of the “correct way” to build jQuery applications, using best practices and industry standard patterns.
备用文件名
lgrsnf/F:\twirpx\_19\_9\1938177\1greasidis_thodoris_jquery_design_patterns.epub
备用文件名
nexusstc/jQuery Design Patterns/9dbfd51895ca93be96ac02124ff5b7e1.epub
备用文件名
zlib/Computers/Thodoris Greasidis/jQuery Design Patterns_2973913.epub
备选标题
JQuery design patterns : learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deployments
备选作者
Thodoris Greasidis
备用版本
Community experience distilled, Community experience distilled, Birmingham, England, 2016
备用版本
Community experience distilled, Birmingham, UK, 2016
备用版本
United Kingdom and Ireland, United Kingdom
备用版本
Birmingham, Feb. 2016
备用版本
FR, 2016
备用版本
1, 2016
元数据中的注释
1938177
元数据中的注释
twirpx
元数据中的注释
lg1731559
元数据中的注释
Includes index.
备用描述
Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: A Refresher on jQuery and the Composite Pattern ; jQuery and DOM scripting; Manipulating the DOM using jQuery; Method Chaining and Fluent Interfaces; The Composite Pattern; How the Composite Pattern is used by jQuery; Comparing the benefits over the plain DOM API; Using the Composite Pattern to develop applications; A sample use case; The Composite Collection Implementation; An example execution; Alternative implementations; The Iterator Pattern
How the Iterator Pattern is used by jQueryHow it pairs with the Composite Pattern; Where can it be used; Summary; Chapter 2: The Observer Pattern ; Introducing the Observer Pattern; How it is used by jQuery; The jQuery on method; The document-ready observer; Demonstrate a sample use case; How it is compared with event attributes; Avoid memory leaks; Introducing the Delegated Event Observer Pattern; How it simplifies our code; Compare the memory usage benefits; Summary; Chapter 3: The Publish/Subscribe Pattern ; Introducing the Publish/Subscribe Pattern
How it differs from the Observer PatternHow it is adopted by jQuery; Custom events in jQuery; Implementing a Pub/Sub scheme using custom events; Demonstrating a sample use case; Using Pub/Sub on the dashboard example; Extending the implementation; Using any object as a broker; Using custom event namespacing; Summary; Chapter 4: Divide and Conquer with the Module Pattern ; Modules and Namespaces; Encapsulating internal parts of an implementation; Avoiding global variables with Namespaces; The benefits of these patterns; The wide acceptance; The Object Literal Pattern; The Module Pattern
The IIFE building blockThe simple IIFE Module Pattern; How it is used by jQuery; The Namespace Parameter Module variant; The IIFE-contained Module variant; The Revealing Module Pattern; Using ES5 Strict Mode; Introducing ES6 Modules; Using Modules in jQuery applications; The main dashboard module; The categories module; The informationBox module; The counter module; Overview of the implementation; Summary; Chapter 5: The Facade Pattern ; Introducing the Facade Pattern; The benefits of this pattern; How it is adopted by jQuery; The jQuery DOM Traversal API
The property access and manipulation APIUsing Facades in our applications; Summary; Chapter 6: The Builder and Factory Patterns ; Introducing the Factory Pattern; How it is adopted by jQuery; Using Factories in our applications; Introducing the Builder Pattern; How it is adopted by jQuery's API; How it is used by jQuery internally; How to use it in our applications; Summary; Chapter 7: Asynchronous Control Flow Patterns ; Programming with callbacks; Using simple callbacks in JavaScript; Setting callbacks as object properties; Using callbacks in jQuery applications
How the Iterator Pattern is used by jQueryHow it pairs with the Composite Pattern; Where can it be used; Summary; Chapter 2: The Observer Pattern ; Introducing the Observer Pattern; How it is used by jQuery; The jQuery on method; The document-ready observer; Demonstrate a sample use case; How it is compared with event attributes; Avoid memory leaks; Introducing the Delegated Event Observer Pattern; How it simplifies our code; Compare the memory usage benefits; Summary; Chapter 3: The Publish/Subscribe Pattern ; Introducing the Publish/Subscribe Pattern
How it differs from the Observer PatternHow it is adopted by jQuery; Custom events in jQuery; Implementing a Pub/Sub scheme using custom events; Demonstrating a sample use case; Using Pub/Sub on the dashboard example; Extending the implementation; Using any object as a broker; Using custom event namespacing; Summary; Chapter 4: Divide and Conquer with the Module Pattern ; Modules and Namespaces; Encapsulating internal parts of an implementation; Avoiding global variables with Namespaces; The benefits of these patterns; The wide acceptance; The Object Literal Pattern; The Module Pattern
The IIFE building blockThe simple IIFE Module Pattern; How it is used by jQuery; The Namespace Parameter Module variant; The IIFE-contained Module variant; The Revealing Module Pattern; Using ES5 Strict Mode; Introducing ES6 Modules; Using Modules in jQuery applications; The main dashboard module; The categories module; The informationBox module; The counter module; Overview of the implementation; Summary; Chapter 5: The Facade Pattern ; Introducing the Facade Pattern; The benefits of this pattern; How it is adopted by jQuery; The jQuery DOM Traversal API
The property access and manipulation APIUsing Facades in our applications; Summary; Chapter 6: The Builder and Factory Patterns ; Introducing the Factory Pattern; How it is adopted by jQuery; Using Factories in our applications; Introducing the Builder Pattern; How it is adopted by jQuery's API; How it is used by jQuery internally; How to use it in our applications; Summary; Chapter 7: Asynchronous Control Flow Patterns ; Programming with callbacks; Using simple callbacks in JavaScript; Setting callbacks as object properties; Using callbacks in jQuery applications
备用描述
<p>Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deployments<br></p><p>About This Book<br></p><ul> <li>Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events </li> <li>Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results </li> <li>This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment </li></ul><p>Who This Book Is For<br></p><p>This book is for existing jQuery Developers or new developers who want to get an understanding of the "correct way" to build jQuery applications, using best practices and industry standard patterns.<br></p><p>What You Will Learn<br></p><ul> <li>Respond to user actions </li> <li>Achieve greater flexibility and code decoupling </li> <li>Have a central point for emitting and receiving application level events </li> <li>Structure the application into small independent modules </li> <li>Abstract complex APIs </li> <li>Isolate the procedure of generating complex parts of the application </li> <li>Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises </li> <li>Utilize the most widely-used client-side templating libraries for more complex use cases </li></ul><p>In Detail<br></p><p>jQuery is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.<br></p><p>jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available.<br></p><p>The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery.<br></p><p>Style and approach<br></p><p>The example-oriented guide covers the best and most widely used patterns to help you improve your development with jQuery.<br></p>
备用描述
Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deployments About This Book Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment Who This Book Is For This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment What You Will Learn Respond to user actions Achieve greater flexibility and code decoupling Have a central point for emitting and receiving application level events Structure the application into small independent modules Structure the application into small independent modules Isolate the procedure of generating complex parts of the application Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises Utilize the most widely-used client-side templating libraries for more complex use cases In Detail jQuery is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. Style and approach jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these pro...
备用描述
Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deploymentsAbout This Book Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environmentWho This Book Is ForThis book is for existing jQuery Developers or new developers who want to get an understanding of the correct way to build jQuery applications, using best practices and industry standard patterns. What You Will Learn Respond to user actions Achieve greater flexibility and code decoupling Have a central point for emitting and receiving application level events Structure the application into small independent modules Abstract complex APIs Isolate the procedure of generating complex parts of the application Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises Utilize the most widely-used client-side templating libraries for more complex use casesIn DetailjQuery is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery. Style and approachThe example-oriented guide covers the best and most widely used patterns to help you improve your development with jQuery
备用描述
Packt Publishing, 2016. — 246 p. — ISBN: 978-1-78588-868-7. **Код примеров к книге выложен [здесь](/file/1938175/).****Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deployments.**
Query is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.
jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. **This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available.**
The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery.
**What You Will Learn:**Respond to user actions;Achieve greater flexibility and code decoupling;Have a central point for emitting and receiving application level events;Structure the application into small independent modules;Abstract complex APIs;Isolate the procedure of generating complex parts of the application;Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises;Utilize the most widely-used client-side templating libraries for more complex use cases.
Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events.Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results.This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment.
**Who This Book Is For:**This book is for existing jQuery Developers or new developers who want to get an understanding of the “correct way” to build jQuery applications, using best practices and industry standard patterns.
Query is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.
jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. **This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available.**
The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery.
**What You Will Learn:**Respond to user actions;Achieve greater flexibility and code decoupling;Have a central point for emitting and receiving application level events;Structure the application into small independent modules;Abstract complex APIs;Isolate the procedure of generating complex parts of the application;Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises;Utilize the most widely-used client-side templating libraries for more complex use cases.
Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events.Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results.This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment.
**Who This Book Is For:**This book is for existing jQuery Developers or new developers who want to get an understanding of the “correct way” to build jQuery applications, using best practices and industry standard patterns.
备用描述
Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deploymentsKey Features[•] Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events[•] Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results[•] This step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environmentBook DescriptionjQuery is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery. What you will learn[•] Respond to user actions[•] Achieve greater flexibility and code decoupling[•] Have a central point for emitting and receiving application level events[•] Structure the application into small independent modules[•] Abstract complex APIs[•] Isolate the procedure of generating complex parts of the application[•] Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises[•] Utilize the most widely-used client-side templating libraries for more complex use casesWho this book is forThis book is for existing jQuery Developers or new developers who want to get an understanding of the “correct way” to build jQuery applications, using best practices and industry standard patterns.
备用描述
jQuery is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery. Thodoris Greasidis is a senior web engineer from Greece. He graduated with honors from the University of Thessaly, holds a polytechnic diploma in computer, networking, and communications engineering, and a master's degree in computer science. He is a full-stack developer, responsible for implementing large-scale web applications with intuitive interfaces and high-availability web services. Thodoris is part of the Angular-UI team and has made many open source contributions, with a special interest in Mozilla projects. He is also an active member of the Athens AngularJS Meetup and a technical reviewer of Mastering jQuery UI, Packt Publishing. He is a JavaScript enthusiast and loves bitwise operations. His interests also include NodeJS, Python, project scaffolding, automation, and artificial intelligence, especially multi-agent systems.
开源日期
2017-08-07
🚀 快速下载
成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
如果您在本月捐款,您将获得双倍的快速下载次数。
🐢 低速下载
由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)
- 低速服务器(合作方提供) #1 (稍快但需要排队)
- 低速服务器(合作方提供) #2 (稍快但需要排队)
- 低速服务器(合作方提供) #3 (稍快但需要排队)
- 低速服务器(合作方提供) #4 (稍快但需要排队)
- 低速服务器(合作方提供) #5 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #6 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #7 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #8 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #9 (无需排队,但可能非常慢)
- 下载后: 在我们的查看器中打开
所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
外部下载
-
对于大文件,我们建议使用下载管理器以防止中断。
推荐的下载管理器:JDownloader -
您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
推荐的电子书阅读器:Anna的档案在线查看器、ReadEra和Calibre -
使用在线工具进行格式转换。
推荐的转换工具:CloudConvert和PrintFriendly -
您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
推荐的工具:亚马逊的“发送到 Kindle”和djazz 的“发送到 Kobo/Kindle” -
支持作者和图书馆
✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。
下面的文字仅以英文继续。
总下载量:
“文件的MD5”是根据文件内容计算出的哈希值,并且基于该内容具有相当的唯一性。我们这里索引的所有影子图书馆都主要使用MD5来标识文件。
一个文件可能会出现在多个影子图书馆中。有关我们编译的各种数据集的信息,请参见数据集页面。
有关此文件的详细信息,请查看其JSON 文件。 Live/debug JSON version. Live/debug page.