website
website copied to clipboard
Switching from EJS a good idea? Any alternatives?
Kia ora,
Just writing this on whether it is a good idea for us to stick with EJS and if not, what alternatives could we move to? I'm not entirely sure so just getting other people's feedback?
Main idea is just keeping in mind performance, since it doesn't look like the site is fairing too well at the moment. I imagine that'll be improved to an extent by the work in #261, but still thought it'd be work opening this up for discussion.
Thanks!
The main issue with EJS for a site like this is that it's a lot of server side processing, wheras using something like Vue 3, and Websockets, you can greatly reduce this issue, while ensuring the client side is smooth.
With the site using EJS right now, with as many various database queries and sorting that is done on each page load, it prevents the site from being scalable in a reasonable way
I mean that certainly makes a lot of sense. I'm pretty sure this may have been mentioned in passing a long time ago and I know Ice and Advaith, or at least Ice a few years back always questioned the decision to use EJS.
Would Vue be an appropriate alternative to EJS? Or would there be a more suitable alternative? I don't particularly have much experience with much outside of EJS so would be something I could work on playing around a bit with.