랭킹으로 돌아가기

evancz/elm-architecture-tutorial

Elmguide.elm-lang.org

How to create modular Elm code that scales nicely with your app

elmexamples
스타 성장
스타
4.2k
포크
719
주간 성장
이슈
6
2k4k
2015년 1월2018년 11월2022년 9월2026년 7월
README

Elm

Elm is a programming language that compiles to JavaScript. It is known for its friendly error messages, helping you find issues quickly and refactor large projects with confidence. Elm is also very fast and very small when compared with React, Angular, Ember, etc.

This repo focuses on The Elm Architecture, an architecture pattern you see in all Elm programs. It has influenced projects like Redux that borrow core concepts but add many JS-focused ideas.

The Elm Architecture

The Elm Architecture is a simple pattern for architecting webapps. The core idea is that your code is built around a Model of your application state, a way to update your model, and a way to view your model.

To learn more about this, read the the official guide and check out this section which is all about The Elm Architecture. This repo is a collection of all the examples in that section, so you can follow along and compile things on your computer as you read through.

Run The Examples

After you install, run the following commands in your terminal to download this repo and start a server that compiles Elm for you:

git clone https://github.com/evancz/elm-architecture-tutorial.git
cd elm-architecture-tutorial
elm reactor

Now go to http://localhost:8000/ and start looking at the examples/ directory. When you edit an Elm file, just refresh the corresponding page in your browser and it will recompile!

관련 저장소
yewstack/yew

Rust / Wasm framework for creating reliable and efficient web applications

Rustcrates.ioApache License 2.0rustweb
yew.rs
32.7k1.5k
iced-rs/iced

A cross-platform GUI library for Rust, inspired by Elm

Rustcrates.ioMIT Licenseguigraphics
iced.rs
31k1.6k
dvajs/dva

🌱 React and redux based, lightweight and elm-style framework. (Inspired by elm and choo)

JavaScriptnpmMIT Licensedvaredux
16.2k3.1k
glideapps/quicktype

Generate types and converters from JSON, Schema, and GraphQL

TypeScriptnpmApache License 2.0jsontypescript
app.quicktype.io
13.8k1.2k
concourse/concourse

Concourse is a container-based automation system written in Go. It's mostly used for CI/CD.

GoGo ModulesApache License 2.0goci
concourse-ci.org
7.9k894
elm/compiler

Compiler for Elm, a functional language for reliable webapps.

HaskellBSD 3-Clause "New" or "Revised" Licenseelmcompiler
elm-lang.org
7.8k685
dependabot/dependabot-core

🤖 Dependabot's core logic for creating update PRs.

RubyRubyGemsMIT Licenseelixirruby
docs.github.com/en/code-security/dependabot
5.7k1.5k
sporto/awesome-elm

A curated list of useful Elm tutorials, libraries and software. Inspired by awesome list. Feel free to contribute. :rocket:

elmawesome-list
3.7k221
elm/core

Elm's core libraries

ElmBSD 3-Clause "New" or "Revised" Licenseelmcore
package.elm-lang.org/packages/elm/core/latest
2.8k363
eikek/docspell

Assist in organizing your piles of documents, resulting from scanners, e-mails and other sources with miminal effort.

ElmGNU Affero General Public License v3.0ocrstanford-corenlp
docspell.org
2.3k179
ivanceras/sauron

A versatile web framework and library for building client-side and server-side web applications

Rustcrates.ioMIT Licensewebhtml
2.1k61
elm/elm-lang.org

Server and client code for the Elm website.

ElmBSD 3-Clause "New" or "Revised" Licenseelmhomepage
elm-lang.org
2k360