davedawkins / Sutil

Lightweight front-end framework for F# / Fable. No dependencies.
https://sutil.dev
MIT License
298 stars 19 forks source link

Create repo "sutil-template-safe" #24

Open davedawkins opened 3 years ago

davedawkins commented 3 years ago

This should be a Sutil version of the SAFE template. It will need to be kept up to date with any changes.

Jlll1 commented 2 years ago

Is this something that's free to be picked up? I'd be happy to take this on.

davedawkins commented 2 years ago

Sure! Thank you! Let me know if I can help - DM me on Twitter if you like.

Jlll1 commented 2 years ago

Your DMs on Twitter seem to be disabled :P We can contact each other on email if you want, though.

My general plan for approaching this is to mirror the official SAFE Template as close as possible, so basically we will need two templates:

Do we want to include Fable.Remoting integration for the default template as well?

Oh, and we could also add a template just for a Sutil project, no backend, what do you think?

davedawkins commented 2 years ago

Your DMs on Twitter seem to be disabled :P We can contact each other on email if you want, though. Whatever works for you. Perhaps we need to be following each other to DM on Twitter.

Do we want to include Fable.Remoting integration for the default template as well? What's the alternative, if this template needs to talk to the backend? If the SAFE default app uses remoting, I'd say we should too?

Oh, and we could also add a template just for a Sutil project, no backend, what do you think? Yes, though see my other repositories "sutil-template-helloworld", "sutil-template-*".

The prolific @AngelMunoz also made a start on some of the template ideas.

Jlll1 commented 2 years ago

I finally found some time to work on this. Here's the repo: Sutil-Template. It includes Sutil-only template, and Sutil template with SAFE stack. I didn't go with the classic ToDo app, since I wanted to keep the template code to minimum, so it's easy to remove/modify, while at the same time creating a good starting point, that covers all bases. The SAFE template is very similar structurally to the official one, with the exception that we don't provide (and I think we shouldn't) a minimal version.

It's still WIP, some cleanup left to be done, but I think it's ready for people to look at it :) I'd love to hear your opinions and feedback, don't hastitate to leave any comments.

Best regards.

davedawkins commented 2 years ago

Thank you!