Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Everything is cyclical, and web development is not an exception: ten years ago, we enjoyed developing Rails apps using HTML forms, a bit of AJAX, and jQuery—our productivity had no end! As interfaces gradually became more sophisticated, the "classic" approach began to give way to frontend frameworks, pushing Ruby into an API provider's role. The situation started to change; the "new wave" is coming, and ViewComponent, StimulusReflex, and Hotwire are riding the crest. In this talk, I'd like to demonstrate how we can develop modern "frontend" applications in the New Rails Way.
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 presentation titled "Frontendless Rails frontend," Vladimir Dementyev explores the evolution of web development, particularly focusing on the capabilities of Ruby on Rails (Rails) as a comprehensive framework for building modern web applications. He discusses how, over the years, web development has shifted from a full-stack approach where developers utilized HTML, Ruby, and JavaScript seamlessly within Rails, to a more segmented approach involving separate front-end frameworks and back-end services. **Key Points Discussed:** - **Nostalgia for Full Stack Development:** Vladimir shares his experiences working with Rails a decade ago, highlighting the simplicity and productivity of full stack development where one could build applications without extensive knowledge of front-end libraries. - **HTML Over The Wire:** He describes the core principle of Rails full stack development as prioritizing server-rendered HTML, suggesting that the server is the sole truth, thus unifying the development ecosystem within Rails. - **Evolution of the Frontend Ecosystem:** The talk covers the evolution from simple AJAX and jQuery to modern front-end architectures dominated by frameworks like React and Angular. He emphasizes the transitions in JavaScript tooling, including npm and webpack, that have changed the building of web applications. - **New Developments in Rails:** Dmitry introduces newer technologies like Hotwire, Turbo Drive, and Stimulus JS that combine to support the HTML over the wire approach, allowing developers to create fast, server-rendered applications without relying heavily on client-side JavaScript. - **Example Applications of Turbo:** He illustrates the usage of Turbo Drive and Turbo Frames, which enhance user experience by replacing or reloading parts of the webpage instead of the entire page, optimizing both server and client interactions. - **Stimulus JS as a Companion Tool:** The effectiveness of Stimulus JS in managing interactivity within Rails applications is explained. Utilizing data attributes to control behavior streamlines development and reduces dependency on larger frameworks. - **Reactive Programming with Websockets:** The idea of pushing updates to clients without client-side state management is introduced through looks at libraries like CableReady and Stimulus Reflex, which allow real-time updates through websockets and HTML over the wire. - **Organizing HTML Templates:** Dmitry stresses the importance of organization within HTML templates, suggesting the use of view components to manage Rails applications like front-end components, thereby improving maintainability and testing. - **CSS Solutions:** He discusses modern CSS frameworks, recommending Tailwind CSS and others to integrate seamlessly with Ruby on Rails applications to advance productivity in style management. In conclusion, Vladimir asserts that the new era of Rails full stack development is upon us, emphasizing that developers can build dynamic, interactive web applications primarily using Rails, thereby reclaiming the productivity that characterized early Rails development. He invites the audience to embrace these innovations for a renaissance in Rails development, unshackling from compartmentalized workflows.
Suggest modifications
Cancel