Build a Frontend Web Framework (From Scratch)

Cover of Build a Frontend Web Framework (From Scratch)

EPUB · English

Price and availability

EPUB eBookUS store

$67.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
18 June 2024
ISBN
9781638354741
Subjects
Computing & information technology, Computer science, Computing and Information Technology, Computer science

About this book

Learn how a frontend web framework works by coding your own!Web developers use frontend frameworks every daybut 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), youll learn the secrets behind frameworks like React, Vue, and Angular, including: Create HTML documents programmatically Define the view with virtual DOM Update the HTML efficiently with reconciliation algorithms Create two-way communication mechanisms between components in a hierarchy Whatever your experience level, youll be able to start building your framework with this guide. All you need is some core skills in HTML, CSS, and JavaScript. And once youve learned how frameworks function, youll be able to work with them more efficiently, troubleshoot bugs more effectively, and even customize them for your specific needs!About the technologyYou use frontend frameworks every day, but do you really know whats 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, youll build your own web framework step-by-step in JavaScript, ready to share with the world as an NPM package!About the bookBuild 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. Youll 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. Youll appreciate how each critical concept is broken down into easy-to-digest chunks and explained with engaging graphics.What's inside Create HTML documents programmatically Define the view with the virtual DOM Implement a component lifecycle scheduler About the readerFor web developers familiar with JavaScript and Node.About the authorAngel Sola Orbaiceta has worked in the software industry for over a decade, creating software for the cloud, macOS, and Windows desktop applications.Table of ContentsPART 11 Are frontend frameworks magic to you?2 Vanilla JavaScriptlike in the old daysPART 23 Rendering and the virtual DOM4 Mounting and destroying the virtual DOM5 State management and the applications lifecycle6 Publishing and using your frameworks first version7 The reconciliation algorithm: Diffing virtual trees8 The reconciliation algorithm: Patching the DOMPART 39 Stateful components10 Component methods11 Subcomponents: Communication via props and events12 Keyed lists13 The component lifecycle hooks and the scheduler14 Testing asynchronous componentsAppendix

Bibliographic data © Gardners Books Ltd.