What full stack to use with ELM?

2,414 views
Skip to first unread message

Fernando Alegre

unread,
Dec 3, 2015, 5:22:30 PM12/3/15
to Elm Discuss
I am not a Web developer, but I need to create a web application to be used in-house. I need to deploy everything necessary to run the application, so I was looking at something really simple that is as self-contained as possible and has a gentle learning curve. Elm seems to be very good for that, but I don't see how it covers the full stack. So, my question is, what servers/databases/etc would you recommend to have a full stack web application with Elm as one of its main components?  When I google for "full stack", I get results about MEAN (mongoDB+express+angular+node). I wonder what is the Elm+???+???+??? equivalent.

Joey Eremondi

unread,
Dec 3, 2015, 5:50:51 PM12/3/15
to elm-d...@googlegroups.com
Elm just generates JavaScript as an output, and it isn't tied to any particular stack. So you can use whatever stack you want to serve the JS that Elm generates.

There are some tools out there for sharing datatypes between Elm and Haskell if you're interested in Snap/Scotty/Yesod/Servant/Happstack or any other Haskell framework.

On Thu, Dec 3, 2015 at 2:22 PM, Fernando Alegre <fernand...@gmail.com> wrote:
I am not a Web developer, but I need to create a web application to be used in-house. I need to deploy everything necessary to run the application, so I was looking at something really simple that is as self-contained as possible and has a gentle learning curve. Elm seems to be very good for that, but I don't see how it covers the full stack. So, my question is, what servers/databases/etc would you recommend to have a full stack web application with Elm as one of its main components?  When I google for "full stack", I get results about MEAN (mongoDB+express+angular+node). I wonder what is the Elm+???+???+??? equivalent.

--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ryan Rempel

unread,
Dec 3, 2015, 5:52:04 PM12/3/15
to Elm Discuss
I don't think there is a single dominant answer for the best server / database to use with an Elm front-end, but there are some options that could be mentioned.

NoRedInk has a package that helps Elm work with a Rails backend -- I haven't looked at it closely myself:


There are some Elm packages for working with FireBase -- I haven't tried them either, but they look fascinating.

http://package.elm-lang.org/packages/ThomasWeiser/elmfire-extra/latest

Gizra is doing some interesting work with Elm and a headless Drupal backend:


One kind-of-logical option is working with a Haskell server -- I suppose the Elm package web-site is one example of that approach:


Another logical option would be working with npm and (say) express as a Javascript server. I can't remember seeing an example of that, though.

Finally, if the server can send and receive JSON, Elm can be made to integrate with it. For instance, I've got an app that is Spring + Postgresql at the backend, and I'm working on porting the front-end to Elm:


I'm sure others can think of other approaches -- I've probably missed some obvious options.

Simon

unread,
Dec 4, 2015, 8:53:42 AM12/4/15
to Elm Discuss

Zac Audette

unread,
Dec 4, 2015, 11:59:14 AM12/4/15
to Elm Discuss
I plan on using django and postgresql with ELM.

Emilien Taque

unread,
Dec 4, 2015, 1:40:24 PM12/4/15
to Elm Discuss
https://twitter.com/rtfeldman/status/672545644616114176 ;-)

I'm using it with Scala & Play Framework, but watching the progress on server-side Elm.

Alan Gardner

unread,
Dec 5, 2015, 9:26:33 AM12/5/15
to Elm Discuss
I have a series of blog posts I'm writing on using Elm with Phoenix (Elixir) on the backend.


Alan

Zachary Kessin

unread,
Dec 6, 2015, 5:56:28 AM12/6/15
to elm-d...@googlegroups.com
I am using Elm with Erlang and Webmachine here

Zach


On 12/3/15 10:22 PM, Fernando Alegre wrote:
I am not a Web developer, but I need to create a web application to be used in-house. I need to deploy everything necessary to run the application, so I was looking at something really simple that is as self-contained as possible and has a gentle learning curve. Elm seems to be very good for that, but I don't see how it covers the full stack. So, my question is, what servers/databases/etc would you recommend to have a full stack web application with Elm as one of its main components?  When I google for "full stack", I get results about MEAN (mongoDB+express+angular+node). I wonder what is the Elm+???+???+??? equivalent.

--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Zachary Kessin
Your CRM Link
Skype: zachkessin
Twitter: @zkessin

Michel Rijnders

unread,
Dec 6, 2015, 8:18:57 AM12/6/15
to Elm Discuss
At TruQu we're using Erlang too, but with Cowboy instead of Webmachine.

Kamil Chmielewski

unread,
Dec 10, 2015, 2:15:19 AM12/10/15
to Elm Discuss
It's just an idea but I wonder if we can build apps in Elm targeted to ArangoDB Foxx https://www.arangodb.com/foxx/
It can do really impressive stuff combined with Mesos https://mesosphere.com/blog/2015/11/30/arangodb-benchmark-dcos/

Cheers,
Kamil

Jaroslaw Zabiello

unread,
Dec 10, 2015, 8:59:55 PM12/10/15
to Elm Discuss
Why not? You can communicate with ArangoDB through REST API. Although ArangoDB has no real time features, which can be very useful for more advanced web app. Maybe more interesting would be RethinkDB http://www.rethinkdb.com (e.g. together with Deepstream Node HTTP server which has builtin support for RethinkDB http://deepstream.io/).

I  concern about scaling of Elm. Keeping the state in the module is not the best idea. See http://www.christianalfoni.com/articles/2015_11_30_Exploring-Elm-part1 (and comments)
Reply all
Reply to author
Forward
0 new messages