Compare commits

...

6 Commits

Author SHA1 Message Date
R Tyler Croy b9931a5f17
missed the tide tag on my previous post 2021-07-15 16:28:31 -07:00
R Tyler Croy 81f77675f1
Really enjoyed this podcast Stuff The British Stole 2021-07-15 16:28:14 -07:00
R Tyler Croy 1b468ddb63
Add a quick blog post highlighting Javier's blog series 2021-07-12 19:48:03 -07:00
R Tyler Croy 4d66fc99d2
Merge pull request #27 from rtyler/dependabot/bundler/addressable-2.8.0
Bump addressable from 2.7.0 to 2.8.0
2021-07-12 16:47:00 -07:00
dependabot[bot] 3a484ef9af
Bump addressable from 2.7.0 to 2.8.0
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 18:42:17 +00:00
R Tyler Croy 78142d51ad
Fix minor formatting error from trying to escape curlies 2021-07-08 09:16:43 -07:00
5 changed files with 45 additions and 3 deletions

View File

@ -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)

View File

@ -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'

View File

@ -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>
```

View File

@ -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).

6
tag/tide.md Normal file
View File

@ -0,0 +1,6 @@
---
layout: tag_page
title: "Tag: tide"
tag: tide
robots: noindex
---