Developing Web Components. UI from jQuery to Polymer
- Autorzy: :
- Jarrod Overson, Jason Strimpel
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 252
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Developing Web Components. UI from jQuery to Polymer
Although web components are still on the bleeding edge—barely supported in modern browsers—the technology is also moving extremely fast. This practical guide gets you up to speed on the concepts underlying W3C’s emerging standard and shows you how to build custom, reusable HTML5 Web Components.
Regardless of your experience with libraries such as jQuery and Polymer, this book teaches JavaScript developers the DOM manipulations these libraries perform. You’ll learn how to build a basic widget with vanilla JavaScript and then convert it into a web component that’s semantic, declarative, encapsulated, consumable, and maintainable. With custom components, the Web can finally fulfill its potential as a natively extensible application platform. This book gets you in at the right time.
- Understand core concepts (such as normal flow and positioning, and Z-index) for properly positioning, dragging, and resizing elements
- Explore UI concepts and patterns typically abstracted away by Dojo, jQuery UI, Kendo UI, and other libraries
- Dive into the W3C standard and convert your working widget example into a fully functioning web component
- Learn how to encapsulate, package, and deploy your web components with Google’s Polymer framework
Wybrane bestsellery
-
Explore Python code recipes to use market data for designing and deploying algorithmic trading strategies. By following step-by-step instructions, you'll be proficient in trading concepts and have hands-on experience in a live trading environment.
-
Isomorphic JavaScript, often described as the holy grail of web application development, refers to running JavaScript code on both the browser client and web application server. This application architecture has become increasingly popular for the benefits of SEO, optimized page load and full con...(73.55 zł najniższa cena z 30 dni)
73.53 zł
129.00 zł(-43%) -
Ta książka to praktyczny przewodnik po frameworku Vue.js przeznaczonym dla programistów zaznajomionych z JavaScriptem, HTML-em i CSS-em. Pozwala na szybkie poznanie tego narzędzia. Przedstawiono w niej zasady łatwego zarządzania stanem z użyciem biblioteki Vuex oraz techniki budowania niestandard...(29.49 zł najniższa cena z 30 dni)
29.49 zł
59.00 zł(-50%) -
Ta książka jest kolejnym, uzupełnionym i zaktualizowanym wydaniem znakomitego wprowadzenia do projektowania dynamicznych stron internetowych. Oprócz przystępnego omówienia technik tworzenia responsywnych stron WWW znalazły się tu solidne podstawy PHP, MySQL, JavaScriptu, CSS i HTML5; opisano też ...(35.90 zł najniższa cena z 30 dni)
35.90 zł
119.00 zł(-70%) -
Bootstrap jest coraz popularniejszym frameworkiem CSS i JavaScriptu, służącym do szybkiego i bezproblemowego tworzenia responsywnych interfejsów WWW. W sierpniu 2011 roku został zaprezentowany światu w jako projekt open source, a dzisiaj jest marką powszechnie znaną wśród projektantów front-endów...(24.50 zł najniższa cena z 30 dni)
24.50 zł
49.00 zł(-50%) -
Dzięki tej książce dowiesz się, jak rozpocząć pracę z tym znakomitym narzędziem. Zrozumiesz, czym jest Vue.js, i sprawdzisz, jakie ma możliwości. Będziesz też mieć okazję do przetestowania ich podczas tworzenia kilku ciekawych aplikacji. W trakcie lektury kolejnych rozdziałów przekonasz się, jak ...(47.40 zł najniższa cena z 30 dni)
55.30 zł
79.00 zł(-30%) -
Niniejsza książka jest przeznaczona dla średnio zaawansowanych programistów, którzy chcą tworzyć lepsze aplikacje z wykorzystaniem technologii PHP i jQuery. Na przykładzie budowy kompletnej aplikacji WWW pokazano tu mnóstwo zaawansowanych technik PHP i metod doskonalenia aplikacji z frameworkiem ...(33.50 zł najniższa cena z 30 dni)
33.50 zł
67.00 zł(-50%) -
Niniejsza książka jest przeznaczona dla projektantów, którzy pracując z biblioteką jQuery, chcą wykorzystywać różne standardowe wzorce branżowe. Docenią ją zespoły programistów, którym ułatwi pisanie dobrze zorganizowanych i rozszerzalnych implementacji. Zaprezentowano tu różne wzorce projektowe,...(22.45 zł najniższa cena z 30 dni)
22.45 zł
44.90 zł(-50%) -
Jeśli znasz choćby podstawy JavaScriptu i chciałbyś możliwie szybko nabrać biegłości w posługiwaniu się jQuery, trzymasz w dłoni książkę dla siebie. Dzięki temu zwięzłemu przewodnikowi nauczysz się płynnie realizować zadania, które pojawiają się niemal zawsze podczas tworzenia aplikacji interneto...(44.50 zł najniższa cena z 30 dni)
44.50 zł
89.00 zł(-50%) -
jQuery jest dominującą technologią w budowaniu nowoczesnych portali internetowych. W książce przedstawiono alternatywne biblioteki skryptowe, powszechnie używane w nowych projektach, których znajomość jest coraz częściej poszukiwana na rynku pracy. Publikacja jest przeznaczona dla wszystki...(41.30 zł najniższa cena z 30 dni)
47.20 zł
59.00 zł(-20%)
O autorze ebooka
Prior to his current ventures, he traded professionally for a Chicago-based hedge fund and served as a risk manager at JPMorgan. He also managed credit and market risk technology for an energy derivatives trading firm in London and held the role of APAC Chief Information Officer for an agricultural trading firm in Singapore. In addition, he established the data science, analytics, and engineering team for a global metals trading firm.
With undergraduate degrees in Finance and Economics and a Master's in Quantitative Finance from the Illinois Institute of Technology, Jason's career has taken him across America, Europe, and Asia. He shares his insights through the PyQuant Newsletter, social media, and teaches the popular course Getting Started With Python for Quant Finance.
Ebooka "Developing Web Components. UI from jQuery to Polymer" 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 "Developing Web Components. UI from jQuery to Polymer" 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 "Developing Web Components. UI from jQuery to Polymer" 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-919-0569-2, 9781491905692
- Data wydania ebooka:
- 2015-02-17 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:
- 16.1MB
- Rozmiar pliku Mobi:
- 16.1MB
Spis treści ebooka
- Preface
- Why We Wrote This Book
- What This Book Is
- Part I, UI Core Concepts
- Part II, Building Our UI
- Part III, Building HTML5 Web Components
- Part IV, Testing, Building, and Deploying Components with Polymer
- What This Book Isnt
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- Jason Strimpel
- Jarrod Overson
- 1. Introduction
- What Are Web Components?
- HTML Templates
- HTML Imports
- Custom Elements
- The Shadow DOM
- What Are Web Components?
- Why Web Components?
- I. UI Core Concepts
- 2. Creating a Solid Foundation
- The Importance of a DOM Abstraction Layer
- API Design and Widget Life Cycle
- The Inheritance Pattern
- Dependencies
- Optimization
- A Web Component Is Not JavaScript Alone
- Example Widget
- The Voltron Widget Base Class
- Dialog Class
- Dialog CSS and HTML
- Summary
- 3. Normal Flow and Positioning
- Normal Flow
- Positioning Elements
- offsetParent
- How the browser determines an elements offsetParent
- offsetParent
- Positioning
- Relative positioning
- Absolute positioning
- Fixed positioning
- Calculating an Elements Position
- Relative to the Viewport
- Relative to the Document
- Positioning the Dialog Widget
- Summary
- 4. Understanding and Managing z-index
- What Exactly Is the z-index Property?
- Rendering Layers, Stacking Order, and z-index
- Default Stacking Orders
- Overriding the Default Stacking Order
- Stacking Contexts
- How Is a Stacking Context Created?
- Increasing Complexity
- Managing z-indexes
- z-index Manager
- API stub
- Utilities
- Determining if an element creates a stacking context
- Finding an elements stacking context
- Modifying an elements z-index
- Example usages
- Summary
- z-index Manager
- Converting to a jQuery Plugin
- Adding z-index Management to the Dialog Widget
- Summary
- II. Building Our UI
- 5. Cloning Nodes
- Using the cloneNode Method
- Using jQuery.clone
- Continuation of the Dialog Widget
- Summary
- 6. Constructing an Overlay
- Defining an API
- Utilities
- Detecting Scrollbar Width
- Accounting for the Scrollbar When Calculating a Containing Elements Width
- Getting an Elements Dimensions and Coordinates
- Listening for Resize and Scrolling Events
- Updating Options
- Destroying
- Positioning
- Positioning an Element Relative to the Viewport or Another Element
- CSS overlay
- JavaScript overlay
- Positioning an Element Relative to the Viewport or Another Element
- Positioning an Element Relative to Another Element
- Adding the Overlay to the Dialog Widget
- Summary
- 7. Making Elements Draggable
- Mouse Events
- $.mousemove
- $.mousedown
- $.mouseup
- Mouse Events
- Mouse Events Best Practices
- 1. Bind $.mousemove on $.mousedown
- 2. Unbind $.mousemove on $.mouseup
- 3. Bind $.mouseup to the <body>
- 4. Namespace All Event Bindings
- Defining an API
- Creating a Drag Handle
- Making Things Move
- $.mousedown Handler
- $.mousemove Handler
- $.mouseup Handler
- Destroying a Draggable Instance
- Making the Dialog Widget Draggable
- Summary
- 8. Resizing Elements
- Mouse Events and Best Practices (Recap)
- Events
- Best Practices
- Mouse Events and Best Practices (Recap)
- Resizing an Element
- Making a Resizable API
- Defining Drag Handles
- Binding Event Handlers
- $.mousedown Handler
- $.mousemove Handler
- $.mouseup Handler
- Destroying a Resizable Instance
- Completed Resizing Library
- Making the Dialog Widget Resizable
- Summary
- 9. Completing the Dialog Widget
- Styling the Widget
- Adding CSS
- Styling the Widget
- Concatenating the JavaScript
- Summary
- III. Building HTML5 Web Components
- 10. Utilizing Templates
- Understanding the Importance of Templates
- Deferring the Processing of Resources
- Deferring the Rendering of Content
- Hiding the Content from the DOM
- Understanding the Importance of Templates
- Creating and Using a Template
- Detecting Browser Support
- Placing a Template in Markup
- Adding a Template to the DOM
- Converting the Dialog Component to a Template
- Creating a Wrapper API for the Dialog Template
- Instantiating a Dialog Component Instance
- Abstracting the Dialog Template Wrapper
- Summary
- 11. Working with the Shadow DOM
- What Is the Shadow DOM?
- Shadow DOM Basics
- Shadow Host
- Shadow Root
- Creating a shadow root
- Using a Template with the Shadow DOM
- Shadow DOM Styling
- Style Encapsulation
- Styling the Host Element
- Styling Shadow Root Elements from the Parent Page
- Content Projection
- Projection via a Content Tag
- Projection via Content Selectors
- Getting Distributed Nodes and Insertion Points
- Shadow Insertion Points
- Events and the Shadow DOM
- Updating the Dialog Template to Use the Shadow DOM
- Dialog Markup
- Dialog API
- Updating the Dialog show Method
- Instantiating a Dialog Component Instance
- Summary
- 12. Creating Custom Elements
- Introducing Custom Elements
- Registering Custom Elements
- Extending Elements
- Extending Custom Elements
- Extending Native Elements
- Defining Properties and Methods
- Resolving Custom Elements
- Hooking Into Custom Element Life Cycles
- createdCallback
- attachedCallback
- detachedCallback
- attributeChangedCallback
- Styling Custom Elements
- Utilizing Templates and the Shadow DOM with Custom Elements
- Converting the Dialog Component to a Custom Element
- Creating the Dialog Custom Element
- Implementing the Dialog Custom Elements Callbacks
- Implementing the Dialog Custom Element API
- Showing the Dialog
- Summary
- 13. Importing Code
- Declaring an Import
- Accessing an Imports Content
- Referencing Documents
- Applying Styles
- Accessing Templates
- Executing JavaScript
- Understanding Imports in Relation to the Main Document
- Parsing Imports
- Cross-Domain Considerations
- Subimports
- Loading Custom Elements
- Importing the Dialog
- Summary
- IV. Testing, Building, and Deploying Components with Polymer
- 14. Introducing Polymer
- Polymer Elements
- Adding Style
- External Resources
- Filtering Expressions
- Polymer Elements
- Template Syntax
- Data Binding
- Block Repetition
- Bound Scopes
- Conditional Blocks
- Multiple Template Directives at Once
- Attributes and PropertiesYour Elements API
- Naked Attributes
- Published Properties
- Instance Methods
- Polymers JavaScript APIs
- Life Cycle Methods
- Events
- Managing Delayed Work
- Summary
- 15. Porting Our Dialog to Polymer
- Why Port Anything to Polymer at All?
- The Direct Port
- Managing Dependencies
- Installing Dependencies with Bower
- Getting Started
- That Was EasyA Little Too Easy!
- jQuery in a Polymer World
- What Does jQuery Provide?
- Removing jQuery
- The Verdict on jQuery
- Summary
- 16. Testing Web Components
- PhantomJS 1
- PhantomJS 2
- Selenium WebDriver
- Karma
- Test Specs
- Running Our Tests
- Summary
- 17. Packaging and Publishing
- Vulcanize
- Gulp
- Grunt
- Gruntfiles
- Grunt Tasks
- Registering Tasks
- Grunt Configuration
- Publishing with Bower
- Registering the Component
- Summary
- 18. Final Words
- Where Do We Go from Here?
- Polymer
- Mozilla X-Tag
- document-register-element
- WebComponents.org
- CustomElements.io
- Where Do We Go from Here?
- Good Luck!
- Index
O'Reilly Media - inne książki
-
Large language models (LLMs) and generative AI are rapidly changing the healthcare industry. These technologies have the potential to revolutionize healthcare by improving the efficiency, accuracy, and personalization of care. This practical book shows healthcare leaders, researchers, data scient...(149.89 zł najniższa cena z 30 dni)
149.84 zł
199.00 zł(-25%) -
With hundreds of tools preinstalled, the Kali Linux distribution makes it easier for security professionals to get started with security testing quickly. But with more than 600 tools in its arsenal, Kali Linux can also be overwhelming. The new edition of this practical book covers updates to the ...(162.21 zł najniższa cena z 30 dni)
162.16 zł
209.00 zł(-22%) -
Learn how to implement and manage a modern customer data platform (CDP) through the Salesforce Data Cloud platform. This practical book provides a comprehensive overview that shows architects, administrators, developers, data engineers, and marketers how to ingest, store, and manage real-time cus...(185.84 zł najniższa cena z 30 dni)
185.73 zł
249.00 zł(-25%) -
Real-time applications are becoming the norm today. But building a model that works properly requires real-time data from the source, in-flight stream processing, and low latency serving of its analytics. With this practical book, data engineers, data architects, and data analysts will learn how ...(210.20 zł najniższa cena z 30 dni)
210.15 zł
279.00 zł(-25%) -
Methods of delivering software are constantly evolving in order to increase speed to market without sacrificing reliability and stability. Mastering development end to end, from version control to production, and building production-ready code is now more important than ever. Continuous deploymen...(171.72 zł najniższa cena z 30 dni)
171.52 zł
229.00 zł(-25%) -
As the transformation to hybrid multicloud accelerates, businesses require a structured approach to securing their workloads. Adopting zero trust principles demands a systematic set of practices to deliver secure solutions. Regulated businesses, in particular, demand rigor in the architectural pr...(153.48 zł najniższa cena z 30 dni)
153.28 zł
209.00 zł(-27%) -
This concise yet comprehensive guide explains how to adopt a data lakehouse architecture to implement modern data platforms. It reviews the design considerations, challenges, and best practices for implementing a lakehouse and provides key insights into the ways that using a lakehouse can impact ...(181.63 zł najniższa cena z 30 dni)
181.58 zł
249.00 zł(-27%) -
In today's fast-paced world, more and more organizations require rapid application development with reduced development costs and increased productivity. This practical guide shows application developers how to use PowerApps, Microsoft's no-code/low-code application framework that helps developer...(150.77 zł najniższa cena z 30 dni)
150.57 zł
209.00 zł(-28%) -
Welcome to the systems age, where software professionals are no longer building software&emdash;we're building systems of software. Change is continuously deployed across software ecosystems coordinated by responsive infrastructure. In this world of increasing relational complexity, we need t...(141.04 zł najniższa cena z 30 dni)
140.94 zł
209.00 zł(-33%) -
This book provides an ideal guide for Python developers who want to learn how to build applications with large language models. Authors Olivier Caelen and Marie-Alice Blete cover the main features and benefits of GPT-4 and GPT-3.5 models and explain how they work. You'll also get a step-by-step g...(143.33 zł najniższa cena z 30 dni)
142.83 zł
209.00 zł(-32%)
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: Developing Web Components. UI from jQuery to Polymer Jarrod Overson, Jason Strimpel (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.