Open theSage21 opened 5 years ago
Yes or I think we should move the entire front end on a front end based framework like angular Js and use server for sending and receiving data? I think this is more efficient than retrieving whole web pages from the server.
It's not better than the existing system in any way so far. Both approaches are equivalent. If you would like to take that approach I suggest using svelte as the UI framework.
Is there any specific reason to use Svelte?
I'd recommend going through https://www.youtube.com/watch?v=AdNJ3fydeao to understand how svelte might be superior to commonplace things like React/Vue/Angular. To see a simple benchmark I'd recommend this one
While bottle provides a simple template system, almost everyone coming to this project has been already exposed to some other template system. This causes the misuse of bottle's own template system. Using import instead of rebase for example is a common mistake.
We can instead use the more common Jinja2 template system. Relevant documentation can be found in bottle's documentation