diff --git a/img/challenge-accepted-lets-code-it.jpg b/img/challenge-accepted-lets-code-it.jpg new file mode 100644 index 0000000..5a44f8b --- /dev/null +++ b/img/challenge-accepted-lets-code-it.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89e90f9b86ff057b1a5ca95d050ada206d5b1f4b5d236d2801b473720d14972b +size 52858 diff --git a/rust_web.org b/rust_web.org index 5488ee5..47d460d 100644 --- a/rust_web.org +++ b/rust_web.org @@ -35,7 +35,7 @@ #+END_CENTER *** Rust, the language - - About 10 years old (2010) + - About 10 years young (2010) - Memory safe without gcing, optional ref counting - Ownership, lifetimes, traits - Variables are immutable by default and can be shadowed @@ -45,9 +45,12 @@ ** Where to get further information? *** Docs... - - [[https://doc.rust-lang.org/book/][The rust book]] (~$ rustup docs --book~), [[https://doc.rust-lang.org/rust-by-example/][Rust by example]] - - [[https://doc.rust-lang.org/std/][The Rust Standard Library]] + - [[https://doc.rust-lang.org/book/][The rust book]] (~$ rustup docs --book~) + - [[https://doc.rust-lang.org/rust-by-example/][Rust by example]] (~$ rustup docs --rust-by-example~) + - [[https://doc.rust-lang.org/std/][The Rust Standard Library]] (~$ rustup docs --std~) + - Use '~$ rustup help docs~' to get an overview - [[https://cheats.rs][cheats.rs]] + - [[https://programming-idioms.org/cheatsheet/Rust][programming-idioms.org]] - [[https://cargo.io][cargo.io]]/[[https://lib.rs][lib.rs]] *** Chat (Discord) @@ -63,7 +66,7 @@ :END: - [[https://rocket.rs][rocket]] - [[https://diesel.rs][diesel]] - - log + - log/env_logger *** Maybe :PROPERTIES: @@ -244,10 +247,23 @@ * Lets code something ** Lets create a small web app + A mini text board where everybody can post and reply. + +*** Caution + HTML is not disabled! + +** Let us start + #+BEGIN_CENTER + #+LaTeX:\includegraphics[width = 0.7\textwidth]{img/challenge-accepted-lets-code-it.jpg} + #+END_CENTER * Conclusion ** What did we do? + - Setup Rust and Diesel + - Create a project with Rocket and Diesel prerequisites + - Handle a SQLite DB with Diesel + - Create Tera templates ** What did you hopefully learn! @@ -269,7 +285,7 @@ :BEAMER_env: block :END: - File sharing a la NextCloud - - Not ready yet, work in progress... + - Not yet ready, work in progress... ** The End #+BEGIN_CENTER