OvermindDL1
Ahh, I have here my big Phoenix project at work currently running in dev mode, eating up a measly 143 megs while it is hosting a few dozen websocket connections and database work and such.
And side-by-side to it is node, eating a wtf 305megs just to compile assets…
Only thing higher than Phoenix’s node in memory right now is dwm.exe (because windows sucks) and chrome.exe (because I have OGodHowManyTabs open right now).
/me sighs
Still low, but just surprising it is that high compared to a full-out erlang server that is actually doing a lot of stuff is quite a bit smaller. ![]()
If only there were a way to toss out node for handling all the front-end assets. ^.^
Trending in Discussions
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Hi there! :wave:
@frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
I’ve been using Emacs as my main code editor for more than a two years. It’s a custom build version although I’ve tried doom emacs and sp...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with.
But I don’t use it anymore.
Serverless was the promis...
New
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
New
What IDE or editor are you using for Elixir development?
Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Aloha gang,
There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here:
...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #ai
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #metaprogramming










Showing Posts 28 to 19- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
You have to do that with Brunch too, Brunch does not understand css by default either (phoenix just sets up the css and javascript, yes it does not understand javascript by default either, for you). ^.^
I played with gulp a bit last night. You can set up any kind of pathing you want and it can work in parallel (if you design your streams well) very well too. However its internal debugging can be a slice of hell (it seems to have no equivalent to Brunch’s
LOGGY_STACKSenvironment variable that I could find). Has a file watcher/reloader and more, integrates with Phoenix well.thousandsofthem
I’m against webpack - e.g. you’ll need separate plugin to get css file out of it (who wants css, right? ). Soo many weird decisions imo
PragTob
Yes, I love that design of Phoenix very much - as you said before no matter what you pick it won’t satisfy everyone.
Me mentioning 2.0 was not so much about backwards compatibility but more about it being a “significant” change. I.e. I don’t think it would suit phoenix to change the default asset build tool every year or so (and I don’t see phoenix headed in that direction), so I thought the next major release might be a good time to re-evalute brunch & competition.
Of course that was assuming there will be one in the next ~2 years or so, but I don’t know maybe it’ll just stay stable at 1.x for a lot longer than I imagined
Another option would be switches/options, but that adds overhead and in Chris’s words:
josevalim
If I remember correctly, we don’t want to necessarily depend on bootstrap. It just happens to be what we use for the initial page (although that’s argument is half moot given the generator generates bootstrap classes too).
terakilobyte
I don’t know the reasoning, and I was thinking the same thing about it being an easy PR.
Even using brunch, adding in brunch-sass and node-sass as dependencies and then importing bootstrap would be a quick fix. This of course won’t please anyone who wants to use some other preprocessor, though the sass ecosystem is very nice.
Edit
It looks like all the necessary changes would take place in https://github.com/phoenixframework/phoenix/tree/master/installer/templates/static/brunch but I’d be interested to know whether @chrismccord and @josevalim are even interested in a change like this.
cpgo
I belive this is an easy PR, do you happen to know the reasoning for having the bootstrap blob instead of the package?
Maybe we could set up the
bootstrap-sasspackage on the installer.josevalim
One the things we were very careful with when designing the integration with brunch is to make sure all the code is in the generated application. The only line of code in your Phoenix project that knows about brunch is a single line in your config/dev.exs that starts the watcher. Phoenix itself knows nothing. This means we can replace Brunch by something else in future versions without breaking any existing application.
OvermindDL1
As someone outside to a lot of those still, webpack and gulp seem the biggest to me, with gulp slightly larger than webpack, and JSPM is the fastest growing but does not seem as powerful as webpack or gulp.
terakilobyte
I mostly use webpack in other projects so rip brunch out when playing around with Phoenix.
It might sound strange, but I feel there is less magic involved in webpack, though that’s admittedly because I’ve taken the time to learn webpack and not so much brunch.
A very simple webpack config for phoenix is easy to do. Regardless, one thing I’d love to see is the removal of the bootstrap blob in
phoenix.cssand have it default to being an npm dependency that is required somewhere.PragTob
That is great to hear!
webpack hit 2.0 and it seems the most popular choice, although that might be my bubble. Personally I think that this is nothing that NEEDS to change much less NOW - I think this might be something worth revisiting in ~a year and see what’s going on in JS land then and if it’s stable. Maybe with a Phoenix 2.0 some day