$38.83
FREE Returns
FREE delivery Monday, October 14
Or Prime members get FREE delivery Saturday, October 12. Order within 7 hrs 49 mins.
In Stock
$$38.83 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$38.83
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

See all
Something went wrong. Please try your request again later.

Accelerating Server-Side Development with Fastify: A comprehensive guide to API development for building a scalable backend for your web apps

4.6 4.6 out of 5 stars 13 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$38.83","priceAmount":38.83,"currencySymbol":"$","integerValue":"38","decimalSeparator":".","fractionalValue":"83","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Gpsyn%2FBHvSmYMsKQV4WGyPEl4ANraswcNGQ9j54dNATNYEW7TqiG%2FiCuxled32XZsPyxtbDSBa0Iy20fXIi8OVt0zXTJOrf9lHP8iny4jOCNzwLYdI4dUpQZYJEosUMaIafCya3gx2uexTFMSsVXRg%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons

Learn to build faster web applications by implementing maintainable and pluggable APIs with Fastify

Purchase of the print or Kindle book includes a free PDF eBook


Key Features:

  • Written by Fastify's core contributors to help you adopt the Fastify mindset for API development
  • Gain an architectural overview of Fastify's microservices development capabilities and features
  • Build complete apps in Fastify, from application design to production


Book Description:

This book is a complete guide to server-side app development in Fastify, written by the core contributors of this highly performant plugin-based web framework. Throughout the book, you'll discover how it fosters code reuse, thereby improving your time to market.

Starting with an introduction to Fastify's fundamental concepts, this guide will lead you through the development of a real-world project while providing in-depth explanations of advanced topics to prepare you to build highly maintainable and scalable backend applications. The book offers comprehensive guidance on how to design, develop, and deploy RESTful applications, including detailed instructions for building reusable components that can be leveraged across multiple projects. The book presents guidelines for creating efficient, reliable, and easy-to-maintain real-world applications. It also offers practical advice on best practices, design patterns, and how to avoid common pitfalls encountered by developers while building backend applications.

By following these guidelines and recommendations, you'll be able to confidently design, implement, deploy, and maintain an application written in Fastify, and develop plugins and APIs to contribute to the Fastify and open source communities.


What You Will Learn:

  • Explore the encapsulation techniques implemented by Fastify
  • Understand how to deploy, monitor, and handle errors in a running Fastify instance
  • Organize the project structure and implement a microservices architecture
  • Explore Fastify's core features such as code reuse, runtime speed, and much more
  • Discover best practices for implementing Fastify in real-world RESTful apps
  • Understand advanced backend development concepts such as performance monitoring and logging


Who this book is for:

This book is for mid to expert-level backend web developers who have already used other backend web frameworks and are familiar with HTTP protocol and its peculiarities. Developers looking to migrate to Fastify, evaluate its suitability for their next project, avoid architecture pitfalls, and build highly responsive and maintainable API servers will also find this book useful. The book assumes knowledge of JavaScript programming, Node.js, and backend development.


Amazon First Reads | Editors' picks at exclusive prices

Editorial Reviews

Review

"Accelerating Server-Side Development with Fastify is an exceptional book that thoroughly explores the world of server-side app development using the powerful Fastify framework. Penned by the core contributors of this highly performant plugin-based web framework, the book is a comprehensive guide that takes developers on an enlightening journey of building scalable backends for web applications.

Throughout the book, the authors generously share their wealth of practical advice and best practices, ensuring that readers avoid common pitfalls encountered during backend application development. By following the authors' guidance and embracing the principles outlined in this book, readers will confidently design, implement, deploy, and maintain exceptional applications while making meaningful contributions to the Fastify community."

--

Davide Roffo, Senior Software Engineer at NearForm



"This book provides incredible insight―not just into how Fastify works and the problems it solves―but also into how to build a robust, manageable, and scalable backend server in production. As a result, the book takes you on a pair-programming journey, offering answers to well-thought-out questions as if you’re working through a curriculum in a classroom. The authors have pre-empted difficulties the reader may come across every step of the way, including providing insight into common error logs by providing helpful debugging tips. The learning journey is masterfully crafted and extremely accessible.

Every bit of theory in this book is presented in a real-world context. This is not just a great book about Fastify, but is also an invaluable resource about building for production. As a frontend dev, I now feel empowered to build a backend application with Fastify independently, and I also feel equipped, and welcome, to contribute to the Fastify codebase and plugin ecosystem. An excellent read!"

--

Salma Alam-Naylor, Senior Staff Developer Experience Engineer at Netlify

About the Author

Manuel Spigolon is a Senior Backend Developer at Near Form. He is one of core maintainers on the Fastiy team. Manuel has developed and maintained a complex API that serves more than 10 millions world wide.

Maksim Sinik is a senior engineering manager and a core maintainer of the Fastify framework. He has a decade of experience as a Node.js developer with a strong interest in backend scalability. He designed the architecture and led the development of several service-based Software-as-a-Service (SaaS) platforms across multiple industries that process hundreds of thousands of requests.

Matteo Collina is the co-founder and CTO of Platformatic who has the goal of removing all friction from backend development. He is also a prolific open source author in the JavaScript ecosystem, and the modules he maintains are downloaded more than 17 billion times a year. Previously, he was the chief software architect at NearForm, the best professional services company in the JavaScript ecosystem. In 2014, he defended his Ph.D. thesis titled Application Platforms for the Internet of Things. Matteo is a member of the Node.js Technical Steering Committee, focusing on streams, diagnostics, and HTTP. He is also the author of the fast logger, Pino, and the Fastify web framework. Matteo is a renowned international speaker after more than 60 conferences, including OpenJS World, Node.js Interactive, NodeConf.eu, NodeSummit, JSConf.Asia, WebRebels, and JsDay, to name just a few. Since August 2023, he also serves as a community director on the OpenJS Foundation. In the summer, he loves sailing the Sirocco.

Product details

  • Publisher ‏ : ‎ Packt Publishing (June 9, 2023)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 406 pages
  • ISBN-10 ‏ : ‎ 1800563582
  • ISBN-13 ‏ : ‎ 978-1800563582
  • Item Weight ‏ : ‎ 1.56 pounds
  • Dimensions ‏ : ‎ 9.25 x 7.52 x 0.85 inches
  • Customer Reviews:
    4.6 4.6 out of 5 stars 13 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.6 out of 5 stars
13 global ratings
A Comprehensive Guide To API Development
5 out of 5 stars
A Comprehensive Guide To API Development
This is a groundbreaking book that provides a unique learning experience for developers. As a developer, I enjoyed diving into Fastify's inner workings and gaining a deeper understanding of its operations. The book combines practical development techniques with valuable insights into the framework's internals, offering a solid foundation for building applications.What sets this book apart is its exploration of Fastify's architectural choices, design patterns, and performance optimizations that make it a standout backend framework for Node. Understanding the inner workings empowered me to make informed decisions and optimize my code for performance and scalability. The book's emphasis on industry best practices expanded my overall understanding of backend development.Overall, "Accelerating Server-Side Development with Fastify" is an invaluable resource that equips developers with practical skills and a deeper understanding of the framework's architecture and design principles. It has enabled me to confidently develop high-performing applications and explore Fastify's advanced features.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on June 13, 2023
OVERVIEW:
I really enjoyed this deep dive into Fastify. This book is geared towards existing NodeJS developers wanting to make the jump to a proven new, but mature framework. One of the authors, Matteo Collina, is a legend in the Node community and instantly gives this book a lot of credibility. He created Pino (fastest node logger) and Fastify, plus works tirelessly to contribute to node as a TSC member. Give him a listen on a podcast or youtube, guy is seriously smart.

STRUCTURE:
The book had good structure to it, you can tell it was throughly thought through before writing. You progressively build a real Fastify application through the course of the whole book. Each chapter has you implement a piece of the Fastify application concerning the topic explained in that chapter. Ex. the chapter on auth has you build JWT auth with the Fastify JWT plugin. There was also a GitHub repository for each chapter that you can browse in case anything isn't working while building your app. The book also comes with a PDF version that is nice to have for quick search and clicking the GitHub links.

FINAL THOUGHTS:
I would highly recommend this book to NodeJS developers that are interested in making the jump to Fastify. The statistics are clear that it is faster (no high middleware stack calls) and has better validation built in than Express.js. I'm sure the top contributors/authors hate how many times they get asked "compared to Express.js, how does Fastify deal with x", but Express.js is its top competitor. It is up to the NodeJS community to make the jump from Express.js to Fastify and this book gives you a lot of knowledge and examples to do so. This framework is also more opinionated than Express.js, but I think that is what makes it much more stable. Not to mention the server startup and teardown hooks make the framework much more testing friendly and allows the developer to perform side effects at desired events. 10/10, two thumbs up for this book.
4 people found this helpful
Report
Reviewed in the United States on June 9, 2023
If you're a developer looking to deepen your understanding of Fastify and gain practical, hands-on experience with the framework, "Accelerating Server-Side Development with Fastify" is an invaluable resource. Authored by core maintainers of Fastify, this book offers a comprehensive guide to API development for building a scalable backend for your web applications.

What sets this book apart from the official Fastify documentation and other online resources are the following:

In-depth Exploration of Fastify: The book provides a thorough understanding of Fastify's concepts, going beyond the basics to explore topics like Fastify's plugin system, boot process, working with routes, exploring hooks, and understanding validation and serialization.

Real-World Project Development: The book includes a section on building a real-world project using Fastify. This hands-on approach allows you to apply the concepts you've learned in a practical context, enhancing your understanding and proficiency with the framework.

Personal Insights and Experiences: The authors share their personal experiences, advice, and best practices when working with Fastify. These insights, drawn from their extensive experience with the framework, offer valuable tips and tricks that you won't find in official documentation.

Fastify's Origin and Community: The book provides a detailed account of how Fastify was created and the community behind it. Understanding the history and ethos of Fastify can enrich your perspective and appreciation of the framework.

Detailed Guide on Testing: The book provides a comprehensive guide on how to write good tests for Fastify applications, a crucial aspect of software development that is not covered in depth in the official documentation.

In conclusion, "Accelerating Server-Side Development with Fastify" is more than just a technical guide; it's a deep dive into the world of Fastify. Whether you're a beginner looking to get started with Fastify or an experienced developer seeking to enhance your skills, this book is a worthwhile investment.
2 people found this helpful
Report
Reviewed in the United States on June 9, 2023
Fastify is a community-driven project with a commitment to open governance. In today's fast-paced environment, it is not enough to simply build a robust application. Development teams are constantly under pressure to bring products to market quickly. Fastify addresses these challenges by providing a convenient development experience that does not compromise performance, security, or source readability. It simplifies the creation and administration of an HTTP server while hiding the intricacies of Node.js standard modules. Additionally, Fastify does not limit developers to adopting REST, GraphQL, or simple APIs.

The book discusses the internals of Fastify, encourages FOSS contributions, provides links to external resources, and talks about aspect-oriented programming. Each chapter focuses on a specific area, provides technical requirements, and concludes with a quick summary. The book contains interesting illustrations that offer insight into execution workflows and provide a historical context on how APIs were introduced. It gradually introduces theoretical concepts and moves on to building actual applications, guiding readers through project structure, configuration management, authentication, authorization, testing, deployment, logging, monitoring, and solving production issues. In the final chapters, advanced topics such as microservices, performance, Graphql, and type-safe systems are discussed.

Overall, the book is a comprehensive and well-written guide to Fastify. It is an essential resource for anyone who wants to learn how to use Fastify to build robust and performant applications.
2 people found this helpful
Report

Top reviews from other countries

FM
5.0 out of 5 stars Invaluable!
Reviewed in Italy on June 28, 2023
Fastify is a great (the best, IMO) backend framework for Node, and this is the first book about it, from its leading designers and maintainers.

The first part gives a coherent and thorough overview of the framework, something that would take weeks or months to grasp from the online reference docs. If you are just starting with Fastify, this part will quickly boost you up to speed. If you are already using it, you may still find good ideas and suggestions.
The second part shows the design and development of a complete, if simple, RESTful API. The structured process and the tools illustrated by authors embody solid principle and practices. The demonstrated approach may not fit your use cases, or your philosophy, nonetheless there is much to learn in this part wrt. to Fastify ecosystem and state-of-the-art industry practices.
The last part touches on more techniques and particularly tools that can be used with Fastify to evolve and improve a project. Most stuff in this part is illustrated rapidly, but with enough detail to stimulate curiosity and put the reader in condition to start experimenting autonomously.
All code for the illustrated test cases is available online, and is in working order.

This is a first edition, thus it's not perfect: you may find minor typos, minor contradictions, different versions of a plugin used in different packages, the style can feel sometimes too colloquial, sometimes patronizing, etc..., don't bother! The book is readable and enjoyable!
If you develop backends, even if not using Fastify, this book can be a goldmine to you.