Simon Wolf · @simon
536 followers · 1210 posts · Server social.sgawolf.com

For my work project we’re going to use as well as to ease the migration from one database to the other (using the mongodb_driver package).

Previously on I was pulling a Postgres instance into my nix-shell environment but Mongo on NixOS involves compiling from source which is slow.

So I’m now using Podman (podman.io/) and Podman Compose with a standard Docker Compose file which also keeps things flexible for co-workers.

#elixir #PhoenixFramework #mongodb #postgres #nixos

Last updated 1 year ago

Simon Wolf · @simon
536 followers · 1210 posts · Server social.sgawolf.com

German Velasco (not on Mastodon as far as I know) has a really good YouTube channel where he shares a lot of Phoenix and LiveView tips. It’s highly recommended, as is his LiveView testing course (testingliveview.com/), but today’s video was especially good and he explains how a Phoenix 1.7 LiveView form can use a map rather than a changeset as it’s data source and still display errors: youtu.be/a_h2orv7M3U

#myelixirstatus #PhoenixFramework #liveview

Last updated 1 year ago

Geoffrey Lessel · @geolessel
82 followers · 27 posts · Server hachyderm.io

I just finished recording what is (probably) the last video of my Build It With Phoenix series (builditwithphoenix.com). That means early access pricing will also be ending soon. Go take advantage now if you haven't already! @elixirlang

#myelixirstatus #elixirlang #PhoenixFramework

Last updated 1 year ago

Geoffrey Lessel · @geolessel
72 followers · 12 posts · Server hachyderm.io

Over the weekend I added 7 new videos totaling 29 minutes to my and video course, Build It With Phoenix. More info at BuildItWithPhoenix.com.

#elixir #PhoenixFramework #myelixirstatus

Last updated 2 years ago

Simon Wolf · @simon
494 followers · 748 posts · Server social.sgawolf.com

Big thanks to @zorn because he mentioned a site last week that allows you to download the variants of Google Fonts you need to self-host them: gwfh.mranftl.com/fonts

For my site it was just a case of:

1. Storing the files in priv/static/fonts/
2. Putting the CSS the site generates in assets/css/app.css
3. Adding the named fonts to assets/trailwind.config.js
4. Making sure 'fonts' is in the static_paths/0 function in the site's '...Web' file.

#myelixirstatus #PhoenixFramework

Last updated 2 years ago

Simon Wolf · @simon
492 followers · 689 posts · Server social.sgawolf.com
Simon Wolf · @simon
483 followers · 622 posts · Server social.sgawolf.com

Just updated my work-in-progress project to 1.7.0-rc.3 (released yesterday) and I’m wondering if there is a good way to make sure that all of the changes between the first rc and the eventual full release are picked up. How do people usually track and implement changes in files between version releases?

#myelixirstatus #PhoenixFramework

Last updated 2 years ago

Simon Wolf · @simon
481 followers · 602 posts · Server social.sgawolf.com

The more I use them, the more I’m loving ’s LiveView Components. Slots and attributes make it all beautifully robust and it’s such a lovely way to compartmentalise HTML.

hexdocs.pm/phoenix_live_view/P

#myelixirstatus #PhoenixFramework

Last updated 2 years ago

AJ · @ajf
38 followers · 48 posts · Server hachyderm.io

At some point we should probably stop saying that Phoenix is like Rails. It’s come so far. Gradually, nearly every part has become more streamlined.

#elixir #PhoenixFramework #rails

Last updated 2 years ago

Simon Wolf · @simon
480 followers · 598 posts · Server social.sgawolf.com

I've just done the free upgrade to the 2nd edition of the course that @mikeclark and Nicole have released and was very pleased to see that we can make a completely optional donation.

As a customer, things like this are a pleasure to do because the value for money and the kindness of not making it a paid upgrade needs to be repaid somehow.

#liveview #PhoenixFramework

Last updated 2 years ago

Simon Wolf · @simon
436 followers · 422 posts · Server social.sgawolf.com

Veey happy to see (via @mikeclark on Twitter… don’t forget about us over here Mike!) that The Pragmatic Studio are working on a big update to their excellent course:

“Reached a major milestone on the LiveView course update: Everything’s ready to start filming!

It's been redesigned, top-to-bottom for Phoenix 1.7 and LiveView 0.18. Plus brand new sections on function components, live sessions, Presence, and JS commands.”

twitter.com/clarkware/status/1

#PhoenixFramework #elixir

Last updated 2 years ago

Simon Wolf · @simon
356 followers · 236 posts · Server social.sgawolf.com

I finally grokked using a schemaless Changeset for a LiveView form where I wanted to fetch JSON data based on the form input, embed that into the form’s Changeset, perform some custom validations on it all, and then save it all as JSON in a field in a database. 😅

I might write it all up as a blog post, if only for forgetful, future me. It all looks terribly simple now but almost every step was something new I needed to learn.

#myelixirstatus #PhoenixFramework

Last updated 2 years ago

Simon Wolf · @simon
290 followers · 196 posts · Server social.sgawolf.com
Simon Wolf · @simon
290 followers · 196 posts · Server social.sgawolf.com

I’m excited to see that the first version 1.7 release candidate is now available: phoenixframework.org/blog/phoe

There are some lovely changes in it and I’m early enough in a project to hopefully make the update relatively easy.

#myelixirstatus #PhoenixFramework

Last updated 2 years ago