News for hackers. Stuff that matters.
Re:Ask HN: Good resource on writing web app with plain JavaS... by gal_anonym on Thursday November 17, 2022 @02:00AM (#33635850)
For simple web "app" like form and form processing where you are not using dynamic reload of page elements, you can drop JavaScript and go with PHP + HTML + CSS. Use vanilla procedural PHP with sane splitting in functions / files. This stack is good enough for simple web apps, but also good for a little more complicated like for example task list etc. You can optionally sprinkle it with some vanilla JavaScript for dynamic parts, like showing disappearing error messages.
Re:Ask HN: Good resource on writing web app with plain JavaS... by netol on Thursday November 17, 2022 @10:31AM (#33640274)
> you can drop JavaScript and go with PHP + HTML + CSS. Use vanilla procedural PHP with sane splitting in functions / files.

I like this approach for simple websites, and it can be a very useful learning exercise, but I don't think this is enough to find a job later.