Write a review
Save 15%

Build a Frontend Web Framework

9781633438064
MRP: 5299
You Pay: 4504
You save: 7.95
Leadtime to ship in days (default): Usually Delivers in 15 days
Ships Worldwide
Reward points: 45 points
+

eBook orders are processed and delivered within 24 hours. Because they are not returnable, eBook orders are non-refundable.

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 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, 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 programmatically
  • Define the view with the virtual DOM
  • Implement 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

Ebook License

End-User Warranty And License Agreement

1. Grant Of License

Manning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.

2. Restrictions

You Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.

3. Intellectual Property Protection

The Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.

4. Source Code Supplementary Material

Any Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.

5. Limited Warranty

Manning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.

6. Limitation Of Liability

In No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.

7. General

This Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York



Author
Ángel Sola Orbaiceta
Binding
Paperback
Condition Type
New
Country Origin
USA
Edition
1
Gift Wrap
Yes
Leadtime to ship in days (default)
Usually Delivers in 15 days
Page
384
Publisher
Manning Publications
Year
2024
Find similar

No reviews found

Possibly you may be interested
  • Top Sellers of 2024
  • Popular Now
  • Recently Viewed