tmattio / spin

OCaml project generator.
ISC License
297 stars 15 forks source link

Web template #82

Closed tmattio closed 3 years ago

tmattio commented 4 years ago

This adds a new web template.

It's very much a work in progress, but I would like to gather feedback early on. I'm especially interested in:

Is there too much, not enough? To create this template, I've extracted the directory structure from a large project I am working on, which itself is heavily inspired by Elixir Phoenix's directory structure. I've removed everything that was not essential from the template, but it might not be the right approach.

As explained above, the directory structure is, by extension, based on Phoenix's directory structure. I have worked on several large projects with it and found that it scales very well. But I'd like to hear alternatives that might be more suitable for OCaml.

TODO

citizen428 commented 4 years ago

FWIW, I like this, especially basing it on Phoenix's directory structure, but I'm not sure if there are more idiomatic alternatives. And as much as I like Tailwind myself I agree with making it optional 👍

tmattio commented 3 years ago

Closing this, Spin most likely won't have an embedded web template. There is https://github.com/tmattio/spin-dream/ for Dream applications.