mix_install_examples
liveviews
mix_install_examples | liveviews | |
---|---|---|
10 | 19 | |
505 | 423 | |
- | 2.1% | |
5.0 | 6.2 | |
5 days ago | 2 months ago | |
Elixir | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mix_install_examples
-
On to Elixir
Ya, it's fair, it's a common complaint! Though the size of the generated files is nothing compared to Rails :D
You're right that phx_new does count too. It's a bit misunderstood that Phoenix is actually closer to a micro-framework like Flask than it is a full-fledged solution like Django or Rails. What takes it up to their level is `mix phx.new`, so your argument is more on point than I initially thought. The LiveView issue tracker even provides a single-file version of a Phoenix app to re-create your issue in [0]. As you can see, it's not as simple as something like Flask, but not as complex as the generator does.
Again, great article and happy to have you aboard ;)
Also, if you want an auth solution without code generation, there is Pow [1]
[0] https://github.com/wojtekmach/mix_install_examples/blob/main...
-
Scripting with Elixir
- learning how to compute the checksum of the internal content of a zip file https://github.com/etalab/transport-site/blob/master/scripts...
As mentioned in the article, I can definitely recommend to check out https://github.com/wojtekmach/mix_install_examples which has a long list of examples.
-
Server Sent Events
Streaming ChatGPT via SSE in Elixir: https://github.com/wojtekmach/mix_install_examples/pull/22#i...
-
Single File Elixir Scripts
love elixir. hate Mix.
it's like using Maven or npm all over again. but even worse because it generates a lot of code.
it creates disposable projects by design. No way to keep track of what to change when mix create outputs something different next year.
and now things like https://github.com/wojtekmach/mix_install_examples/blob/main... where is ecto even installed? download from where? so annoying this trend.
- Phoenix 1.7.0 Released: Built-In Tailwind, Verified Routes, LiveView Streams
- Python 3.11 Delivers
-
Simple 1-2 page website with LiveView - alternative to Phoenix?
Like others have told you, Phoenix doesn't really add much complexity / fat / weight. In terms of complexity, if you don't want to use phx_new to boostrap the project here's a sample of using Phoenix LiveView in a single script file: https://github.com/wojtekmach/mix_install_examples/blob/main/phoenix_live_view.exs
-
Dynamic Queries in Ecto (Elixir Lang)
If you want to play around with Ecto in isolation, you can (thanks to `Mix.install/2`) work in single-files, all containing the migrations, the schemas and configuration.
Check-out this repository for an example (and other single-file examples):
https://github.com/wojtekmach/mix_install_examples/blob/main...
liveviews
-
Why Elixir Is the Best Language for Building a Bootstrapped, B2B SaaS in 2024
If you want to try the liveview approach but not ready to work with Elixir / Erlang / Beam runtime, you can use liveview in 17 popular languages (Java / C# / Javascript / Typescript / PHP / Python, e.t.c.).
https://github.com/liveviews/liveviews
Below are introduction directly quoted from this list:
> This is a list of libraries for creating web applications that handle user interaction with the DOM on the server. These libraries take a different approach from older server-driven browser UIs that simulated a desktop GUI toolkit. They do not lock the developer into working with predefined components; most operate at the level of HTML (DOM) rather than GUI widgets.
> The list strives to be complete rather than awesome. You may see libraries that are not maintained or ready for production.
-
Write code for the web - Apple doesn't care about you, Mr. Developer
This approach allows you to handle business logics on the server, and update the screen in browser from the server as well.
[1] https://github.com/liveviews/liveviews
-
Htmx Webring
That's a conflation. I'm certain for at least some, the choice is more about using a single language than avoiding JS. I'm sure there are people using htmx who use a JS backend. There are at least 5 LiveView clones for JS for instance: https://github.com/liveviews/liveviews#javascripttypescript
-
Is "full-stack web developer" a vanishing career path?
Nuxt, Next, SvelteKit, Phoenix(Elixr), Blazor, and various liveview-likes are popular full stack frameworks. So, although many devs are becoming specialized, there certainly still are full stack developers with demand enough to strongly support several frameworks.
- Phoenix LiveView workalikes for different languages and frameworks
-
Dynamic Forms with LiveView Streams
The list is seeking a maintainer. https://github.com/liveviews/liveviews/issues/23
-
Phoenix 1.7.0 Released: Built-In Tailwind, Verified Routes, LiveView Streams
> "different" platform with it's own unique patterns and quirks
Everything OP listed was a criticism directed at LiveView, the 'Live App' functionality, not Phoenix, the web framework. Live Apps are not exclusive to Phoenix either, as there are now imitators for every other web framework now, which at least speaks to its broader appeal amongst developers. So the criticism could be leveled towards the far less mature 'Live App' libraries on PHP/Python/JS/C# and so on and on:
https://github.com/liveviews/liveviews
-
Grab flask form/wtform data without hitting submit
However there are two ways you can do this server side: 1. Use a tool similar to live view: https://github.com/dbohdan/liveviews
- Phoenix LiveView reimplementations for other languages
- Ask HN: What's is your go to toolset for simple front end development?
What are some alternatives?
moebius - Modern ANSI & ASCII Art Editor
python-live-gui
ecto - A toolkit for data mapping and language integrated query.
viewi - Unique and efficient front-end framework for PHP
unsplit - Resolves conflicts in Mnesia after network splits
Typesense - Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
moebius - A functional query tool for Elixir
examples - Flet sample applications
gleam - ⭐️ A friendly language for building type-safe, scalable systems!
pyimgui - Cython-based Python bindings for dear imgui
single_file_phx_bumblebee_ml
Plausible Analytics - Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.