I am a big fan of the Rust language for many years, and I think the time is ripe and the language, platform and framework is matured enough to start my first project.
Specifically, I'd like to use Rust to develop a CMS system with the following features:
-
A full-stack CMS system from database to business logic to web. This means the developer does not need to write any JavaScript. A goal of the web application feature is the site should be Progressive Web Application (PWA)-compliant as well.
-
In addition, the CMS should also provide RESTful APIs JSON output for data retrieving and saving from native applications, including all Apple platforms (iOS, macOS, etc.) and Android apps. That means the developer will only need to code in Swift or Kotlin for view / layout development in the respective platforms.
-
Code Reusability and Code Sharing with Apple platforms and Android apps. This means that all data structures and business logic will be shared and re-used across the entire stack: server-side, mobile applications and web application. (I did some research and saw that Rust code can indeed be compiled for iOS and Android - but have not tested.) This means the entire system is written in Rust, and developer will only need to -minimally- develop the view/layout in Swift or Kotlin, for Apple and Android platforms, respectively.
I've seen the Rocket framework and I'm quite impressed. It can serve the following needs:
- object-mapping to RDBMS/PostgreSQL - I can use Diesel
- CMS (the majority of code will be written in Rust)
- Restful APIs (for interoperability with native apps) - handled by Rocket
- HTML templating - handled by Rocket
- Web Server - handled by Rocket (?) or otherwise can front it with nginx
Does a matured CMS system based on Rust actually exist?
Otherwise, do you guys think it is worthwhile developing a open-source CMS based on Rust / Rocket / Diesel?