real world example app
phoenix-liveview-counter-tutorial
Our great sponsors
real world example app | phoenix-liveview-counter-tutorial | |
---|---|---|
2 | 2 | |
870 | 346 | |
- | 3.5% | |
0.0 | 7.8 | |
over 1 year ago | 8 days ago | |
Elixir | Elixir | |
MIT License | GNU General Public License v3.0 only |
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.
real world example app
-
Phoenix namespacing conventions
After that, you're left with everything else in your application, much of which is interrelated on the data level. Using this repo as an example, you find that it has Accounts and then Blog as the primary namespaces (which make sense), which then leaves you with blog.ex which is a file containing a ton of database reading/writing/helper functions for all these different entities in the namespace (this is how the generators will also scaffold things, continuing to pile on the functions). It feel strange to me to have one giant file that forever grows proportional to the size of the namespace with so many concerns. Is it a good idea to split these things out (particularly when the ecto models aren't responsible for database queries in Pheonix) or am I just thinking about this the wrong way??
-
Phoenix
Getting Id token - here is some example: https://github.com/gothinkster/elixir-phoenix-realworld-example-app
phoenix-liveview-counter-tutorial
-
Htmx Webring
Here's an gist of it: https://github.com/dwyl/phoenix-liveview-counter-tutorial https://hexdocs.pm/phoenix_live_view/form-bindings.html
I think the learning curve is not all that steep.
-
We Got to LiveView
This is a pretty good liveview tutorial: https://github.com/dwyl/phoenix-liveview-counter-tutorial
We also have a hiring project that's designed to ease people in to Phoenix + LiveView. We extracted this from a real app and tried to make it as simple as possible to work on: https://github.com/fly-hiring/phoenix-full-stack-work-sample
What are some alternatives?
koans - Small exercises to discover elixir by testing
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
harakiri - Help applications kill themselves
Absinthe Graphql - The GraphQL toolkit for Elixir
oop - OOP in Elixir!
phoenix-flux-react - An experiment with Phoenix Channels, GenEvents, React and Flux.
weather - A command line weather app built using elixir
webtransport - WebTransport is a web API for flexible data transport
elixir_koans - Elixir learning exercises
changelog.com - Changelog is news and podcast for developers. This is our open source platform.
phoenix-ecto-encryption-example - 🔐 A detailed example for how to encrypt data in an Elixir (Phoenix v1.7) App before inserting into a database using Ecto Types