Modern Front-End Development for Rails

Modern Front-End Development for Rails
出版时间:2021.6
官网链接:Pragmatic
下载地址:百度网盘(PDF+EPUB+MOBI+CODE)
提取码    :w5xw

内容简介:

Improve the user experience for your Rails app with rich, engaging client-side interactions. Learn to use the Rails 6 tools and simplify the complex JavaScript ecosystem. It’s easier than ever to build user interactions with Hotwire, Turbo, Stimulus, and Webpacker. 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!

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 6 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. Learn how to use Rails 6 and Webpacker 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 webpack, Webpacker, 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.

What You Need

This book requires Ruby on Rails 6.0 or later, React 16.8.0 or later. Other dependencies will be added by Rails.

Author

Noel Rappin is a Staff Software Engineer at Root Insurance. Noel is the author of multiple technical books, including Rails 5 Test Prescriptions. Follow Noel on Twitter @noelrap, and online at noelrappin.com.

给TA买糖
共{{data.count}}人
人已赞赏
电子书

Learn to Code by Solving Problems

2021-6-27 21:01:38

电子书

Building Git

2021-6-27 21:15:49

搜索