AlchemistCamp

AlchemistCamp

I’m in the process of doing a series where I build a site for the new podcast I’ve recently started with Justin Vincent of Techzing.

It starts with LiveView version 0.4.0, but I do upgrade as the series goes on. It’s definitely easiest for you if you use the same versions I do and upgrade when I do!

You can follow the full YT playlist where I’ll add videos as I record them or look at the individual links to episodes as I add them to this thread.

Showing Posts 1 to 10

AlchemistCamp

AlchemistCamp OP

In the first episode, I just create a new Phoenix Project, add LiveView and make a single example page that shows the most recent key pressed.

AlchemistCamp

AlchemistCamp OP

The second episode is all about planning out my DB schemas. I go over what I set up for Alchemist Camp itself, and how a simpler design will work for a podcast site that has fewer kinds of content and fewer social features.

If you just want to see the coding itself, you can skip this one.

AlchemistCamp

AlchemistCamp OP

Next, I upgrade to LiveView v0.5.1. In the case of this app, it’s trivial and only web.ex and mix.exs need to be changed.

AlchemistCamp

AlchemistCamp OP

In this one, I setup the socket session info add a CSRF helper and then extract the live template from a ~L quoted string into its own .leex file.

AlchemistCamp

AlchemistCamp OP

Using the results from the schema planning episode, I use Phoenix generators to scaffold out the schemas, contexts and other CRUD for the app.

AlchemistCamp

AlchemistCamp OP

This episode, adds some PubSub functions to the Accounts Context for user-related LiveViews and then creates a LiveView for the index page.

AlchemistCamp

AlchemistCamp OP

This episode converts the new users page and form into live views and shows LiveView and Phoenix form validations in action.

AlchemistCamp

AlchemistCamp OP

This episode builds the live views and templates for the show and edit pages, fixes a few bugs and finishes converting users from traditional CRUD to LiveView.

AlchemistCamp

AlchemistCamp OP

This episode handles upgrading LiveView from version 0.5.1 to 0.8.1, and getting both the main app and the throwaway /foo route working.

AlchemistCamp

AlchemistCamp OP

Episode 10 of the series is all about webpack, fonts, sass and styling the front-end. No LiveView in this one, but it’s useful if you ever want to add custom fonts and logos!

Where Next? Top

Trending in Screencasts Top

lubien
Several weeks ago I was nerd snipped by browsers support for View Transitions API and took to myself to see how that goes in LiveView. Af...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews