Better HN
topnewbestaskshowjobs
Log inSign up

jjdeveloper

697 karma · joined May 28, 2021 (5y ago) · 71 submissions

Submissions

61.

The Future of Full Stack(youtube.com ↗)

3 points · by jjdeveloper · 5y ago · discuss

comment 5y ago · link · parent

I feel that the simplicity of just building on the server and pushing the updates across the wire is where we are heading. So a lot less double up, with regards needing to write both for the server and client. Validation especially will just need to be written once.

Although I do feel Phoenix Liveview is a better option because they implement sockets.

Also saw this update today they will allow you to trigger javascript on the client without the sever round trip, it's one of the things people get a bit stuck understanding. Generally they think to pop open a modal or menu requires a round trip to the server but really you should be using Alpine.js or similar for such things. This new pending update remove the requirement of needing a framework like Alpine. https://github.com/phoenixframework/phoenix_live_view/pull/1...

comment 5y ago · link · parent

So good to see the progress in the Elixir community. Liveview seems to have got lots of peoples attention.

comment 5y ago · link · parent

The round trip is very quick, websocket with a tiny payload in most cases. This video does a great job of discussing the advantages (skip forward to 6:50) https://youtu.be/8xJzHq8ru0M

comment 5y ago · link · parent

If you want to save state for the counter to the server you would do a round trip. Otherwise you’d use some light weight JS lib, most popular one for simple interactions is Alpine.js. So simple ui JavaScript use Alpine and something like form validation and showing errors will do a round trip and save you writing validation twice (on the client and on the server).

comment 5y ago · link · parent

Tailwind gives you inline media queries and the confidence that your css doesn’t impact other elements on your site. Also you don’t need to think up class names. CSS variables are great, I just don’t really understand the value, I guess it gives you a bit of constraints for consistent styling.

67.

‘This is just no way to live’: What it’s like delivering parcels for Amazon(abc.net.au ↗)

2 points · by jjdeveloper · 5y ago · discuss

68.

Phoenix 1.6 released removes the need for Node and Webpack(elixirforum.com ↗)

3 points · by jjdeveloper · 5y ago · 1 comment

69.

Spotify Building with Elixir/Liveview(thinkingelixir.com ↗)

6 points · by jjdeveloper · 5y ago · discuss

70.

Elixir's Phoenix framework removing the need to install node(twitter.com ↗)

6 points · by jjdeveloper · 5y ago · discuss

comment 5y ago · link · parent

I really like the way that Phoenix Liveview is trying to solve for this, trying to find the sweet spot in the middle of building multipage apps and SPAs. Great talk about it from the developer here https://youtu.be/8xJzHq8ru0M?t=409
123