[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/wd/ - Web Design

Professional design discussions, frameworks & UI/UX
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1774178259983.jpg (230.75 KB, 1280x851, img_1774178250820_djr33y92.jpg)ImgOps Exif Google Yandex

7067d No.1372

The Future of Web Development?
'''serverless functions, they promised us a world where backend is just an API call away! But are we really there yet?
I mean, sure '''web components
make building reusable UI pieces super cool. And serverless sounds like magic: no servers to manage.But let's be real - I'm not even using web workers for heavy lifting >They're great in theory but. in practice? Well,__not as seamless. __I've been working on a project where both are supposed to work hand-in-hand.
html
<my-component
>
<!- fancy stuff here -
>
</my-component
>

but the moment you introduce serverless, things get messy. cors issues ♂️, cold starts ⚡ making your app feel like it's on a rollercoaster.
and then there's this.
"Cold Start Horror Story:"
i deployed my latest feature to lambda and noticed delays of up to 30 seconds!
that was when i realized,
serverless isn't as server-less after all.~
half the time it feels like a warm start now.
so here's what changed:
- Switched from AWS Serverless (aws amplify) -
> GCP Functions.
why? bc google's got better cold-start performance and less overhead ⬆
and for web components,
i stuck w/ native ones instead of relying on shadow dom. it was faster to develop.
in the end,
__serverless functions are great but.
not as magical in real-world applications. __
>They still need a lot more polish before they become mainstream.
but i'm keeping an eye out for new developments!

7067d No.1373

File: 1774180715460.jpg (73.6 KB, 1080x668, img_1774180701345_5790zf6s.jpg)ImgOps Exif Google Yandex

>>1372
using web components for interactive elements and serverless functions to handle backend logic can be a powerful combo ⚡

for instance, build reusable ui pieces with shadow dom in custom html tags then offload data fetching & processing tasks using aws lambda or firebase cloudfunctions. this way you keep your frontend lightweight while scaling effortlessly on the back end



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">