tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[docs] It Would be Great to Have Minimal Example Applications for Most of the "Patterns"

Open zicklag opened this issue 5 years ago • 4 comments
trafficstars

I was just thinking that it would be great to have a minimal example application demonstrating the "Lockdown" pattern, but then I realized it would be good to have minimal demonstrations of each of the different patterns to show users what each one looks like in practice.

Obviously the ones that aren't ready yet don't need examples yet.

zicklag avatar Jul 27 '20 14:07 zicklag

I totally agree - and we've been planning on rigging the tauri init with the opportunity to choose a pattern. Its just that we've been rather busy tidying up core. That's coming!

nothingismagick avatar Jul 27 '20 15:07 nothingismagick

Sounds good. Keep up the good work! I might ( big might ) end up tackling some of this stuff. I've been really excited to get into Tauri for months and just got the chance to start using it. I'll probably be opening up issues for what I run into as I go and taking on the ones that I can.

zicklag avatar Jul 27 '20 15:07 zicklag

How it this going or is there any example project on GitHub? Did some search but couldn't find one 😢

zoubingwu avatar Sep 30 '21 08:09 zoubingwu

@zoubingwu Nothing new in that regard. The best practice atm is to just keep your allowlist as minimal as possible (only enable the stuff you actually use)

FabianLars avatar Sep 30 '21 16:09 FabianLars

Just so I get the lingo correct, is this the isolation and brownfield patterns we're talking about? I'll track it for 2.0 for now as being about that.

simonhyll avatar Sep 15 '23 20:09 simonhyll

Nope, it's something else we've removed from the docs a while ago (it was meant to be temporary until they were updated...). The dev branch still has the md files though https://github.com/tauri-apps/tauri-docs/tree/aa2192cffd03654aff7405f39e28e75691e6e9e4/docs/references/architecture/recipes (used to be called patterns not recipes)

FabianLars avatar Sep 16 '23 06:09 FabianLars

Do we want them to be "upgraded" to version 2.0 one way or another or are we throwing them out? Can I close this issue?

simonhyll avatar Sep 16 '23 15:09 simonhyll

I don't see them being reintegrated as anything close to what they were so imo we can close this issue.

FabianLars avatar Sep 16 '23 17:09 FabianLars