Modern Front-End Development for Rails, 2nd Edition

Hotwire, Stimulus, Turbo, and React



Bookstore > Books > Modern Front-End Development for Rails, 2nd Edition

Price$55.95 - $59.25
Rating
AuthorNoel Rappin
PublisherThe Pragmatic Programmers
Published2022
Pages408
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101680509616
ISBN-139781680509618
EBook Hardcover Paperback

Improve the user experience for your Rails app with rich, engaging client-side interactions. Learn to use the Rails 7 tools and simplify the complex JavaScript ecosystem. It's easier than ever to build user interactions with Hotwire, Turbo, and Stimulus. You can add great front-end flair without much extra complication. Use React to build a more complex set of client-side features. Structure your code for different levels of client-side needs with these powerful options. Add to your toolkit today!

Rails 7 added a new set of default front-end building tools that are simpler to use and more robust than the previous defaults. This version of the book uses the jsbundling-rails gem and the esbuild library to manage JavaScript, the cssbundling-rails gem and Tailwind CSS to manage CSS, and the new Propshaft gem for asset management. Stimulus and Turbo have also upgraded and added a small number of new features.

It's hard to have a Rails application without integrating some client-side logic. But client-side coding tools, and the Rails tools for integrating with them, all change continuously. Rails 7 simplifies client-side integration with the Hotwire gem. It's a great way to build client interaction with server-side HTML and a small amount of JavaScript.

In the latest edition of this book, learn how to use Rails 7 and its front-end bundling tools to build rich front-end logic into your Rails applications. The job is even easier with Stimulus, a library that brings Rails conventions to JavaScript tools. And you can also add in React, a larger framework that automatically updates the browser when your data changes.

Learn the basics of Turbo, Stimulus, and TypeScript, and add pizazz to your application. Structure your web application to best manage your state. Learn how to interact with data on the server while still keeping the user experience interactive. Use the type system in TypeScript to expand on JavaScript and help prevent error conditions. Debug and test your front-end application with tools specific to each framework.

There are a lot of ways to do client-side coding, and Rails is here to help.


  1. (5 books)


4 5 4

Similar Books


Modern Front-end Architecture

Modern Front-end Architecture

by Ryan Lanciaux

Learn how to build front-end applications that can help you ship applications faster with fewer defects. Many software projects fail because they are not planned well, or lack organization. Applying strategies from other industries can help you create better software. This book explores the "mise en place" technique from cooking...

Price:  $26.63  |  Publisher:  Apress  |  Release:  2021

Angular Development with Typescript, 2nd Edition

Angular Development with Typescript, 2nd Edition

by Yakov Fain, Anton Moiseev

Angular Development with TypeScript, 2nd Edition is an intermediate-level tutorial that introduces Angular and TypeScript to developers comfortable with building web applications using other frameworks and tools.Whether you're building lightweight web clients or full-featured SPAs, Angular is a clear choice. The Angular framework is ...

Price:  $39.99  |  Publisher:  Manning  |  Release:  2018

Excel VBA Programming For Dummies, 2nd Edition

Excel VBA Programming For Dummies, 2nd Edition

by John Walkenbach

Take your Excel skills to the next level with VBA programmingNow that you've mastered Excel basics, it's time to move to the next level-creating your own, customized Excel 2010 solutions using Visual Basic for Applications (VBA). The new edition of this non-threatening guide is your key to getting there. Using step-by-step instr...

Price:  $19.35  |  Publisher:  Wiley  |  Release:  2010

SQL All-in-One For Dummies, 2nd Edition

SQL All-in-One For Dummies, 2nd Edition

by Allen G. Taylor

SQL, or structured query language, is the international standard language for creating and maintaining relational databases. It is the basis of all major databases in use today and is essential for the storage and retrieval of database information. This fun and friendly guide takes SQL and all its related topics and breaks it down into ea...

Price:  $7.49  |  Publisher:  Wiley  |  Release:  2011

Excel Dashboards and Reports For Dummies, 2nd Edition

Excel Dashboards and Reports For Dummies, 2nd Edition

by Michael Alexander

No matter what business you're in, reports have become a staple of the workplace, but what good is a report if no reads it, or even worse, understands it? This all new edition of Excel Dashboards & Reports For Dummies is here to help you make meaning of all your data and turn it into clear and actionable visualizations. Fully...

Price:  $7.12  |  Publisher:  Wiley  |  Release:  2014

Front-end Development with ASP.NET Core, Angular, and Bootstrap

Front-end Development with ASP.NET Core, Angular, and Bootstrap

by Simone Chiaretta

Front-End Development with ASP.NET Core, Angular, and Bootstrap is the professional's guide to fast, responsive web development. Utilizing the most popular combination of web technologies for Microsoft developers, this guide provides the latest best practices and ASP.NET MVP guidance to get you up to speed quickly. The newest ASP.NET...

Price:  $28.99  |  Publisher:  Wrox  |  Release:  2018

Beginning C for Arduino, 2nd Edition

Beginning C for Arduino, 2nd Edition

by Jack Purdum, Ph.D.

Beginning C for Arduino, 2nd Edition is written for those who have no prior experience with microcontrollers or programming but would like to experiment and learn both. Updated with new projects and new boards, this book introduces you to the C programming language, reinforcing each programming structure with a simple demonstration of how...

Price:  $33.49  |  Publisher:  Apress  |  Release:  2015

Oracle ADF Enterprise Application Development - Made Simple: 2nd Edition

Oracle ADF Enterprise Application Development - Made Simple: 2nd Edition

by Sten E. Vesterli

Modern enterprise applications must be user-friendly, visually attractive, and fast - much like Oracle Fusion applications. Oracle are using the Application Development Framework (ADF) for their own development, and now you can too. However, you need a proven method to use this powerful and flexible tool in order to achieve consistent suc...

Price:  $32.99  |  Publisher:  Packt Publishing  |  Release:  2014