Public demo: nothing is sent to any provider and the data resets regularly.

Sürüm geçmişi: not 31

Sürüm geçmişi üzerine kısa bir demo yazısı.

Edit

Ids and slug

Database id
34
Sqids (URL)
/posts/8D
Hashids
1R with HASHIDS_SALT
Slug
surum-gecmisi-not-31, also reachable at /blog/surum-gecmisi-not-31 (301 to the canonical URL)

PHP compatible Hashids

HashidsManager with the salt "this is my salt" encodes [1, 2, 3] as laHquq, exactly like PHP's (new Hashids('this is my salt'))->encode(1, 2, 3), so ids stay valid when an application moves from PHP to Rust.

How the page is built

// GET /posts/{post}, {post} is a Sqids id
pub async fn show(Bound(post): Bound<Encoded<Post>>) ..

// Breadcrumbs with the loaded title, plus JSON-LD in <head>
breadcrumbs.generate("post", &Params::new().with("title", &post.title))?

// The body is purified when stored and again when shown
{{ post.body|purify("blog") }}

History

Recorded by laravel-revisionable from the model's Updated events.

No changes yet. Edit the post to start its history.