This Could Make You a More Productive Rails 7 Dev! | Phlex Gem Spotlight with Ruby on Rails 7

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

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

  • @Deanin
    @Deanin  ปีที่แล้ว +13

    I've waited years to say this:
    "Weird Phlex, but okay"

  • @AlainPilon
    @AlainPilon ปีที่แล้ว +9

    It goes in the same category as ViewComponents, which are either great or useless depending on the type of projects you are working on. If you have to test your views against multiple business edge cases, generating HTML from Ruby is a 10x improvement in testing experience. Also, if your HTML snippets exist in multiple variety it is much easier to regroup everything under a single Component in Ruby than having a huge mess of HTML.

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

    Do you delve deeper about phlex in the build a link tree RoR course?

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

    there is also arbre the library that was extrated from ActiveAdmin gem

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

    Very Helpful : )

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

    Can you make a video on how to integrate ruby on rails application with office 365 tools such as one drive, word and powerpoint to create and upload files

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

    I am not a fan of Phles syntax, I prefer Viewcomponents approach but using either is a good step to keep your code modular and easily testable.

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

    I can't really see the point, you're still writing all the HTML, on top of that, you should also learn how to do that in Phlex syntax..

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

    Thanks for the video. Sorry, but Phlex gem is stupid. Creation of a new bicycle.

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

      It is a bit different than ViewComponent (which I prefer) but calling it stupid because it copies an existing gem instead of understanding the differences and the reasoning behind them, that is stupid.

    • @xiaohui-dev
      @xiaohui-dev ปีที่แล้ว +1

      yes, it's stupid, who think HTML language is harder than others? with this gem, say goodbye to copy/paste 😂