Closed MangelMaxime closed 7 years ago
If you have the time to put together a complete example that would be highly appreciated.
I like fsx, but I see the point of fsproj if it gets to complicated.
So I will go with the fsproj as it's will be easier to extends in the future :)
The problem is that the build /publish scripts aren't updated for fsproj, but it might work out of the box :).
On Wed, Sep 21, 2016, 13:39 Maxime Mangel notifications@github.com wrote:
So I will go with the fsproj as it's will be easier to extends in the future :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fable-compiler/fable-arch/issues/35#issuecomment-248586253, or mute the thread https://github.com/notifications/unsubscribe-auth/AAemsPRqCjhF4kvLYXW2-ghm6zVttxCBks5qsRdYgaJpZM4KCsNk .
Go with fsproj anyway, it would be nice to have a sample showing how that works as well.
Hey there,
my solution is a bit different:
SQLProvider to access the data Suave for Routing and handling static html file Subpages on the backend -> bring sqldata to json
Fable.Arch with Ajax -> call the data from the backend Fable to compile to js Implement js to static html file
I was planning to implement that to my MinimalSuaveFable project.
I'm using fsproj files.
Do you think that could be useful?
Hey there,
my solution is a bit different:
SQLProvider to access the data Suave for Routing and handling static html file Subpages on the backend -> bring sqldata to json
Fable.Arch with Ajax -> call the data from the backend Fable to compile to js Implement js to static html file
I was planning to implement that to my MinimalSuaveFable project.
I'm using fsproj files.
Do you think that could be useful?
Not sure to follow you @tforkmann
What you are speaking about here is not only about Fable.Arch but a full Server stack (back and front end).
Here for the routing we will demonstrate on Fable.Arch this will be for SPA application. So we will just show how to use Fable.Arch as an independent client and show the different case possible (show how to use ajax, nested application, routing, etc.)
Then the user can choose how he want to use Fable.Arch as there not only one way to things. You can go for SPA. You can go for Server side routing like you seems to do, etc.
OK,
thanks for your answer. Sorry for taking the decision of course.
No but there nothing wrong. :)
Your sample is good :). Here we just want to make a tutorial about Fable.Arc. If Thomas is Ok with me.
But you can make an update to MinimalSuaveFable or propose a full stack sample of course :). It's just we start to show a sample using backend etc. We will have to maintain the back and also we can't make it static to demonstration the sample on docs.
I wouldn't mind having a sample project with a suave backend as well. But as you both concluded, it is a different sample.
And as @mangelmaxime pointed out, it wouldn't be a sample in the same way as the other projects. But we could definitely add it somewhere and write some docs around it.
I will update my sample and will start writing some docs for it.
I am going back to write the sample. Just waiting to find a fix for Aether because it have a bug again in the generated JS.
I will close this issue because the docs site is now a complexe application demo.
Today Dave Thomas was asking about:
Here was my answer but it's not really refined we need to make a real sample of it.
@mastoj I am more and more thinking about making a mini website demonstration with all the possible case usage for a classic web site.
So here are the specs:
I can make the job to create the sample :). Do you see any others specs to add ?
Another questions is does the documentation generation support multiple files projects ? Because for this samples, I will need to write several files otherwise it's would not readable.
And finally, should we go for
.fsx
files or.fsproj
? :)