PyJaipur / PyJudge

Simple Programming Contest hosting software
MIT License
17 stars 29 forks source link

Use a more common template system #124

Open theSage21 opened 5 years ago

theSage21 commented 5 years ago

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

rohitjain00 commented 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.

theSage21 commented 5 years ago

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.

rohitjain00 commented 5 years ago

Is there any specific reason to use Svelte?

theSage21 commented 5 years ago
theSage21 commented 5 years ago

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