The creator of Rails on JavaScript FE vs. Classic Server-side Rendering

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น •

  • @dencam
    @dencam ปีที่แล้ว +63

    Thank you,
    Please give us a longer video on Ruby on Rails Documentary, like the one you did on Vue, Elixir, React.

    • @andyhall7032
      @andyhall7032 ปีที่แล้ว

      Yeah there should be one from around 2007 I think.

    • @br3nto
      @br3nto ปีที่แล้ว +1

      Ruby is so good!

    • @Honeypotio
      @Honeypotio  ปีที่แล้ว +12

      😏

    • @dencam
      @dencam ปีที่แล้ว +1

      @@Honeypotio due to public demand 😀

    • @pierreyves.lebrun
      @pierreyves.lebrun ปีที่แล้ว

      th-cam.com/video/NaEG5Dz7xzM/w-d-xo.htmlsi=9lJx12kFe8zsV7Lx

  • @lagcisco
    @lagcisco ปีที่แล้ว +14

    We need the full conversation, please. So much practical insights

  • @siyaram2855
    @siyaram2855 ปีที่แล้ว +27

    Dear Honeypot team,
    You are now free of your sin of making React documentary.
    P.S. Please make a documentary on DHH and Hotwire. This man deserve much more attention than those react lunatics.
    He has done more good to startups (and webdev in general) than a boatload of VCs.

    • @theReal_WKD
      @theReal_WKD 16 วันที่ผ่านมา

      "You are now free of your sin of making React documentary." Talking about lunatics... lol you guys are funny.

  • @stachowi
    @stachowi ปีที่แล้ว +54

    As a web dev for 20+ years, couldn't agree more with him.

  • @spacegauch0
    @spacegauch0 ปีที่แล้ว +16

    SSR with your framework of choise + HTMX seems to be a nice solution these days.

    • @ivan.jeremic
      @ivan.jeremic 5 หลายเดือนก่อน

      if your iq is under 90 and not able to grasp React.js yes.

    • @lucass8119
      @lucass8119 4 หลายเดือนก่อน +4

      @@ivan.jeremic Most apps don't need react, its just added complexity. And React doesn't solve anything, because your business logic WILL be on the backend, no matter what. React is just a way to structure state in the front end. But you're duplicating state, because the one true state will always be on the backend. In 99% of apps, you're wasting your time and introducing added complexity, cost, and defects.

  • @vlahunter
    @vlahunter ปีที่แล้ว +7

    Is there gonna be a bigger interview like video with DHH ?? Or is that it ?

    • @Honeypotio
      @Honeypotio  ปีที่แล้ว +16

      Stay tuned🤭

    • @vlahunter
      @vlahunter ปีที่แล้ว

      @@Honeypotio of course!!!! haahahhahahahahah

    • @siyaram2855
      @siyaram2855 ปีที่แล้ว

      Thank you from bottom of my heart.

  • @abdurrahmanhalis
    @abdurrahmanhalis ปีที่แล้ว +2

    Since you've come to the client side vs server side arena, it's time to expect some Svelte content :)

  • @idreesibrahim5642
    @idreesibrahim5642 2 หลายเดือนก่อน

    i agreed! the trends always not the same so the basic and core logic will be same. if you are rails developer you must have blocks concept

  • @br3nto
    @br3nto ปีที่แล้ว +2

    2:12 when using SSR techniques, I honest don’t know how you would separate front end development from backend development. They are fundamentally tied together. I don’t know why you would want to do that either. Maybe there should be prototyper developers and finisher developers, both full stack, but one gets things implemented and working, the other polishes and cleans and improves the prototype. But I’ve never understood the frontend/backend separation.

    • @br3nto
      @br3nto ปีที่แล้ว +1

      @@emilz0r ah yeah, that’s another great point! Many apps are written that way. But API driven sites have the same issues as what I’m talking about. I guess there are three scenarios here: 1) the API and UI are owned by the same team. 2) The API is owned by a different team in the same company. 3) the API is owned by a team in a different company. For 1, it would be super slow to make changes with separate frontend and backend development. For 2 and 3, the UI would never talk directly to those APIs, there would be a backend that consumes the other teams APIs first, which manipulates and/or combines with additional data before presenting in the UI layer. Because the data driving the site and the UI to present that data are fundamentally tied together, development will always be quicker if the backend driving the UI and the UI are developed in unison. So it should be done by the same developer and not different developers with different skill sets. I don’t see how it can be effective to only have front end devs and only have backend devs. Especially when in the same organisation. It would be super slow to make changes for a team that separates backend development from frontend development. It’s always better to have have devs working on both. If you want to talk about division of focus due to complexity in the code, different teams of devs could focus on certain parts on the app. Eg one team focuses on a particular tool or module of a site, while another team focuses on the platform aspect of a site, like authentication and authorisation and how each feature and new features can hook into that platform seamlessly. Also, yeah you may have a very complex function in the backend, but that functionality would be handled by an expert team, the Integration of that into the app would be done by devs of the site, they would develop the connections to the complex functionality within the backend, and also build the front end. Effectively, the complex app would have an API of some sorts, but it’s the backend code that wraps that API, but the UI should be built by the same people that manage the backend wrapper around the API to the complex functionality.

    • @sleekism
      @sleekism ปีที่แล้ว +1

      @@br3nto is the efficiency argument based on data? It seems to make sense but have you experienced both paradigms in a working environment?

    • @br3nto
      @br3nto ปีที่แล้ว +1

      @@sleekism no data. I’ve only been on the end of full stack… so I honestly don’t know how front end and back end development can be separated how communication and coordination of work can be done efficiently and effectively in a way that doesn’t just add time in comparison. When you develop the backend and front end together, nothing needs to be coordinated because you just do it together. Happy to hear others insights into how it works.

    • @israelafangideh
      @israelafangideh ปีที่แล้ว +1

      @@br3nto What you've outlined makes sense to me

  • @KrishnaDasPC
    @KrishnaDasPC 4 หลายเดือนก่อน

    For Rails my recommendation for you
    1. Increase the quality of the documentations as still some pages are shown as in progress for years.
    2. Build something official railcasts so that more people will come.
    3. Build more official high quality gems.
    Everyone likes rails but official learning resources are limited compared to other stacks. Also gems in git many of them are outdated.

  • @RodolphoArrudanogoogle
    @RodolphoArrudanogoogle ปีที่แล้ว

    Cool. Thanks. That's all I wanted to listen.

  • @rickdg
    @rickdg ปีที่แล้ว +5

    I too enjoy sending at least five network requests to filter a list through a search box.

    • @rickdg
      @rickdg ปีที่แล้ว

      @@emilz0r This is a bit tong-in-cheek as we know that for local interactions SSR folk still use JavaScript. David is just making making a line on the sand to stand on one side.

    • @lucass8119
      @lucass8119 4 หลายเดือนก่อน +2

      You have to do that anyway, just with JSON. It's the same thing. Unless you plan to dump your entire db table into the frontend. Which, by the way, you can absolutely do without something like React. It just breaks down when you're making something past a toy app. Whether you're using React or not, your data retrieval patterns WILL live in the backend, no matter what. So you don't gain anything from extra client side code, besides complexity.

  • @Frexuz
    @Frexuz ปีที่แล้ว +3

    Why is he sitting in a door way?! 😆

  • @ranahamza8239
    @ranahamza8239 ปีที่แล้ว

    I love this man, The DHH ❤

  • @superfoo
    @superfoo ปีที่แล้ว +20

    Serverside applications in my experiences tend to get less snappy, less userfriendly cause they just too far from the input and events in the browser.
    Also Backend Devs tend to Fokus on what's the easiest for the architecture they've built and not what makes most sense and value for the user. There is even more to say I guess. Will create a talk about it maybe

    • @superfoo
      @superfoo ปีที่แล้ว +5

      @@emilz0r yes that's true as well. If it's a website I pre render statically. Done. I usually differ between apps and websites

  • @jksmithiii
    @jksmithiii 9 หลายเดือนก่อน +1

    Hell yes, server side rules.

  • @HartleySan
    @HartleySan ปีที่แล้ว +4

    Always preferred Laravel over Rails, but I do appreciate DHH's sentiment here, and I agree that the pendulum has swung too far towards FE everything these days. That said, some FE code is not a bad thing (although I'm not a fan of how Hotwire does it).

  • @serhiicho
    @serhiicho ปีที่แล้ว

    Great advice

  • @tru2thastyle
    @tru2thastyle ปีที่แล้ว

    I agree with David.

  • @DavidDLee
    @DavidDLee 5 หลายเดือนก่อน +1

    Notice that you did not give really any justification or pros/cons.
    As is, pretty useless video.

  • @proofofrice
    @proofofrice ปีที่แล้ว

    Rudy on Rails

  • @benc9765
    @benc9765 ปีที่แล้ว +2

    He's absolute marmite but the guy speaks a lot of sense

    • @gradientO
      @gradientO ปีที่แล้ว +1

      He's a mermaid?

    • @chris.dillon
      @chris.dillon ปีที่แล้ว +3

      @@gradientO mermaid on toast

  • @jmoz
    @jmoz 11 หลายเดือนก่อน

    Backend vs frontend is also a battle of millennials vs zoomers

  • @dominuskelvin
    @dominuskelvin ปีที่แล้ว

    Ah one of of my favorite people in the world

  • @gradientO
    @gradientO ปีที่แล้ว +2

    I've heard of this guy before 🤔

  • @FredAndrea-z3p
    @FredAndrea-z3p 2 หลายเดือนก่อน

    Davis Kenneth Robinson Deborah Thompson Maria

  • @m1dway
    @m1dway ปีที่แล้ว

    There are values in both. JS can be used to reduce network roundtrip, UX and SSR is great for speed rendering and better at security management.
    So.. SSR framework FTW.

  • @blessedonekobo
    @blessedonekobo ปีที่แล้ว +4

    HTML is great until you need a non-web client like a mobile app

  • @ivan.jeremic
    @ivan.jeremic 5 หลายเดือนก่อน

    What he is missing is that using JavaScript does not mean you need to do all the work on the client, there is a thing called JavaScript on the server he might not have heard of it.

    • @brutal4815
      @brutal4815 หลายเดือนก่อน

      Yeah he seems like getting started with web dev ...

  • @mikehurtado4772
    @mikehurtado4772 8 หลายเดือนก่อน

    Palabras de un NO PROGRAMADOR

  • @marusdod3685
    @marusdod3685 ปีที่แล้ว +2

    meh. im just gonna stick with Next.Js

  • @nanonorthlabs3375
    @nanonorthlabs3375 ปีที่แล้ว +4

    Man there is literally nothing more trash than Ruby on Rails. It’s like the guy made it for himself, the adoption is weak, and nobody likes the syntax

    • @MarcoDamaceno
      @MarcoDamaceno ปีที่แล้ว +8

      Nobody? Not me included.

    • @dencam
      @dencam ปีที่แล้ว +2

      I love Rails

    • @dencam
      @dencam ปีที่แล้ว +3

      I love Rails

    • @doubleandy
      @doubleandy ปีที่แล้ว +1

      What don't you like about the syntax?

    • @dencam
      @dencam ปีที่แล้ว +3

      @@doubleandy what do you hate about Ruby?
      It pays my bills, that is why I love it

  • @tbeseda
    @tbeseda ปีที่แล้ว

    Ugh this guy. Not a great look Honeypot. Rails is fine, Ruby is fine, and the debate about SSR is great. But not from DHH.

    • @nafcho1
      @nafcho1 ปีที่แล้ว

      Why?

    • @consumedata4544
      @consumedata4544 ปีที่แล้ว +8

      @@nafcho1​​⁠because he doesn’t allow political debates to take place at his company. This is apparently “evil” in the eyes of politically deranged Americans, even though it’s literally considered polite in every other part of the world.

    • @posguy13
      @posguy13 ปีที่แล้ว

      @@consumedata4544yeah, imagine wanting the people who you pay to work actually produce something, rather than engaging in endless political debates that never change anyone’s minds! 🤯

    • @chrisrobbo
      @chrisrobbo ปีที่แล้ว +2

      ​@@consumedata4544 who wants to debate politcs haha. I wouldn't want to do that in or out of the workplace, but especially not in the workplace