Building Your Own JavaScript Framework: Architect extensible and reusable framework systems
Author: Vlad Filippov (Author), Mike Taylor (Foreword)
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2023-11-03
Language 语言: English
Print Length 页数: 236 pages
ISBN-10: 1804617407
ISBN-13: 9781804617403
Book Description
Learn how to craft elegant and well-structured software frameworks in a variety of JavaScript environments with this handy guide
Key Features
- Explore the gateway to the constantly evolving world of JavaScript frameworks
- Navigate the JavaScript development landscape and discover crucial software architecture patterns
- Build your own framework for a variety of work-related projects
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
JavaScript frameworks play an essential role in web application development; however, no single framework works perfectly for all projects. This book will help you understand existing projects, design new software architecture, and maintain projects as they grow. You’ll go through software architecture principles with JavaScript, along with a guided example of structuring your project and maintenance guidance.
This book covers framework planning aspects, enabling you to identify key stakeholders, understand JavaScript API design, and leverage complex abstraction. The second part of the book takes a practical programming approach to building your own framework by showing you how to structure modules and interfaces. As you advance, you’ll discover how to develop data-binding components, work with JavaScript APIs, and much more. While writing a framework is half the job, continuing to develop it requires effort from everyone involved. The concluding chapters help to achieve this by teaching you the crucial aspects of software maintenance and highlighting the constants of framework development.
By the end of this book, you’ll have gained a clear understanding of the JavaScript framework landscape, along with the ability to build frameworks for your use cases.
What you will learn
- Expand your knowledge of JavaScript frameworks within different runtimes and ecosystems
- Get to grips with the technical aspects of structuring framework abstractions in JavaScript
- Gain an understanding of common patterns across various existing frameworks
- Discover the usage of existing tooling such as TypeScript and GraphQL
- Configure performance tests for your project and track down bottlenecks in the code base
- Understand how JavaScript and the web evolve and what these systems will look like in the coming years
Who this book is for
If you’re a JavaScript novice or an expert who wants to explore the world of JavaScript frameworks, this book is for you. This book introduces you to the history of frontend frameworks and guides you through the creation of your own framework. The chapters are designed to help developers build large projects for their full-time jobs and programmers who want to create open-source projects. A clear understanding of the JavaScript programming language as well as experience with existing software frameworks are all prerequisites.
Table of Contents
- The Benefits of Different JavaScript Frameworks
- Framework Organization
- Internal Framework Architecture
- Ensuring Framework Usability and Quality
- Framework Considerations
- Building a Framework by Example
- Creating a Full Stack Framework
- Architecting Frontend Frameworks
- Framework Maintenance
- Best Practices
Review
“This book is a testament to Vlad’s expertise in open-source JavaScript development and abilities to teach complex topics. You will find a blend of JavaScript framework development knowledge in this book, covering a wide range of topics, from the basics of how a framework is beneficial and how to build one to advanced concepts such as extensible components and framework architecture.
Whether you are a curious newcomer to the world of web development or a seasoned professional seeking to expand your horizons, you will find relevant knowledge in this book. As you follow along building your own framework and applying the lessons in your daily life, you’ll gain the skills needed to meet your own varied goals, whether they be joining an open-source framework community, learning to become a more well-rounded engineer, or refactoring an internal legacy application using the patterns found in this book, or just building something for fun late at night.”
—
Mike Taylor, Engineering Manager, Privacy Sandbox Team at google
About the Author
Vlad Filippov is a full-stack developer and has been deeply immersed in software since the last decade. He has done a variety of work ranging from API and Web development to mobile applications and 3D visualizations. Vlad is currently working at Stripe Inc., building financial infrastructure for the Internet. Previously, Vlad spent over six years working on the Firefox web browsers and cloud services at Mozilla.
Vlad has a computer science specialist degree from the University of Toronto and has presented at over a dozen conferences around the world. His passion lies in web applications and open-source projects, primarily focusing on JavaScript apps and development tooling. At the times when he is not coding, Vlad enjoys playing tennis and running.