Build A Frontend Web Framework From Scratch


Download Build A Frontend Web Framework From Scratch PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Build A Frontend Web Framework From Scratch book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.

Download

Build a Frontend Web Framework (From Scratch)


Build a Frontend Web Framework (From Scratch)

Author: Ángel Sola Orbaiceta

language: en

Publisher: Simon and Schuster

Release Date: 2024-06-18


DOWNLOAD





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! 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 Appendix

Создание фронтенд-фреймворка с нуля


Создание фронтенд-фреймворка с нуля

Author: Анхель Сола

language: ru

Publisher: Спринт Бук

Release Date: 2025-06-11


DOWNLOAD





Мы используем фронтенд-фреймворки каждый день, но вряд ли действительно понимаем, что происходит там, под капотом. Создание своего фреймворка — отличный способ узнать, как он работает с DOM, генерирует представления страниц, передает данные между компонентами и взаимодействует с операционной системой. Шаг за шагом мы будем создавать собственный фреймворк на JavaScript и опубликуем его как npm-пакет. Пора разобраться, как работает современный фреймворк, научиться управлять состоянием компонентов и их жизненным циклом, работать с виртуальным DOM и использовать алгоритмы согласования для эффективного обновления HTML. Все ключевые концепции изложены простым языком и сопровождаются схемами. Многие концепции заимствованы из React, Svelte, Angular и других известных инструментов

Building Distributed Applications in Gin


Building Distributed Applications in Gin

Author: Mohamed Labouardy

language: en

Publisher: Packt Publishing Ltd

Release Date: 2021-07-23


DOWNLOAD





An effective guide to learning how to build a large-scale distributed application using the wide range of functionalities in Gin Key FeaturesExplore the commonly used functionalities of Gin to build web applicationsBecome well-versed with rendering HTML templates with the Gin engineSolve commonly occurring challenges such as scaling, caching, and deploymentBook Description Gin is a high-performance HTTP web framework used to build web applications and microservices in Go. This book is designed to teach you the ins and outs of the Gin framework with the help of practical examples. You'll start by exploring the basics of the Gin framework, before progressing to build a real-world RESTful API. Along the way, you'll learn how to write custom middleware and understand the routing mechanism, as well as how to bind user data and validate incoming HTTP requests. The book also demonstrates how to store and retrieve data at scale with a NoSQL database such as MongoDB, and how to implement a caching layer with Redis. Next, you'll understand how to secure and test your API endpoints with authentication protocols such as OAuth 2 and JWT. Later chapters will guide you through rendering HTML templates on the server-side and building a frontend application with the React web framework to consume API responses. Finally, you'll deploy your application on Amazon Web Services (AWS) and learn how to automate the deployment process with a continuous integration/continuous delivery (CI/CD) pipeline. By the end of this Gin book, you will be able to design, build, and deploy a production-ready distributed application from scratch using the Gin framework. What you will learnBuild a production-ready REST API with the Gin frameworkScale web applications with event-driven architectureUse NoSQL databases for data persistenceSet up authentication middleware with JWT and Auth0Deploy a Gin-based RESTful API on AWS with Docker and KubernetesImplement a CI/CD workflow for Gin web appsWho this book is for This book is for Go developers who are comfortable with the Go language and seeking to learn REST API design and development with the Gin framework. Beginner-level knowledge of the Go programming language is required to make the most of this book.