These are my links for March 7th through March 8th:
- Introducing Pencil: A Microframework Inspired By Flask For Rust — Shipeng Feng’s Writings – <blockquote>Templating
Just create the templates folder under your application root path, it just works. You can customize the template folder.<h1>
Hello {{ name }}!
</h1>fn hello_template(request: &mut Request) -> PencilResult {
let mut context = BTreeMap::new();
context.insert("name".to_string(), "template".to_string());
return request.app.render_template("hello.html", &context);
}fn main() {
// app here</blockquote> - How to pass a programming interview – Triplebyte –
- filipedeschamps/rss-feed-emitter: Super RSS News Feed aggregator written in Node.js and ES6 –