Jesse Skinner :javascript: on Nostr: Migrating from CodeIgniter #PHP to #SvelteKit is so easy and pleasant. By building ...
Migrating from CodeIgniter #PHP to #SvelteKit is so easy and pleasant.
By building the site 15 years ago, and modernizing it today, I skipped over the awkward middle stage of making an API & fetching data to render it in the browser.
SvelteKit's form actions let you build a fast site that even works without #JavaScript, which means I'm going from server-side rendering with links & forms, to server-side rendering with links & forms. Except now I have the power of #Svelte to make it way nicer!
Published at
2023-10-19 01:02:11Event JSON
{
"id": "267c892eda6d1163e0b892f02dc6a7a4a6bbdac1846d756bc51f65283b5c3a53",
"pubkey": "ec950969771e5eb6e15d6bc17a97111aeaeb1088823b745be222344f1825f630",
"created_at": 1697677331,
"kind": 1,
"tags": [
[
"t",
"php"
],
[
"t",
"sveltekit"
],
[
"t",
"javascript"
],
[
"t",
"svelte"
],
[
"proxy",
"https://toot.cafe/users/JesseSkinner/statuses/111258981628134243",
"activitypub"
]
],
"content": "Migrating from CodeIgniter #PHP to #SvelteKit is so easy and pleasant.\n\nBy building the site 15 years ago, and modernizing it today, I skipped over the awkward middle stage of making an API \u0026 fetching data to render it in the browser.\n\nSvelteKit's form actions let you build a fast site that even works without #JavaScript, which means I'm going from server-side rendering with links \u0026 forms, to server-side rendering with links \u0026 forms. Except now I have the power of #Svelte to make it way nicer!",
"sig": "398bda877909ae563700dc402cde91788c795a4e15da5ecabe0fa04c7f214b578c5d051abf8e3a5b4ece5c183dcc5f6dc44677995679cfea364f109380db4019"
}