
Build a Frontend Web Framework (From Scratch)
by: Ángel Sola Orbaiceta (Author)
Publisher: Manning
Publication Date: 2024/5/21
Language: English
Print Length: 384 pages
ISBN-10: 1633438066
ISBN-13: 9781633438064
Book Description
Learn how a frontend web framework works by coding your own!Web developers use frontend frameworks every day—but do you know how these essential parts of your stack really work? Build a Frontend Web Framework (From Scratch) reveals the inner workings of web frameworks by helping you create your very own. In Build a Frontend Web Framework (From Scratch), you’ll learn the secrets behind frameworks like React, Vue, and Angular, including: Create HTML documents programmaticallyDefine the view with virtual DOMUpdate the HTML efficiently with reconciliation algorithmsCreate two-way communication mechanisms between components in a hierarchy Whatever your experience level, you’ll be able to start building your framework with this guide. All you need is some core skills in HTML, CSS, and JavaScript. And once you’ve learned how frameworks function, you’ll be able to work with them more efficiently, troubleshoot bugs more effectively, and even customize them for your specific needs! Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology You use frontend frameworks every day, but do you really know what’s going on behind the API? Building your own framework is a great way to learn how they interact with the DOM, generate page views, route data between components, and communicate with the underlying operating system. With this interesting and entertaining book, you’ll build your own web framework step-by-step in JavaScript, ready to share with the world as an NPM package! About the book Build a Frontend Web Framework (From Scratch) guides you through a simple component-based frontend framework that borrows from React, Svelte, Angular, and other familiar tools. You’ll learn how a modern framework operates by adding features like component state and lifecycle management, a virtual DOM, and reconciliation algorithms to update the HTML efficiently. You’ll appreciate how each critical concept is broken down into easy-to-digest chunks and explained with engaging graphics. What’s inside Create HTML documents programmaticallyDefine the view with the virtual DOMImplement a component lifecycle scheduler About the reader For web developers familiar with JavaScript and Node. About the author Angel Sola Orbaiceta has worked in the software industry for over a decade, creating software for the cloud, macOS, and Windows desktop applications. Table of Contents PART 1 1 Are frontend frameworks magic to you? 2 Vanilla JavaScript—like in the old days PART 2 3 Rendering and the virtual DOM 4 Mounting and destroying the virtual DOM 5 State management and the application’s lifecycle 6 Publishing and using your framework’s first version 7 The reconciliation algorithm: Diffing virtual trees 8 The reconciliation algorithm: Patching the DOM PART 3 9 Stateful components 10 Component methods 11 Subcomponents: Communication via props and events 12 Keyed lists 13 The component lifecycle hooks and the scheduler 14 Testing asynchronous components Appendix
About the Author
Learn how a frontend web framework works by coding your own!Web developers use frontend frameworks every day—but do you know how these essential parts of your stack really work? Build a Frontend Web Framework (From Scratch) reveals the inner workings of web frameworks by helping you create your very own. In Build a Frontend Web Framework (From Scratch), you’ll learn the secrets behind frameworks like React, Vue, and Angular, including: Create HTML documents programmaticallyDefine the view with virtual DOMUpdate the HTML efficiently with reconciliation algorithmsCreate two-way communication mechanisms between components in a hierarchy Whatever your experience level, you’ll be able to start building your framework with this guide. All you need is some core skills in HTML, CSS, and JavaScript. And once you’ve learned how frameworks function, you’ll be able to work with them more efficiently, troubleshoot bugs more effectively, and even customize them for your specific needs! Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology You use frontend frameworks every day, but do you really know what’s going on behind the API? Building your own framework is a great way to learn how they interact with the DOM, generate page views, route data between components, and communicate with the underlying operating system. With this interesting and entertaining book, you’ll build your own web framework step-by-step in JavaScript, ready to share with the world as an NPM package! About the book Build a Frontend Web Framework (From Scratch) guides you through a simple component-based frontend framework that borrows from React, Svelte, Angular, and other familiar tools. You’ll learn how a modern framework operates by adding features like component state and lifecycle management, a virtual DOM, and reconciliation algorithms to update the HTML efficiently. You’ll appreciate how each critical concept is broken down into easy-to-digest chunks and explained with engaging graphics. What’s inside Create HTML documents programmaticallyDefine the view with the virtual DOMImplement a component lifecycle scheduler About the reader For web developers familiar with JavaScript and Node. About the author Angel Sola Orbaiceta has worked in the software industry for over a decade, creating software for the cloud, macOS, and Windows desktop applications. Table of Contents PART 1 1 Are frontend frameworks magic to you? 2 Vanilla JavaScript—like in the old days PART 2 3 Rendering and the virtual DOM 4 Mounting and destroying the virtual DOM 5 State management and the application’s lifecycle 6 Publishing and using your framework’s first version 7 The reconciliation algorithm: Diffing virtual trees 8 The reconciliation algorithm: Patching the DOM PART 3 9 Stateful components 10 Component methods 11 Subcomponents: Communication via props and events 12 Keyed lists 13 The component lifecycle hooks and the scheduler 14 Testing asynchronous components Appendix Read more
Build a Frontend Web Framework (From Scratch)
相关推荐
Web Development with Django 6: A definitive guide to building modern Python web applications using Django 6 3rd Edition
Monty the Null Hippopotamus: Exploring Statistical Foundations Through Simulation
Practical Generative AI: From Concept to Deployment: Building and Deploying Ethical AI-Powered Solutions
Elements of Topology: Theory and Practice 2nd Edition
Architecting Salesforce Success: Quick tips to help you kickstart your career as a Salesforce Architect
Building Dynamic Web Experiences with PHP: Harness the power of PHP to build dynamic and scalable websites (English Edition)
Startup Masterclass: Spark disruptive change and lead the future with your startup (English Edition)
Prescriptive Analytics: Mastering the Spreadsheet of Everything (Springer Texts in Business and Economics)
电子书百科大全
评论前必须登录!
立即登录 注册