Onor.io
I saw this post:
And I was reminded of a talk @BruceTate gave several years ago about how the pendulum swings back and forth. In the days of the mainframe all the horse power was on the server. Then PC’s came along and users started getting some power locally. Then we moved to client/server and everything was on the back end again etc etc. By the way Bruce I do apologize if I’m mangling your ideas–it’s been a while since you gave that talk and I’m going off memory.
The thing is, some apps are simply a better user experience local and some apps are simply better hosted off of a server. Dictating that all apps must be one or the other is poor engineering.
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
I’m posting this in response to Jose’s recent tweet (Cr. link) :
People are sleeping on Elixir for a coding harness:
Hot-code swappi...
New
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes.
We’re a small ...
New
I’ve just put together a small POC exploring PDF inspection from Elixir/Phoenix:
The idea is pretty simple: drag & drop a PDF in a...
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
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
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
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
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #blog-post
- #ai
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
sodapopcan
Or more likely “Marketing-first software”
Somewhat tangentially, Chris being upfront about LiveView not being right for all situations from the get-go was one of the many things that impressed me about it.
kokolegorille
We can do local first with Phoenix…
There was a talk yesterday about ElectricSql at Code BEAM America
kokolegorille
It is not incompatible to use local first with liveview, we can use both
sodapopcan
Oh wow, was not aware of phx_sync. Personally, I would like to avoid offline/local first for the rest of my career if I can
But it’s really great there’s been progress in this area!
dimitarvp
While it is historically accurate to say that the pendulum has been swinging back and forth, and that the reasons for that are mostly well-understood (mostly related to the power of the client and/or the server machines really), I feel that this ignores what is actually a good idea and/or pragmatic to do.
IMO most people in many apps, barring social networks or just very social apps like chats, 99% of the time interact with computers in their own mini universe. They would be completely fine if the app stored their changes in a local SQLite instance that lives in a WASM runtime in the browser, for example. And syncs all changes, say, once every two minutes. And have browser capabilities that clearly state “if this tab is closed, sync this DB to this server endpoint and don’t give up until it’s done”, invisibly from the user – they can close their tab and move on with life.
Many people in smaller organizations (and/or more closed ones but still with a lot of customers) have explored very similar ideas btw, and they found them working crushingly well.
Of course, as you yourself said, it seriously depends on the app – of course. But even something like an e-commerce website where you browse products, add favorites, put stuff in a cart, order, pay etc. can work just fine with mostly local access. I mean, not like most e-stores change their inventory 20 times every day… syncing stuff once every 2 to 120 minutes is going to serve nearly everyone just fine, 99% of the time.
Alas, the tech zeitgeist moved to the path of least resistance, as it always does because, you know, the companies need interns that are paid 10x less than a senior.
kokolegorille
The package has been released yesterday, it’s really fresh
kokolegorille
We can use postgresql in the browser too
https://github.com/electric-sql/pglite
No need to switch to sqlite
dimitarvp
Ha, very nice. Nothing is perfect though, of course the kids will choose TypeScript and feel they are rocket scientists but oh well, we can’t have it all.
I am bookmarking this. I have an idea or two that needs a DB like that.
sodapopcan
Oh wow, I hadn’t clicked the link. This looks generally really great, even outside of offline-first scenarios.
derek-zhou
Local-First web applications are basically what should have been written as native applications. However, due to the fact that most people’s computer are not computers anymore, but walled gardens controlled by mega corporations, developers have to do this ****.