lullabot, to node
@lullabot@fosstodon.org avatar

Why would you use #DDEV instead of a #Node or #Python server directly?

There are significant advantages to using a containerized setup like DDEV. We go over them in this article, and include a step-by-step guide to set it up.

@andy_blum helps introduce DDEV to a new audience that may not know about how useful it can be!

https://www.lullabot.com/articles/nodejs-development-ddev

mandrasch,
@mandrasch@social.tchncs.de avatar

@lullabot @andy_blum thanks so much for the article! I used it to get + PostgreSQL up and running (and connected it via ) 👌

matthiou, to vscode
@matthiou@mastodon.social avatar

Using and ? Latest version of Code (v1.88, April 2024) allows Custom Labels for files, meaning all your +page and +server files could now display their enclosing directory name.

VS Code > Settings > search "customLabels" > add Item with

  • **/+* as Item
  • ${dirname}/${filename}.${extname} as Value

Happy coding !

andre, to svelte
@andre@fedi.jaenis.ch avatar

Thanks to the amazing effort by @laxla we can now inspect #Anvil in proper Hebrew:

https://anvil.codeberg.page/anvil/?path=/story/organisms-loginform--plain&globals=locale:he

I broke a little with #SvelteKit idioms here insofar as I have Pages merely pass a context object into a #Svelte component.

This in turn allows me to utilise #Storybook to describe the interface in different configurations (I have tests in place as well).

It's still early days but we tackle one page at a time to build up this #Federated #Forge (F2 for short).

In case you are interested in translating, hit me up. Be warned that things might move around or get dropped. I prefer early feedback to easily correct course if needed.

pascal, to CSS
@pascal@moth.social avatar

I have blogged again, this time about animating SVG stroke properties with CSS to create fireworks. https://www.pascal.com/diary/2024-02-23-animating-svg

#svg #css #svelte #sveltekit

29decibel, to svelte
@29decibel@mastodon.social avatar

Working on Svelte is so rewarding as a long time vanilla JS developer. All the accumulated web knowledge over the years just instantly available to you, while enjoying the augmented DX.

I have to say that's the best thing happened to the web. Imagine you don't need to throw away everything in order to progress, instead just enjoy the compounding benefits of your existing web knowledge.

Thank you Svelte team!

alter_unicorn, to random
@alter_unicorn@masto.bike avatar

Je viens de recevoir l'appel que j'attendais avec impatience.
C'est non. Pas de nouveau job.

J'ai envie de chialer.

BlueCut,
@BlueCut@mastodon.social avatar

@MlleEllute

Non, on cherche un dev web senior :|

(Le 1er projet est en #Svelte, #SvelteKit, mais à partir du moment où la personne est senior, maîtrise un framework JS, et peut conseiller nos clients en termes d'architecture, c'est ok.)

Courage pour ta recherche @alter_unicorn 💪

29decibel, to webdev
@29decibel@mastodon.social avatar

SvelteKit “Form actions” is the single most underrated feature. I use it to power 95% of the mutation happens to my projects, I no longer needs that much JSON API endpoints. It's dead simple as it leverages the native web form to send data, you can easily extend it using use:enhance or your own customized handler to provide a better UX.

Oh it works without JS. What a charming thing!

https://kit.svelte.dev/docs/form-actions

marcoow, to svelte
@marcoow@mastodon.social avatar

If you're in Munich, join @paoloricciuti and myself this Friday for @mainmatter's free workshop.

We'll be building a fully functional, progressively-enhanced app throughout the day.

The workshop will be hosted by our friends at Experteer in their office in the center of Munich.

Sign up here: https://ti.to/mainmatter/intro-to-svelte-sveltekit

notwoods, to random
@notwoods@hachyderm.io avatar

has so many quality of life features now. It can handle env variables for you and restrict some to be server only, while inlining the client only variables.

https://kit.svelte.dev/docs/server-only-modules#private-environment-variables

thilo, to svelte
@thilo@maier.social avatar

Interesting conversation about 5 with many insights in this Prismic interview.

And it looks like @rich_harris uses his Verizon router as a pedestal for a flower vase:

https://www.youtube.com/watch?v=z7n17ajJpCo

geoffrich, to svelte
@geoffrich@front-end.social avatar

Just updated my Svelte-generated social image demo for 2024! It now uses 4 and 2.

The social image below was generated from a Svelte component at runtime 👇

Built on Vercel's Satori library and @nmoo's satori-html

https://sveltekit-satori.vercel.app/?seed=quiet

collinsworth, to random
@collinsworth@hachyderm.io avatar

I would genuinely be interested to see the results of an objective, data-backed study on whether TypeScript actually saves as much time as it costs.

I like it, but holy shit I waste so much time just trying to make it shut the fuck up for literally zero actual benefit.

thilo,
@thilo@maier.social avatar

@collinsworth I think the sweet spot is typing with JSDoc comments in combination with a framework that does most of the heavy type lifting (hello ).

But I admire library authors who are able to pull off types for the edgiest edge cases. But I also wonder if some of their effort ever pays off.

geoffrich, to svelte
@geoffrich@front-end.social avatar

New blog post: 2.4 added a new read method that simplifies reading assets on the server. I did a quick writeup on how it simplifies retrieving raw font data in one of my old social image demos.

https://geoffrich.net/posts/sveltekit-read/

thilo, to svelte
@thilo@maier.social avatar

TIL that @sveltejs/enhanced-img is subject to a preprocessing step to convert its src prop into an import.

As a consequence, you can't use <enhanced:img /> inside another component and pass in a src at runtime. This restriction seems to be inherited from vite-imagetools.

<enhanced:img /> is in its infancy, therefore lots of room for improvement.

https://github.com/sveltejs/kit/issues/11535

thilo, to svelte
@thilo@maier.social avatar

This post by @geoffrich makes the purpose of 's new read function much clearer:

https://geoffrich.net/posts/sveltekit-read/

serpentroots, to svelte
@serpentroots@hachyderm.io avatar

I asked a frontend friend what framework he would recommend if he was starting a new project today. He said , so I spent the afternoon walking through their online tutorial and playing around with .

I've got to say, as someone with fairly rudimentary JS skills, it was a great experience. It feels a lot closer to HTML/CSS and a lot simpler than a lot of the other JS frameworks.

ameo, to svelte
@ameo@mastodon.ameo.dev avatar

Svelte/Sveltekit are still hands down my favorite way to build web apps in 2024

It feels like they took the best patterns developed over a decade of React and built a framework with them as the core principles

spences10, to svelte

Helloooo! 👋

My name is Scott, I'm an application team lead working on a large monorepo.

I’m from the UK near London

I’m a ambassador and organise the monthly Svelte Society London events.

lekoarts, to random German

Trying out for a side-project after solely using React the past years - wow, it's a joy to use! Supercharges everything I like about Svelte already.

Putting it to a test by building a "Yearly Posters Grid" for movies/shows tracked in @trakt

mikebrondbjerg, to svelte
@mikebrondbjerg@vis.social avatar

I think it's time to update my portfolio site after 5 years of neglect.. going to use / as a bit of a learning exercise. Any recommendations for a simple clean customisable "portfolio" starter template/repo? I'd also like to add an experiments/sketches section too. Thx!

RyunoKi, to Software
@RyunoKi@layer8.space avatar

Ah, the joy!

Reviving a project that slumbered for more than half a year and first thing is bump all dependencies to their latest versions.

Then walking over each migration (write those! They're SO important!)

Afterwards ensuring everything still executes as before.

cliftonlabrum, to svelte
@cliftonlabrum@mastodon.social avatar

I had a conversation with some web devs and said I was thinking of starting a new project in SvelteKit.

They said, “Okay, fine, but you really should look at React/NextJS first.”

I looked and React/Next requires about twice as much code as SvelteKit for the same tasks.

People must understand that SvelteKit is the only framework (that I know of) that uses a compiler!

That means tons of syntactic sugar. See for yourself:

https://component-party.dev/

gka, to random
@gka@vis.social avatar

Yay, I moved my blog from Hexo to and it just took like 2 days. Finally, I have a dark mode and can use Svelte directly in my markdown files (thanks to mdsvex)! https://www.vis4.net/blog/2023/12/from-hexo-to-sveltekit/

wiverson, to svelte
@wiverson@mas.to avatar

2 is out now

https://svelte.dev/blog/sveltekit-2

I've been using Svelte & SvelteKit for ~a year now to ship & apps (w/). With and tooling it's the best UI framework I've ever used.

nixCraft, to random
@nixCraft@mastodon.social avatar

What's your favorite web application development framework, and why do you like it?

schmic,
@schmic@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • tsrsr
  • DreamBathrooms
  • Durango
  • magazineikmin
  • mdbf
  • Youngstown
  • tacticalgear
  • slotface
  • osvaldo12
  • rosin
  • thenastyranch
  • kavyap
  • PowerRangers
  • Leos
  • ngwrru68w68
  • vwfavf
  • GTA5RPClips
  • everett
  • cisconetworking
  • cubers
  • hgfsjryuu7
  • InstantRegret
  • ethstaker
  • modclub
  • tester
  • khanakhh
  • anitta
  • All magazines