Open PeterNorlindh opened 4 years ago
@PeterNorlindh thanks - what do you have in mind? Ajax requests?
Doesn't Vue provide more modern ways to do Ajax style requests, whithout page reloads etc?
@essenciary - Yes, it would be great to have a few complete examples to draw from. End-to-end examples where one can open the "Welcome to Genie" default page, fill out a form, submit, store/process the data on the back-end and render a response on the page (I'm trying to use Fetch for this). This would be great for someone like me, as would an authentication example/template :)
My use-case. I'm a mechanical engineer by training, I am able to develop useful engineering algorithms in Julia and now I want to make my work available as a SaaS. However, I know zero about web-development. A set of end-to-end examples and templates would be immensely useful to me - and perhaps to others too, given how Julia lends itself to applied engineering applications (attracting users with limited experience in web development). The interesting part of my work takes place on the back-end, while the front-end is basically just a form and a report (html) generated by the back-end.
Please let me know if you want more specifics :)
@mkschulze Vue itself does not, but there are plugins (like vue-axios).
@PeterNorlindh Definitely better docs for Genie and guides for common workflows like these are planned. I can't make any forecasts as to when as there is so much work to be done. It would be really helpful if people would also contribute tutorials, if for instance you now figured out how to do it and would like to share.
For similar use cases we're now developing Stipple: https://github.com/GenieFramework/Stipple.jl a project for higher level, no web development, pure Julia web apps.
@essenciary , I'd be happy to do that and see if I can contribute anything of value. Perhaps my lack of expertise can even be an asset here.
Btw, it seems that Firefox has contributed to my struggles. I thought I had messed things up, but now I'm starting to think that Firefox simply doesn't like the local host. Chromium works better for me.
I'm a beginner at web development. A couple of examples of fetch requests (in the documentation and in the default app) would have saved me a lot of time and effort. Also, this would be a good way to show how powerful the Genie framework is.