josefrichter

josefrichter

Hi, I came across Rails Bytes only recently - it lets you run “scripts” with commands you typically run when adding some gem into application. I was wondering whether something like that is also possible in Elixir/Phoenix?

Not that it’s super useful and important, but it’s kinda nice to have in the prototyping stage when you quickly want to stitch together a bunch of components and try something. A bit like scaffolding generators on steroids.

Showing Posts 1 to 4

chrismcg

chrismcg

This was linked to in the Thinking Elixir podcast José was on.

Haven’t looked in detail but seems similar on the surface.

josefrichter

josefrichter OP

ah very cool! that app generated with tailwind, authentication and kaffy already looks like a great starting point, saving you writing a lot of… well… boilerplate :slight_smile:

thank you and thanks to the author! gonna support him by buying the paid stripe tutorial I guess, been playing with that recently anyway :+1:

cnck1387

cnck1387

This topic was discussed a lot in the past in these 2 threads:

It never came into existence because there’s a lot of things in Rails that lets you build such templates and 3rd party services like RailBytes which don’t exist in Elixir. Based on some of the replies I don’t think we’ll get similar behavior so creating hard coded personalized templates with opinions is the way to go.

dimitarvp

dimitarvp

It’s my long-held opinion that Elixir could definitely use more code generators but hey, we are all busy and it hasn’t happened yet which is a shame. Elixir is generally easy to refactor – to the extent that this statement can be said for a dynamic language of course – and it’s so far a missed opportunity.

I wanted to contribute something like that for at least 2 years now but alas, time and energy are never enough so far.

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
Blokh
Hey guys, I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly Do you guys have any suggestions what is the best prac...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
Onor.io
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
jaybe78
Hello, I’m developing a online persistent chat system (what’s app) like using elixir/dynamodb/aws for a mobile app(flutter). The diffic...
New
Trolleger
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New

Other Trending Topics Top

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
aseigo
ICal is a library for interacting with iCalendar data. It parses iCalendars into typed Elixir structs via ICal.from_ics, and can prepare ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews