Talks
Speakers
Events
Topics
Search
Sign in
Search
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
search talks for
⏎
Suggest modification to this talk
Title
Description
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In this Lightning Talk at RailsConf 2021, Brandon Shar introduces the concept of Inertia.js, a tool designed to simplify the process of creating single-page applications (SPAs) using Ruby on Rails. He highlights the shift in modern web development, which now demands greater interactivity and responsiveness in web applications, akin to SPAs. However, building SPAs often introduces complexities such as the need for separate APIs and front-end routing, which can detract from the seamless experience Rails developers are accustomed to. Key Points Discussed: - **Introduction to Inertia.js**: Inertia allows developers to create SPAs while retaining the familiar Rails architecture, including Rails controllers and routing, but using modern JavaScript frameworks like React and Vue on the frontend. - **Comparison with Hotwire**: The video discusses Hotwire's approach, which emphasizes reducing JavaScript usage by sending HTML over the wire. In contrast, Inertia caters to developers who prefer to work with JavaScript frameworks. - **Simplification of SPA Development**: Shar explains that with Inertia, developers do not need to create separate APIs, manage complex global state, or use front-end routing, thus keeping the traditional MVC pattern intact but enhanced with modern JavaScript capabilities. - **Demonstration with a Sample App**: The speaker showcases a simplified Twitter clone app that demonstrates Inertia's capabilities. The app allows users to perform actions like writing, deleting, and liking tweets without experiencing full page reloads. - **Extending Functionality**: He illustrates adding a user profile feature, highlighting how routing and data management remain intuitive. The use of the Inertia renderer streamlines data passing between the backend and frontend. - **Future Learnings**: Shar concludes with an invitation for viewers to learn more about Inertia through an upcoming video series, promising to dive deeper into setup, testing, and data management aspects of the framework. Overall, Brandon Shar’s presentation underscores the efficiency and simplicity Inertia brings to Rails applications aiming for SPA-like interactivity, presenting a strong alternative for developers enthusiastic about utilizing modern JavaScript.
Suggest modifications
Cancel