Thinking Elixir Podcast

40: Mental Models for Elixir and LiveView


Listen Later

We talk about the mental models we use for writing our Elixir code and for thinking about our Elixir systems (starting at 5:46). We cover transformations, plug, and Mark's "Workshop Model" (starting at 23:45). We also talk about LiveView, (starting at 31:20) how we approach it today, mistakes we've both made and seen. A fun discussion! We want to continue the discussion with you over on ElixirForum. Check the show notes for links to those topics!

Show Notes online - http://podcast.thinkingelixir.com/40

Elixir Community News

  • https://github.com/elixir-lang/elixir/blob/v1.11/CHANGELOG.md – Elixir 1.11.4 released
  • https://elixirstream.dev – ElixirSteam.dev soft launch experiment
  • https://twitter.com/elixirbookclub – Elixir Book Club gearing up
  • https://pragprog.com/titles/jgotp/designing-elixir-systems-with-otp/ – Book Club selection "Designing Elixir Systems with OTP"
  • https://techcrunch.com/2021/03/16/sumup-which-helps-businesses-take-card-payments-raises-895m-to-double-down-on-growth/ – Techcrunch covered the London based startup SumUp for raising $895M
  • https://www.youtube.com/watch?v=3O_3X7InOw8 – TailwindCSS update with experimental JIT for improved dev styles
  • https://github.com/tailwindlabs/tailwindcss-jit – Experimental jit project
  • https://github.com/elixir-lang/ex_doc/blob/master/CHANGELOG.md – ExDoc 0.24.0 released
  • Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at [email protected]

    Discussion Resources

    • Mental models coming to Elixir
    • Phoenix pipelines and reconstructing plug
    • https://pragmaticstudio.com/courses/elixir – The PragProg course Cade mentioned
    • It's all about data transformations
    • Code organization and namespace design discussion
    • Mark's mental model of the "The Workshop" starting at 23:45
    • Modules are binders of instructions
    • Refactoring, namespace design, code organization is about getting your workshop organized.
    • LiveView, anti-patterns, making the mental shifts
    • The "Lift and shift" approach doesn't work well coming from OOP or React to Elixir
    • Live View components and passing left over arguments to the HTML makes it cleaner and easier
    • https://elixirforum.com/t/thinkingelixir-discussion-mental-models-for-your-elixir-and-liveview-code/38393ElixirForum Discussion - Mental models you use for thinking about your Elixir and LiveView code
    • Find us online

      • Message the show - @ThinkingElixir
      • Email the show - [email protected]
      • Mark Ericksen - @brainlid
      • David Bernheisel - @bernheisel
      • Cade Ward - @cadebward
      • ...more
        View all episodesView all episodes
        Download on the App Store

        Thinking Elixir PodcastBy ThinkingElixir.com

        • 4.9
        • 4.9
        • 4.9
        • 4.9
        • 4.9

        4.9

        32 ratings


        More shows like Thinking Elixir Podcast

        View all
        Hanselminutes with Scott Hanselman by Scott Hanselman

        Hanselminutes with Scott Hanselman

        377 Listeners

        Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

        Software Engineering Radio - the podcast for professional software developers

        272 Listeners

        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        283 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        592 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        624 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        982 Listeners

        REWORK by 37signals

        REWORK

        211 Listeners

        CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

        CoRecursive: Coding Stories

        189 Listeners

        Elixir Mix by Charles M Wood

        Elixir Mix

        13 Listeners

        Elixir Wizards by SmartLogic LLC

        Elixir Wizards

        22 Listeners

        The Stack Overflow Podcast by The Stack Overflow Podcast

        The Stack Overflow Podcast

        64 Listeners

        Beam Radio by Lars Wikman

        Beam Radio

        11 Listeners

        Oxide and Friends by Oxide Computer Company

        Oxide and Friends

        47 Listeners

        Elixir Mentor by Jacob Luetzow

        Elixir Mentor

        2 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        52 Listeners