core
elm-spa-example
core | elm-spa-example | |
---|---|---|
9 | 12 | |
2,783 | 3,277 | |
0.5% | - | |
0.0 | 0.0 | |
4 months ago | 6 months ago | |
Elm | Elm | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
core
-
Learning Elm by porting a medium-sized web front end from React (2019)
elm is a lovely lang. it would be nice to have modern APIs on it.
here's the project for new eyes:
https://github.com/elm/core
https://elm-lang.org/
- Statically-typed functional programming, Elm, Conway's Game of Life, and Emergence
-
Beware of integer division in Elm 0.19.1
In Basics.elm we have:
-
Learn functional programming with Advent of Code! ☃️
The package docs for all the functions we learned today
-
Is there a viable successor to Elm?
However I notice that the developed of elm/core has died down (last commit was 4 years ago) and I feel that it's fading into obscurity.
-
Understanding UI Components in Elm
https://elmprogramming.com/
There isn't that much good learning material. It is important to get comfortable with the official docs. Especially the standard library that you find here: https://package.elm-lang.org/packages/elm/core/latest/
-
Is elm dead?
Looking at the default branch of core, you can already see this in more than just "for the compiler".
-
A good list of problems that every language should be able to solve.
For a minimal but useful set of functionality, I would love to see a better set than elm/core. In essence, basic types (Int, Float, String, Bool) and ways to combine these: Tuples, Records, ADT. Since they are also used so frequently, List, Map/Dict, Set and Option/Maybe implementations should also be included. In terms of functions, basic Math and a sensible set of operations for each of the included types. Again, elm/core is a good example.
-
Porting Elm to WebAssembly
Once all that handwritten C code was solid, I needed to make sure the C generated from Elm was working properly. I found the source for the core library's unit tests and decided to port them into my project and add some of my own tests. You can run the tests in WebAssembly in your browser too. (Funnily enough, one of the biggest challenges was getting the Elm Test framework itself to run! The framework is more complex than the tests themselves. I still need to come back to the fuzzer tests!)
elm-spa-example
-
Yet Another Tour of an Open-Source Elm SPA
About 7 years ago, in the midst of writing Elm in Action, Richard Feldman developed rtfeldman/elm-spa-example, wrote Tour of an Open-Source Elm SPA and graciously shared both of them with the Elm community. The community's response was overwhelmingly positive and it was clear that he had addressed a major need. If you were one of the many web application developers asking "Where can I find an open-source example of an Elm Single Page Application?", then, the Elm SPA Example instantly became the canonical example that everyone was going to point you towards. This was a landmark achievement in the history of Elm.
-
I have finished reading Elm In Action
One accidentally nice thing about that book is the elm version is still the same, so everything is still relevant. As for the SPA, I think the book had to keep things simple, but you'd probably want to look into the author's elm-spa-example next, there's a talk on youtube that goes along with that and he also also a related course on frontend maters worth exploring.
-
Easy Questions / Beginners Thread (Week of 2022-08-29)
I'm following along with the update behavior of https://github.com/rtfeldman/elm-spa-example/blob/master/src/Main.elm. But I'm not sure how I propagate a message from Main.elm to User.elm to Table.elm (or deeper). How do you manage Msg passing like this?
-
What's the canonical way to style an app in Elm?
I am building my first Elm app just following the docs from the official web site. I don't see any direct mention of styling there. Looking around, I see the elm-ui project is one, elm-css is another approach, and the example SPA that Richard Feldman made just uses a stylesheet from Bootstrap, i.e., just plain CSS. If it exists, what's the canonical way of styling an app?
-
Does TEA mean single state at root?
A good example of this is the Elm-SPA example from Feldman: the Main.elm file is basically just glue code for the rest of the project (https://github.com/rtfeldman/elm-spa-example/blob/master/src/Main.elm).
-
Porting Elm to WebAssembly
After all that I've managed to reach my goal of being able to run Richard Feldman's Elm SPA Example in my system! 😃 Here's a working implementation compiled to WebAssembly. And for comparison, you can also check out the same code compiled to JavaScript. (Unfortunately the publicly available APIs don't seem to be returning very much data at the moment but there's not much I can do about that!)
-
Pelmodoro - a Pomodoro app built with Elm
Looking at the Real World application I could see that there were better ways to structure my modules using nested TEAs and keeping the Main module as a hub for everything in the app.
-
Easy Questions / Beginners Thread (Week of 2021-06-14)
If you want to see Elm code, you might look for example projects on GitHub. (https://github.com/rtfeldman/elm-spa-example comes to mind.)
-
We chose Elm for Humio’s web UI
https://github.com/rtfeldman/elm-spa-example is a good example app. I'd also recommend https://codebase.show/projects/realworld in general if you're looking for example apps in various frameworks and languages. I sadly can't share anything from work as it's all private.
-
Iced GUI tutorial or guidelines needed
- How to properly structure the project. I differentiate between my core utils and the actual gui. Iced states in the documentation that it's inspired by the Elm architecture. So naturally I've read a little bit about the proposed Elm project structure. So I basically end in a structure like this spa example directory recommended by the Elm communicty: Repo
What are some alternatives?
r10 - R10 is a library of interactive building blocks written in Elm and elm-ui that we use at Rakuten for creating user interfaces.
elm-review - Analyzes Elm projects, to help find mistakes before your users find them.
elm-companies - 🌲 A list of companies using Elm in production.
elm-chorus - A web interface for Kodi/XBMC written in Elm
realworld-hasura - Realworld inspired blogging platform (Remake of Conduit) using Hasura + Purescript + Elm
ellie - The Elm Live Editor
gc - Branch of the spec repo scoped to discussion of GC integration in WebAssembly
howler.js - Javascript audio library for the modern web.
html - Use HTML in Elm!
Elm - Compiler for Elm, a functional language for reliable webapps.
elm-architecture-tutorial - How to create modular Elm code that scales nicely with your app
Dexie.js - A Minimalistic Wrapper for IndexedDB