-
Notifications
You must be signed in to change notification settings - Fork 99
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
Migrate the website from Python to Rust #132
Comments
Why not use PHP for a new version of the website? |
I think if we want to change the language, it makes much more sense to switch to PHP instead of Rust. |
why not? |
5 cents from outside: Why not a static generator, like Nuxt? |
I'm personally not interested in using a Node-based technology but Nuxt could be a good choice. |
Although Nuxt is node-based, it generates a HTML/JS/CSS static assets to be hosted on any platform (like the Netlify Free Tier, for example). I really don't know how Rust based website can be hosted or what it needs to run, but I'm not against it at all, neither know how much time/work did you put in that branch. In parallel, I'm creating a new proposal for UI so you can do this update and we go with the UI update at the same time. But both decisions are for the project team (that I'm not part of). |
To deploy a Rust website, you just need to use Cargo command (Cargo is the Rust package manager) and some Nginx configurations you can also use Docker it's pretty easy. I'm ok with the UI update I think it's a good idea to redesign it! Your right, let the team decide |
This is true if you are comparing to PHP 5, but not so much for PHP 7 and PHP 8. I think the performance and safety of the code that you write are more relevant.
If we decide to move away from Python, rewriting in PHP makes more sense, because, besides the website, everything we build is written mainly in PHP. So using PHP will reduce the friction of using different languages, easing the contributions. |
I think personally Nuxt is the least desirable option that was presented; continuing with Python, switching to PHP, and switching to Rust are roughly in my order of preference — but they're all pretty good options. Having people willing to do the work for Rust makes it somewhat desirable, but I like how the Django backend we have now handles a lot of the harder work for us. |
The topic caught my interest. When the works starts please pull me in. sounds interesting. |
I think we should reset the subject, two years later Rust is getting everywhere and performance+consumption is perfect. Who votes in favor of dropping the Python website for the same website in Rust? cc @phpmyadmin/developers |
+1 👍 Probably I am early to vote for this. But it will be a good move to Rust. Learning curve is expected. I think its Rocket Framework https://rocket.rs/ |
I'm currently working on a new version of the phpMyAdmin website with @williamdes.
Python will be replaced by Rust using Rocket framework but all the UI and HTML will stay the same.
I will fix the issue #131 afterwards, you can assign it to me.
This will fix all the current vulnerability issue with the current Django backend
The text was updated successfully, but these errors were encountered: