Lets learn the Phoenix Router: a comprehensive reference

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

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

  • @taylorfullstack
    @taylorfullstack 15 วันที่ผ่านมา +1

    I'd love to see more Phoenix videos from you, this is really comprehensive and clear :)

    • @srcrip
      @srcrip  8 วันที่ผ่านมา +1

      Thank you Taylor!

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

    Keep giving us the sauce! It’s clear you really understand the framework and are a first principles thinker. Would love to see a client->db example that shows how state can/should be shared across multiple controllers/views/repos. Maybe some silly multi-player tug-of-war game: players can join a room, each player is assigned a team + or -, once there’s some minimum number of players a countdown starts. After the countdown players mash their respective keys (+ | -) or buttons, there’s some “rope” getting pulled towards the more prolific mashers, once a team the rope fully to their side the lead mashers on the winning team gets to make a leader board entry or update some global state outside the room. Focus would be managing memory vs persistence and how to handle global (leaderboard or whatever) vs selectively shared state (room) vs local state (each players mash count). FWIW, happy to help! Getting deeper into live view/phoenix

  • @chrichtonreal
    @chrichtonreal 7 หลายเดือนก่อน +2

    Hi Andrew, I watched your "let’s learn the Phoenix Router.
    And again I am very happy. You answered all the important questions I had so far.
    So, thanks a lot and congratulations on your style of teaching 🎉

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

      Thank you!

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

    Another very useful video 👌 I might get through all your vids today and tomorrow. Only thing that saddens me is there aren't enough lol. Looking forward to your next uploads

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

    Nice overview about all the router and endpoint modules 💯

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

      Glad you liked it!

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

    Looks like a gold mine. Gonna go through this in detail. Thanks Andrew

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

      Thank you!

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

    Very nicely done! Glad to see some longform Phoenix content on TH-cam.

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj 8 หลายเดือนก่อน

      12:15 , is { } braces destructuring or return values are always in braces?
      i dont know this language, but seems interesting
      is that language hard to grasp and learn ?

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

    Awesome guide! Thanks for doing 🏋 for us

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

    your video flow is very good. i manage to focus the whole 25mins on phoenix router basics before you talk about phoenix liveview.

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

      Thank you!

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

    Thank you, really fast tho. have to re-watch this informative video

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

    Great video Andrew! A lot of info here! Keep up the good work. Cheers

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

    This overview is a great resource. Thanks Andrew!

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

      Thank you!

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

    Your videos have been great to get an overview of Phoenix. I'd love to see a video on what managing a live application looks like. You have one that kind of covers dockerising - but what happens once it's deployed? How do you monitor it, and how do you dig into the details. The other bit I'm not clear on is how you would start to think about the non 'Web' modules. So you can just write Elixir code.. but should modules of your application be Genservers or what. Say I want to send an email - should I have an email server running and send it some details. Pretty basic stuff, but I'm just not used to the phoenix (or elixir) way of doing things coming from other full stack frameworks like Laravel or Rails.

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

    Awesome stuff man, high quality sh*t, thank you!

    • @srcrip
      @srcrip  8 วันที่ผ่านมา

      Thank you!

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

    That was great thanks! I think you may have saved me some future headaches. Future topic suggestions: JS interop. I know javascript is a dirty word in the phoenix world, but understanding when and how you can use it is often glossed over. And I notice your app.js was actually app.ts! knowing how to switch over would be cool. The other suggestion would be generators. The built in ones (getting the most from them, ie: generate a table and avoid having to fix the migration and schema too much) and how to make your own. Thanks again!

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

    Amazing. I really appreciate what you are doing

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

      Thank you very much!

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

    Wow, so much info. Thanks for all this. Maybe you should split your content in smaller video, it was not obvious to me what was included in this router video. Amazing info.

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

    Thanks for the amazing overview! I have a question actually, I know you can add 1-n plugs inside the controller itself, to kinda have some logic to be executed in a plug-like way for this particular controller. Does something like this exist in live views? Or the only place to compose on_mounts is inside the router?

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

      Yes you can do the exact same thing with on_mount directly in the top level of a LV

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

    What a awesome vidoe, maybe you can bring us what's the best way to work with nested associations in forms and how to create a CRUD with Liveview without mix phx.gen
    Thank you for the video.

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

      Thank you, that's a great idea!

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

    You're a life saver 🥹

    • @srcrip
      @srcrip  8 วันที่ผ่านมา

      Thank you!