25 releases

0.1.1 Jun 30, 2020
0.1.0 Jun 27, 2020
0.0.24 Jun 26, 2020
0.0.3 May 31, 2020

#399 in Template engine

Download history 26/week @ 2023-05-30 1/week @ 2023-06-06 1/week @ 2023-06-13 25/week @ 2023-06-20 45/week @ 2023-06-27 2/week @ 2023-07-04 1/week @ 2023-07-25 1/week @ 2023-08-01 25/week @ 2023-08-15 25/week @ 2023-08-29 27/week @ 2023-09-05 26/week @ 2023-09-12

78 downloads per month


835 lines

Rdxl Scaffolding

Crates.IO Documentation Build Nightly Build

Prefabricated HTML components

xhtml!(<!ProgressBar numerator=12 denominator=32 unit="MB"/>)

This UI scaffolding is meant to abstract over many possible display logics. Whether it be a site redesign, or an entirely separate platform, Rdxl is meant to provide only a thin logical abstraction rather than an opinionated UI framework. The concept of "Minimal Common Abstraction" will be the unifying design concept herewithin.

A common concept in Rdxl is the "View as data, not Display" idiom. This pattern is a small extension of the MVC pattern. In any Model/View/Controller codebase there may be multiple Views, for Desktop vs Mobile for instance; however, it is desirable that the Models and Controllers need not change significantly for these separate views to be performed. To encourage this consolidation of models and controllers, Rdxl Scaffolding defines the base of each view as a simple XML document. The user visible UI is generated from these XML common components. This is helpful whether you exchange data from the server as XML or JSON, as long as these objects are serializable.

Dependency injection is supported through another crate called mxml.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in rdxl_scaffolding by you, shall be dual licensed under the MIT and Apache 2.0 license without any additional terms or conditions.


~105K SLoC