Compare commits
6 Commits
9f18484405
...
b9931a5f17
Author | SHA1 | Date |
---|---|---|
R Tyler Croy | b9931a5f17 | |
R Tyler Croy | 81f77675f1 | |
R Tyler Croy | 1b468ddb63 | |
R Tyler Croy | 4d66fc99d2 | |
dependabot[bot] | 3a484ef9af | |
R Tyler Croy | 78142d51ad |
|
@ -1,7 +1,7 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.7.0)
|
||||
addressable (2.8.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
colorator (1.1.0)
|
||||
concurrent-ruby (1.1.8)
|
||||
|
|
|
@ -61,3 +61,9 @@ picks:
|
|||
enclosure:
|
||||
type: 'audio/mpeg'
|
||||
url: 'https://99percentinvisible.org/episode/tanz-tanz-revolution/download'
|
||||
- title: 'Stuff The British Stole'
|
||||
description: |
|
||||
<p>This episode of the new podcast from the Australian Broadcasting Corporation "Stuff The British Stole" was highlighted by a recent 99% Invisible episode. In Germany there have been active cultural conversations over the past couple years about colonialism and repatriation of stolen cultural artifacts, which makes this podcast both timely and interesting. The host makes the point that "if you speak English, you and your heritage was touched in some way by the British Empire", which I hadn't really considered before. I'm looking forward to more episodes!</p>
|
||||
enclosure:
|
||||
type: 'audio/mp3'
|
||||
url: 'https://abcmedia.akamaized.net/rn/podcast/2020/11/sbs_20201122.mp3'
|
||||
|
|
|
@ -37,7 +37,7 @@ This could be rendered into a list on a page via:
|
|||
```html
|
||||
<ul>{% raw %}
|
||||
{{#each data.repos}}
|
||||
<li>\{{name}}</li>
|
||||
<li>{{name}}</li>
|
||||
{{/each}}{% endraw %}
|
||||
</ul>
|
||||
```
|
||||
|
@ -47,7 +47,7 @@ Inside the `#each` block the values of the indexed object become the scope for v
|
|||
```html
|
||||
<ul>{% raw %}
|
||||
{{#each data.repos}}
|
||||
<li>\{{name}} is {{../data.mood}}</li>
|
||||
<li>{{name}} is {{../data.mood}}</li>
|
||||
{{/each}}{% endraw %}
|
||||
</ul>
|
||||
```
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
layout:
|
||||
title: Creating CRUD applications in Rust
|
||||
tags:
|
||||
- rust
|
||||
- tide
|
||||
---
|
||||
|
||||
For some recent web application projects like
|
||||
[dotdotvote](https://github.com/rtyler/dotdotvote) and
|
||||
[riverbank](https://github.com/delta-incubator/riverbank) I reached for
|
||||
[Tide](https://github.com/http-rs/tide) and built them in Rust. I have a lot of
|
||||
reasons for liking Tide, not the least of which is that it is reminiscient of
|
||||
[Sinatra](http://sinatrarb.com/) in the Ruby ecosystem. Perusing the internet
|
||||
today I noticed this really great blog series by [Javier
|
||||
Viola](https://javierviola.com/) which will walk you through the full process
|
||||
of developing a real application with Tide.
|
||||
|
||||
1. [Creating a basic CRUD app with Rust and Tide](https://javierviola.com/post/lets-create-a-basic-crud-with-rust-using-tide/)
|
||||
2. [Refactoring](https://javierviola.com/post/basic-crud-with-rust-using-tide-refactoring/)
|
||||
3. [Moving the data layer to a database](https://javierviola.com/post/03-basic-crud-with-rust-using-tide-move-to-db/)
|
||||
4. [Improving with tests](https://javierviola.com/post/04-basic-crud-with-rust-using-tide-tests-improvements/)
|
||||
5. [Adding a front-end](https://javierviola.com/post/05-basic-crud-with-rust-using-tide-front-end-with-tera/)
|
||||
6. [Final refactoring and adding CI and CD](https://javierviola.com/post/06-basic-crud-with-rust-using-tide-final-refactor-and-complete-ci-cd/)
|
||||
|
||||
Rust can be a challenging language to get started with but once you get the
|
||||
knack of it, you will likely find it's a joy to develop fast, stable, and
|
||||
compact applications. For more Rust content, I recommend following [Javier on
|
||||
Twitter](https://twitter.com/pepoviola) or subscribing to his [RSS
|
||||
feed](https://javierviola.com/index.xml).
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
layout: tag_page
|
||||
title: "Tag: tide"
|
||||
tag: tide
|
||||
robots: noindex
|
||||
---
|
Loading…
Reference in New Issue