#html #scaffolding #template

nightly bin+lib rdxl_scaffolding

Rdxl Prefabricated HTML Components

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

#357 in Template engine

37 downloads per month

MIT/Apache

1.5MB
828 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.

Contribution

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.

Dependencies

~6MB
~110K SLoC