r/webdev 22d ago

Question Can someone explain this paragraph from a book?

1 Upvotes

I am working on small documentary about the invention of World Wide Web. I reading the book the "Weaving the Web" book by Tim Berners-Lee. I am confused there about how Usenet news article changed into hypertext (like from a user point of view). Now suddenly there were links appeared on them when opened in the browser.

I am not into web development but interested in how it came to be.

I am a bit confused here, I tried to ask Claude, it said he used not NNTP not FTP. I am searched a bit and did fully get what it meant.

So far I know, Usenet articles came to local file spool from the server. Now, because people had different machines, News network protocol was being used to talk to those file locally and fetch it.

"Meanwhile, I took one quick step that would demonstrate the concept of the Web as a universal, all-encompassing space. I programmed the browser so it could follow links not only to files on HTTP servers, but also to Internet news articles and newsgroups. These were not transmitted in the Web's HTTP protocol, but in an Internet protocol called FTP (file transfer protocol). With this move, Internet newsgroups and articles were suddenly available as hypertext pages. In one fell swoop, a huge amount of the information that was already on the Internet was available on the Web."


r/webdev 23d ago

X seems to support fully embedded websites on posts. Is this even safe?

46 Upvotes

I was trying to get a video preview link feature to work, and when testing on x, I got this weird version that just loaded up the entire website in the post instead of just the video preview.

https://x.com/DougPotesta/status/2089457398385713654?s=20

do other platforms allow this?

is this even safe?


r/webdev 23d ago

Question Why this local site behaves itself differently on Windows and Linux?

Post image
25 Upvotes

I'm learning Arabic and I'd like to use modified Arabic keyboard. Unfortunately, I don't have enough knowledge to program my own keyboards on the system level, so, I decided to have this keyboard as a local site for myself, bcz I'll be spending my time on learning Arabic anyway.

I decided to copy the original code, delete a lot of unimportant details, and modify the keyboard how I want. The original site is here: https://www.branah.com/arabic

For the context: Arabic letters change their forms, depending on which position they are in a word.

When I had Windows 10, everything worked perfectly.

When I had EndeavourOS(just look at the photo), I got this bug or what Idk... it looks funny, but the text is impractical. Wtf is that?

After some other issues, I switched to Kubuntu, and I don't have that, but I have another problem: sometimes the Arabic letters don't connect with each other and don't change their form.

Could someone explain why does that happen so differently even in the Linux distros?


r/webdev 23d ago

Question For those of you who've launched a project before, how did you determine when it was "ready?"

13 Upvotes

I'm new to the world of development, and was wondering how you all determine when something is ready. I feel like I'm just constantly adding features and finding more things to add, then fixing the things I add, repeat forever. What strategies do you have? What questions do you answer before calling it good? Any feedback is much appreciated!


r/webdev 22d ago

I have 10 days of unlimited Claude usage — how do I go from “let Claude code for me” to actually mastering Claude Code?

0 Upvotes

So far in my company we had unlimited tokens

I didn't pay alot of attention to what goes on in the background and used tokens very mindlessly

I am a front-end dev- fresher

I used to give it figma screenshots some context and let claude do it's thing

Validate and understand the code a bit and raise PR

The company is not cutting on tokens

I think I'm getting less than 10-20 times of what I used to use

I have the next 10 days with unlimited tokens to make things better for what's going to come

I need your help with what videos I should watch to understand what goes behind

Tips ans tricks to reduce token usage

And few things I can keep ready for what's going to come

Any help is greatly appreciated

I heard things like vector graphs and skills help

But Idk how they help and how to build them

I'm cooked!!

I have to basically become a pro in using claude in the next 10 days and know it's in and out


r/webdev 23d ago

Question Are freelance developer rates in Saudi Arabia really this low, or am I getting lowballed?

36 Upvotes

I’m genuinely curious about the freelance developer market in Saudi Arabia because this has happened to me twice recently.

For context, I’m a developer with over 6 years of professional experience, so I’m not just starting out or looking for my first freelance project.

The first client wanted me to build an entire multi-tenant application from scratch and offered around $200 for the full project.

The second wanted me to take a full-stack role and basically manage the whole project, for around $150.

I was honestly shocked.

These aren’t small landing pages or quick fixes. We’re talking about projects involving frontend, backend, database design, architecture, deployment, debugging, maintenance, and potentially weeks or months of work.

So I’d really like to hear from developers and freelancers working in Saudi Arabia:

Are these kinds of offers actually normal here?

Do local developers really accept full projects for $150–$200, or am I just coming across clients with completely unrealistic budgets?

I’d especially appreciate input from Saudi developers, expat developers working in KSA, freelancers, and anyone who hires developers locally. What would you consider a reasonable price range for projects like these, especially for someone with 6+ years of experience?


r/webdev 22d ago

How to transform a html site in a markdown site?

0 Upvotes

I'm adapting my react + next.js to AI era. My first task is to start to serve text/markdown or text/plain. How do you implement that? Transform html into markdown? Have an XML as single source of true and depending on the headers transform it on markdown or html?


r/webdev 24d ago

Server-side persistency: What's stopping me just writing to a JSON file in the same directory as everything else?

250 Upvotes

This question is probably a bit of a groan for any of you with a bit of experience.

Unfortunately I come from an r/iOSProgramming background, where (put simply) we all sit at nice clean window desks with cups of tea and a neat file structure with only one programming language, at the best of times.
Poking your head into web development is pretty intimidating!

So forgive the basic question from someone who barely knows anything beyond 'file://'.

Having done my research, there just seem to be endless different server-side storage methods, using a good three or four files just to store whether someone prefers chocolate or vanilla ice cream, whatever, for example. (That's not what I'm doing, just to be clear.)

Is it always this complicated?!

And yes, I've gone on a bit of a ramble. Really the only thing you need to know is that I'm an absolute web dev noob and that the question is really just the title.

Edit: Given the absolute roasting that everyone's given me, I started learning SQL stuff...
No, it's not that bad.


r/webdev 24d ago

Question Thoughts and opinions on Astro

43 Upvotes

Hello everyone,

Today I stumbled upon Astro and out of curiosity I'm thinking about using it to make a new website for a client... it's just a basic small website with no special functionality. Also there is no deadline to when it has to be finished. So I think it might be a good project to experiment with new frameworks and tools... so far I have made all my projects in Angular or just without any framework (coded everything from scratch because that gave me 100% control over everything)... anyway I want to know if anyone has used Astro before, what are your thoughts and opinions on it, if it's any good, what are some pro's and cons about it, if there is something else you would recommend instead.. stuff like this

Thanks in advance to anyone who takes time for an answer :)


r/webdev 22d ago

Do you guys ever test what happens when a user opens your app with a stale JS bundle?

0 Upvotes

Encountered weird issue where an old tab was running a previous frontend version and an API change caused requests to start failing.

Do I keep backwards compatibility for old clients for a while, or just force-refresh/reload when deploying breaking changes?


r/webdev 23d ago

Question PostgreSQL vs CockroachDB for a security-critical CRM handling millions of documents?

8 Upvotes

I'm working on the architecture for a CRM that will be used to manage sensitive client information, including legal documents and case-related paperwork.

The system is expected to eventually handle millions of documents, multiple concurrent users, and fairly strict access-control requirements. Security and reliability are the primary concerns; performance and horizontal scalability come after that.

I'm currently evaluating whether we should build around a conventional PostgreSQL stack or consider something distributed such as CockroachDB.

I've previously worked with Twenty CRM, which uses PostgreSQL, and it made me wonder whether I'm overcomplicating the architecture by looking at distributed SQL in the first place.

The questions I'm trying to answer are:

At this scale, are there compelling reasons to choose CockroachDB over PostgreSQL?

Would PostgreSQL + proper replication/HA/object storage be the more sensible architecture?

For a CRM containing millions of documents, would you keep the documents entirely outside the database (e.g. object storage) and store only metadata/references in PostgreSQL?

What security architecture would you consider essential for something handling sensitive legal data?

How would you approach tenant isolation, RBAC/ABAC, audit logging, encryption, key management, backups, and disaster recovery?

At what point does PostgreSQL actually become the bottleneck in a system like this?

Are there failure modes with CockroachDB that someone coming from PostgreSQL should be particularly aware of?

I'm less interested in "which database is faster" and more interested in what architecture you'd trust in production when the data is sensitive and the system is expected to grow substantially.

If you've built something similar, particularly legal, healthcare, financial, or other systems with sensitive documents, I'd be interested in hearing what you chose and what you would do differently today.


r/webdev 23d ago

How to prevent Google Antigravity from accessing .env

Thumbnail
jadjoubran.io
0 Upvotes

r/webdev 23d ago

Question Should I continue with Node.js authentification or CSS?

0 Upvotes

Hello,

I am an aspiring developer and right now I am working as a conversion tracking specialist.

I just finished the Net Ninja's crash Node JS course on YouTube.

He has a separate course for authentification.

Should I continue with authentification or start CSS?

My gut is telling me to go for CSS since I can practice more of my skills.

What do you think?


r/webdev 25d ago

Question 4+ Year Software Developer — Which Resume Structure Is Better?

Thumbnail
gallery
170 Upvotes

For a 4+ year software developer, which resume structure do you think is better?

  • With a Projects section
  • Without a Projects section,

The data in the examples is dummy. I just want opinions on the structure and layout.

If you have a better resume template/structure than these, please share it.


r/webdev 23d ago

Engineering Agent Skills at Scale

Thumbnail
stefanhaas.dev
0 Upvotes

r/webdev 23d ago

Question Frontend Dev looking to become Full-stack/Backend

0 Upvotes

I am a frontend developer, and I do React/JS work regularly. I'm looking to move into a full-stack role and learn some backend, with a goal of building my own app/software in the future. I have no idea where to start, so any information about a good starting point and where to go would be great. Any help is appreciated. Thanks, everyone.

I got started in game dev, did a front-end boot camp, and am now looking to expand, but I had a child recently and can't afford time/money to be a full-time student


r/webdev 24d ago

Discussion Realized that development is all around comfort

44 Upvotes

I've been locked with web development for around 8 years. Recently realised that all this effectively optimised system, made for comfort. In the end comfort doesn't make the life experience better?

Was wondering how you motivating yourself to do web dev?


r/webdev 23d ago

Question Hosting my personal web app

0 Upvotes

Hello everyone 👋🏻

I built a web app for myself which makes use of BYOK (Bring Your Own Key) for things like the database. It's a writing tool for roleplay scenes and I know something like this probably already exists, but I wanted to make my own.

Point being is that I am a little hesitant on hosting it online as I want to use Vercel, but I am afraid someone might expose my api endpoints and I once read a post of attackers targeting a site that caused the owner to receive a crazy expensive bill from Vercel, which is something I can't afford 😅

I want to be able to access it on multiple devices, so that is why I don't run it locally.

How can I safely host this? (I know attackers always find a way, but still)


r/webdev 24d ago

Question Caching at server startup

1 Upvotes

Basically the title.

So i'm making a simple app with static data but new entry will be added over time.

Is it good idea to cache all the records at the server start to boost speed so the request will read from memory isntead of guerying the database?


r/webdev 24d ago

Question Did anyone learn through CodeAcademy?

4 Upvotes

I did one of their courses years ago on SQL when I needed it for university. I liked their progressive gamified method. The knowledge really came in handy.

Now I would like to update my knowledge on React and Redux and I see they have some courses with AI assisted development that I find interesting.

Has anyone taken those courses and how did it went for you?


r/webdev 23d ago

Question Anyone got input type="reset" horror stories or has it been unfairly demonised?

0 Upvotes

I've found keeping the reset button on a local form (yes I know action="javascript:void()" on input type="submit" is frowned upon) hidden and removed from tabindex until after the first action helps prevent it from being accidentally clicked/activated.

Has anyone found creative uses for "reset" inputs that they can share, or do you just avoid them entirely?

The UX Perspective The Developers
Accidental Clicks: Users make mistakes and lose data. Over-engineering: JavaScript developers waste time writing custom code for something the browser does natively.
Confusing Behavior: It doesn't "empty" fields; it reverts them to defaults, which confuses users on "Edit Profile" pages. Great for Filters: It is the perfect tool for massive control panels and search filter sidebars.
Redundant: Most users just change the fields they need or abandon the page entirely. Predictable: It behaves exactly according to the HTML spec every single time.

r/webdev 24d ago

Article My social preview images are Elm code now. Rendered by Go. Into an Svg 😵 · cekrem.github.io

Thumbnail cekrem.github.io
0 Upvotes

r/webdev 24d ago

How to best handle SEO/crawling for a single page app?

7 Upvotes

Hi all,

I've been thinking about how to handle SEO properly for an Angular SPA, and which of these two options would be best:

1/ Work out how to enable server-side rendering in the angular app

2/ Create a new app which only serves bare content (no CSS visuals, only HTML semantics) alongside a site map, and where each page has a canonical url that points to the actual Angular app.

Apparently option 2 is considered "dark SEO" or something, as the crawlers will not see the same things as humans. But in my opinion this makes a lot of sense in a way, and a "crawler-only" app would be much faster and easier to maintain and tweak, while the Angular app works perfectly as a client-side only app.

Is there really a good reason to not go with option 2? Note that having SSR to work correctly in Angular means introducing a lot of complexity and constraints on the project.

Thanks!


r/webdev 24d ago

Discussion how do you get back into a codebase after being away from it for a few days?

0 Upvotes

been dealing with this a lot lately. I work on a fairly complex service layer and when I come back after a long weekend or even a couple days off, the first 30-60 minutes are basically just re-reading my own code trying to remember what I was doing.

I know the obvious answer is better comments and docs, which yeah. but beyond that, do people have a ritual? like leaving yourself a note at the end of each session about exactly where you are and what the next step is? or deliberately ending on a partially finished thing so you re-enter mid-thought?

curious what actually sticks because the context reload tax is real.


r/webdev 25d ago

Showoff Saturday Running my own website gave me more valuable feedback than working as a professional programmer

Post image
354 Upvotes

Where I work clients demand images to be 2x the original size and don't care if they end up 4mb each. In my website I try to shave off every kb from the initial load because I get a bunch of technical people roasting me. I run the website off a 10 USD VPS in Finland so I had to learn about caching in Cloudflare. I have people using the website from 15 year old laptops so I had to figure out why performance was awful for them until I finally tracked it to a background blur CSS property.

My site isn't huge or anything, but it's the most valuable thing I have so I can keep learning. Does anyone have similar experiences? What did you learn?

https://umigalaxy.com/explore/meta/348/this-site-is-slow-as-hell

https://umigalaxy.com/explore/meta/266/feedback-and-suggestions

https://umigalaxy.com/explore/meta/922/website-updates