Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Pricing

Ayush Newatia

👤 Person
216 total appearances

Appearances Over Time

Podcast Appearances

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

I don't know. It's hard to pick just one, because Rails is the only backend stack that I've ever used. So it's hard to compare it to something else. But everything you need to build a modern web app is standardized in some way or the other. When you look at other stacks, this is more anecdotal from when I go speaking to JavaScript people. It's that you kind of need to pull in stuff

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

I don't know. It's hard to pick just one, because Rails is the only backend stack that I've ever used. So it's hard to compare it to something else. But everything you need to build a modern web app is standardized in some way or the other. When you look at other stacks, this is more anecdotal from when I go speaking to JavaScript people. It's that you kind of need to pull in stuff

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

plugins and things for basic things like file upload, you need to go look for a plugin for that. Authentication, you got to go look for a plugin for that. You basically need to build a stack that Rails gives you already out of the box. If you're building a web application, all the pieces you need are already in Rails. which obviously makes it a bit of a behemoth.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

plugins and things for basic things like file upload, you need to go look for a plugin for that. Authentication, you got to go look for a plugin for that. You basically need to build a stack that Rails gives you already out of the box. If you're building a web application, all the pieces you need are already in Rails. which obviously makes it a bit of a behemoth.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

And when you need something very simple, it's not the right tool for the job for that reason. But for most modern web applications, you do need all that and Rails just gives it to you.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

And when you need something very simple, it's not the right tool for the job for that reason. But for most modern web applications, you do need all that and Rails just gives it to you.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

It's, yeah, but I kind of want like, so I quite like Vue component, the library. uh i know there was some chatter to merge that with rails um the last time i met joel hawksley who's the leader of the project uh which was 2022 summer 22 at brighton ruby he still had ambitions of of merging it into rails so That is one dependent.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

It's, yeah, but I kind of want like, so I quite like Vue component, the library. uh i know there was some chatter to merge that with rails um the last time i met joel hawksley who's the leader of the project uh which was 2022 summer 22 at brighton ruby he still had ambitions of of merging it into rails so That is one dependent.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

I don't reach for a lot of dependencies naturally for every app, but ViewComponent is one of them. And I quite like that approach because it, again, focuses on generating HTML on the server, which is just the construct with which you generate it is componentized. and you send that down to the browser. And then if you need JavaScript components, I just use custom elements.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

I don't reach for a lot of dependencies naturally for every app, but ViewComponent is one of them. And I quite like that approach because it, again, focuses on generating HTML on the server, which is just the construct with which you generate it is componentized. and you send that down to the browser. And then if you need JavaScript components, I just use custom elements.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

They are absolutely amazing. It blows my mind that they're not more widely used than they are. They are just so, so useful. Last year when I was helping out with the Rails World Conference website as mentoring the junior developer who built it, And we needed to put a back-to-top button on the web page, which appears only when you've scrolled down twice the height of the viewport.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

They are absolutely amazing. It blows my mind that they're not more widely used than they are. They are just so, so useful. Last year when I was helping out with the Rails World Conference website as mentoring the junior developer who built it, And we needed to put a back-to-top button on the web page, which appears only when you've scrolled down twice the height of the viewport.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

And this was a Jekyll app, so we didn't have a JavaScript pipeline. And I don't hate myself, which is why I didn't want to set one up. So we were limited to basically vanilla JavaScript. So my first instinct would have been to reach for a stimulus controller.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

And this was a Jekyll app, so we didn't have a JavaScript pipeline. And I don't hate myself, which is why I didn't want to set one up. So we were limited to basically vanilla JavaScript. So my first instinct would have been to reach for a stimulus controller.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

But I didn't really want to pull in JavaScript dependencies because we were just writing vanilla JavaScript without any kind of bundling or anything. So I just showed her how to use a custom element and it was just so elegant and so simple. And it's just such a great solution to so many problems.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

But I didn't really want to pull in JavaScript dependencies because we were just writing vanilla JavaScript without any kind of bundling or anything. So I just showed her how to use a custom element and it was just so elegant and so simple. And it's just such a great solution to so many problems.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

Joel Hawksley, Joel Draper is Joel Draper is the flex guy, right?

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

Joel Hawksley, Joel Draper is Joel Draper is the flex guy, right?

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

Okay.

Ruby Rogues
Navigating Rails for Front-End Developers: A Comprehensive Guide to Integration and Transition - RUBY 654

Okay.