Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching from EJS a good idea? Any alternatives? #262

Open
carolinaisslaying opened this issue Feb 23, 2024 · 2 comments
Open

Switching from EJS a good idea? Any alternatives? #262

carolinaisslaying opened this issue Feb 23, 2024 · 2 comments
Assignees
Labels
help wanted Applied when a feature request/bug needs help to be implemented/fixed. low priority Issue/PR is low priority.
Milestone

Comments

@carolinaisslaying
Copy link
Member

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!

@carolinaisslaying carolinaisslaying added help wanted Applied when a feature request/bug needs help to be implemented/fixed. low priority Issue/PR is low priority. labels Feb 23, 2024
@carolinaisslaying carolinaisslaying added this to the 6.0.0 milestone Feb 23, 2024
@carolinaisslaying carolinaisslaying self-assigned this Feb 23, 2024
@TheAlienKnight
Copy link
Contributor

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

@carolinaisslaying
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Applied when a feature request/bug needs help to be implemented/fixed. low priority Issue/PR is low priority.
Projects
None yet
Development

No branches or pull requests

2 participants