r/webdev

▲ 1 r/webdev

Is HTMX that good?

This. I know is been like.. two years, but i want to start building landing pages as a freelancer and then move to something bigger.

HMTX caught my eye because i think it's great that someone could be able to build a fully interactive site without Js. Don't get me wrong, i use React Native in a daily basis, and i know Astro is pretty powerful too, but i don't want to learn something too complicated just yet, so do you think HMTX is a good starting point? Or should i ditch the idea and stick to other frontend solutions like React, Svelte or Astro?

reddit.com
u/vaquishaProdigy — 3 hours ago
▲ 2 r/webdev

Static site client now needs members area

Hey all, I recently built a website for a local charitable youth group. At the time, when we did a requirements analysis, the site was going to be semi frequently updated by the leaders but all content would be publicly available. We did identlfy cases where leaders would need to send data to members and parents (eg changes to pickup times / locations etc) only but their current solution was to use a private facebook group so it was classed as out of scope. The key factor identified was minimising the ongoing cost if the site.

After this, I built them a static site using Astro, hosted on github pages and with decap cms as their content management system.

Since release, the UK government have announced their ill concieved social media ban which has broken this workflow. Now they need a way of disceminating infomation to a limited group without the general public having access that doesnt involve social media. Im stuck between a rock and a hard place as ethier i need to rearchitect the site to have a proper backend, database and, auth flow and properly host it somewhere or i need to shoehorn some kind of members area into the site as is.

reddit.com
u/Lots-o-bots — 7 hours ago
▲ 42 r/webdev

Getting back into webdev after 15 year hiatus

I used to do some web dev work, but 15 years ago I went to grad school for computer graphics and haven't done web work since. Recently though I quit my 9-5 and decided to I wanted to get back into it.

Holy moly how things have changed. Like, it's not even the same galaxy anymore. Node? AWS? SCSS? What happened to Bootstrap and jQuery??

It took me almost 6 months to build everything, learning as I went. Claude Code was invaluable in learning about all the new tools and concepts of web dev, but required a lot of direction and review to avoid having huge tangled mess of spaghetti code. I wouldn't trust to to build anything fully automatically any time soon.

Anyway, the web app is a utility that lets you create little animated meme videos by rigging and applying motion to 2D characters. Used it to make the image above.

u/DoodleMate — 12 hours ago
▲ 44 r/webdev

100+ year old websites

Everything on the web is so ephemeral, websites die all the time. How would you create a website to survive 100+ years? Even after you die.

I was thinking about a pure static website, vanilla JS + HTML + CSS. No external calls. And hosting on a free host like github pages, cloudflare pages, gitlab and vercel pages. maybe add it to 3-4 free hosts. No custom domain. And asking for the Web Archive to archive the pages.

Any other ideas for a very long-lasting website?

reddit.com
u/scaredpitoco — 13 hours ago
▲ 5 r/webdev

GSAP, Motion or Anime.js – what's your choice? Especially on mobile

So I'm currently building a new landing page for my agency and go a little heavier on animations, specifically nuanced parallax and nice text reveals.

Everything looks smooth like butter on my mac, but on mobile I noticed a bit of a lower framerate, even on a very simple line-reveal effect on a text (I completely isolated it).

So I started to look into other frameworks, since I am currently using GSAP mostly and noticed, that anime.js especially really made a lot of progress and looks really polished now with a lot of native functionality.

Currently testing the 3 frameworks against each other and anime.js seems to perform the best right now.

I would love to get some more opinions on these 3 frameworks, or even others if there are any good alternatives. Especially for the more basic stuff, like parallax, text reveals etc.

Currently feel like animejs is the most lightweight framework of these three.

https://streamable.com/n71d93

For reference, I'm talking about this kind of stuff

u/TheBanq — 10 hours ago
▲ 10 r/webdev

What are full stack interviews like these days?

So I was recently laid off lol and I'm feeling a bit lost in regards to how I should be prepping for interviews now that we're in this age of AI. I have 5 YOE at 2 companies and my prior experience interviewing and getting an offer looked like the following:

2021: Entry level front end role right out of college at a large consulting company. Technical round with Leetcode medium type questions and behavioral vibe check round that felt way more important.

2023: Mid level full stack role with a smaller company. Single round interview with very sparse technical discussion and zero leetcode type anything, and seemed to be more about my prior experience combined with how I made a mock project using the same stack as their site. Oh yeah and also, I feel like the whole thing was a vibe check and that none of that other stuff would've mattered if I didn't pass that.

My dilemma now though, is that I feel so ingrained into the specific work that I was doing on a specific stack, in specific ways, for an app for a specific industry, etc. that I feel so disconnected from the more generic type of skills that employers are looking for when interviewing. I know that there's probably some imposter syndrome going on here, and I really do believe that I can thrive in these roles, adapt to any new codebases/stacks, and figure out solutions for whatever could be thrown at me, but I feel like that really only matters after I've actually accepted an offer.

So really I'm just wanting to hear from people here about their experiences in say the past 2 years or so, since AI coding has been in full swing. A part of me wants to ignore AI entirely, but I honestly think it played a role in my recent layoff so I feel like I need to be leveraging it to show employers that it can't replace me. And at this point I think we're way past the point of AI assistants writing sloppy/unmaintainable code, at least when they're being used by an already skilled and experienced developer.

Are fundamentals even that important these days? Should I focus on overall system design instead of building apps and their features from scratch? What exactly makes a web dev stand out these days?

My current idea that I'm working on for an interview I have coming up is learning the ins and outs about the company app I would be working on, and creating a mock project somewhat simulating it, except with improved performance, workflows, UI, etc. as well as new features that I think could bring business value or improve the user experience.

reddit.com
u/DawsonJBailey — 13 hours ago
▲ 643 r/webdev

The AI buildout needs $650B a year to break even. It makes $75B. Someone is paying the difference and it's us

All I wanted was to understand why my next MacBook is going to cost 20% more. Apple raising prices mid-year, with no new product, had never happened before. Their explanation fits in one sentence: component costs are rising too fast, we've been absorbing it, we can't anymore.

The culprit is memory. RAM is up 90 to 95% year over year according to TrendForce. Samsung, SK Hynix and Micron shifted their production to AI data centers because it pays way more, and everyone else is fighting over scraps. Sony raised the PS5 by 100 bucks in March, Nintendo followed with the Switch 2, Dell and HP same story. So before anyone even knows if these data centers will ever be profitable, the bill already landed on us.

The thing that really got me was a JP Morgan report. For the AI investments planned through 2030 to return even 10%, you'd need around 650 billion dollars in revenue per year. Per year, in perpetuity. Their own comparison: 35 dollars a month charged to every iPhone owner on the planet. We're nowhere near that. Meanwhile hyperscaler AI capex went from 33% of their operating cash flow in 2023 to roughly 93% this year. They're putting almost everything they earn back on the table.

The parallel everyone brings up is fiber optics in 2000, and honestly it holds. 500 billion invested because internet traffic was obviously going to explode. It did explode. Just not fast enough, most of the fiber laid was sitting unused underground in 2002, and the telecom crash wiped out something like 2 trillion in market value. The tech was the right one. The companies that built it died anyway.

Now I'm not playing doomsday prophet here. Nvidia actually makes money, which the telecoms back then did not, and current multiples are nothing like 1999. Nobody is betting on whether AI changes the world, that part is settled. The bet is on the price being paid to build it.

What bothers me more is the other scenario, the one where the bubble doesn't pop. To justify these valuations someone has to pay eventually, so token prices go up. And the nearly free AI we're all using right now, nothing says that lasts.

reddit.com
u/didiTonic — 21 hours ago
▲ 28 r/webdev

what are some must read RFCs for webdev

as the question says, are there any must read RFCs for WebDev concepts?

I've recently started reading RFCs instead of relying only on documentation and blog posts, and I've found them surprisingly approachable once you get past the formal language.

So far, I've looked at RFC 6455 (WebSocket),RFC 9110 (HTTP Semantics)

I'm interested in understanding how the web actually works under the hood rather than just how frameworks abstract everything away.

Which RFCs do you think every web developer should read, and why?

I'm especially looking for RFCs related to:

  • HTTP
  • Caching
  • Cookies
  • Authentication
  • TLS/HTTPS
  • WebSockets
  • HTTP/2 and HTTP/3
  • URI/URL standards
  • Content negotiation
  • Compression
  • Any RFC that fundamentally changed how the web works

I hope my post doesn't get removed ugh god

reddit.com
u/Andro_senpai107 — 14 hours ago
▲ 41 r/webdev

Need help to determine If I'm asking something impossible from the devs working on my web page.

First of all, I apologize if this is not something I should be posting here, mods if it's not permitted feel free to delete this post. Second, I ask for forgiveness if my English is not the best, not my first language.

I hired a group of devs to work on a simple e-commerce for the family's hardware store. Something simple that could allow us to gather clients over the web in and outside our state. Everything seemed to be fine after initial talks where we explained what we needed, basically a simple web where we could display our products and have a simple way for clients to generate orders we could then process in the store. So far so good, until they told us we had to manually modify the pictures for each item in Photoshop to be 500x500 and to make them 1:1, Before uploading them. Something I found absurd since most modern pages can take most jpgs, pngs, resize them, change them into whatever aspect ratio needed and convert them to webp. The dev team went on the defensive on this, saying it was hard to implement and that this was outside of the budget.

For more information they told me they are making the page on NestJS for the backend and Next.js for the front end.

Am I being unreasonable?

reddit.com
u/Izayabrsrk — 1 day ago
▲ 2 r/webdev

Mixing a Home Server with a Small VPS

My main setup still runs from home, but I recently started using a small VPS for a few services that I want available all the time.
The home server handles things like storage, backups, and testing, while the VPS takes care of anything that benefits from better uptime.
So far, having both has worked out better than keeping everything in one place.
Anyone else running a similar setup?

reddit.com
u/Upper-Loquat-8022 — 17 hours ago
▲ 23 r/webdev+1 crossposts

How is a Webhook Different From a PUSH API?

I'm an Implementation Manager and I'm looking for clarification regarding the difference between a webhook and a PUSH API. Is "webhook" just just another name for a PUSH API, or are they two different things? If a webhook is different from a PUSH API, how are they different and why would you decide to use one of or the other?

reddit.com
u/LurkingandPosting — 1 day ago
▲ 181 r/webdev

Do you actually like your dev job?

I graduated this winter and i got a full time position from my previous student job.

I have to be honest, its fking boring...

Only time i am having fun programming is when i am working on my own small projects, not at my job...

reddit.com
u/eeeeeehhhhhhh — 1 day ago
▲ 30 r/webdev

I am in a tough spot and i don't see any out, need help with career

To give some background to myself I'm a full stack developer with a bachelor's degree in CS and 5 years of experience freelancing 2 of which is kinda just doing html/css websites for free/very cheap so I'm not sure if those even count, 3 years I've ever worked on good projects with clients paying very well at least for where I live, in a third world country getting 20$/hr or more is really good, I have never had criticism from clients, I've always over delivered and all in all everyone has been very happy with what they got.

Now you might be wondering where this tough spot is ?

To start off my skills have become worse in the past 2 years as I've become over reliant on AI, I still like to believe i use AI carefully and review the output but I've gotten to the point where I probably couldn't pass an interview if i got one.

I got scammed around 13k$ total last year, I have been without clients for the past year (except small maintenance work from an old client) I do get emails or offers for work and it always seems like it's going well until they just randomly ghost me even though we agreed on the pricing, the scope and everything.

I have tried applying to over 500 jobs on LinkedIn some of which are intern or entry level, I don't have a high ego when it comes to experience and with how much actual dev confidence I've lost due to AI i wouldn't mind starting over from scratch. But even with this I've gotten 0 interviews let alone job offers, I'm in a third world country which really limits my movement because we have one of the worst passports in the world.

Now with all this rant what the f*ck am I even supposed to do? I'd like to add that I have severe depression and Undiagnosed ADHD(due to mental health not being taken seriously here) so even the motivation or strength to fight an uphill battle is inexistent right now.

I'm willing to take jobs even at less than half the pay if it means I get to have experience, I've started to lower my freelance pricing even though I truly hate that because people doing it is the reason the freelance market is in a shit state.

I just need advice or help of any sort.

reddit.com
u/Lee-chaolan — 1 day ago
▲ 1 r/webdev

Need Help Estimating Development Time

I'm looking for help estimating the development time for a project. A friend has asked me to build it, and before committing I'd like to get an estimate from other developers.

Based on the project description, approximately how many development hours do you think it would take?

The project is a field operations platform with an admin dashboard and a mobile web interface for field workers. It includes scheduling, Google Maps integration, GPS and timestamp capture, photo uploads, role-based access control, reporting, automated emails, in total it is around 30 pages.

reddit.com
u/SG92lol — 1 day ago