[No PHPun Intended] A Brief History of Web Development
-
not directly, but trash-talking it and gatekeeping "real programming" from the language most likely to be used by women is not exactly conducive to improved equality in the profession.
i realise now that i didn't explicitly mention my point in the first post, so:
- shitting on other people's jobs is bad.
wrote on last edited by [email protected]So PHP may be trash, but don't treat the people using it like trash? Makes sense to me.
-
wrote on last edited by [email protected]
I believe the huge mistake in HTML wasn't having some sort of element-level addressability.
People went insane over "the page flashes for 15ms because we have to reload the header and footer and it doesn't look NAAATIVE!" and the response was to SPA/AJAX everything, inviting a huge Turing-complete nightmare of possibilities when 95% of what peopleneed would be delivered with < form action="blah" replace_with_response="#foo" >
That and a dearth of native widgets-- a < combobox > and a < menu > that worked like the system menus might have kept JavaScript as the sick oddity it should be.
-
AJAX everything is icky. It's part of what's made browser tabs take more RAM than a typical desktop had in 1998.
I exercised all client side JavaScript from an app I maintain. It's fast, clean, and the back button always works. I just checked on one of the more complicated pages, and according to Firefox's memory profile, it takes about 2.6MB of RAM.
Where PHP really goes wrong is mixing HTML and code by default.
-
Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!
php is too mainstream, give ruby a reason to exist.
-
It's old and ugly, the worst tool you can use for anything, and unkillable.
You meant WordPress, not PHP.
-
it's what html was designed for. there's nothing icky about it. with htmx et al the serverside web is coming back in a big way so we can finally drop this react stuff.
Now it was a great while ago I wrote anything in PHP. What icks me is the separation of concern. It has a tendency to cause code that’s concerned with logic and rendering at the same time. The act of moving a button can interfere with the logic, and it obfuscates how the entire website looks like.
Maybe there’s better coding practices to ensure better separation of concern in PHP.
-
Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!
Well, at least PHP isn’t as bad as JSP.
-
Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!
Maybe 25 years ago i build my first website for a paying customer ( my dad). I decided to go for php which was new to me at the time.
I figured it would be too risky ( even back then) to have PHP generate dynamic pages so instead I had php generate static html.
So whenever website needed updating , for example a new folder with images was added, you could just load the admin.php and it would generate gallery pages for you.
Would probably still work 25 year later if wasn't eventually replaced with some WordPress or something
-
Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!
And I still don’t know what the first P stands for.
-
Maybe 25 years ago i build my first website for a paying customer ( my dad). I decided to go for php which was new to me at the time.
I figured it would be too risky ( even back then) to have PHP generate dynamic pages so instead I had php generate static html.
So whenever website needed updating , for example a new folder with images was added, you could just load the admin.php and it would generate gallery pages for you.
Would probably still work 25 year later if wasn't eventually replaced with some WordPress or something
for many websites, this is the ideal way to do it
makes it order of magnitude more secure
-
Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!
Replaced the P in LAMP with Python when I started building webpages again a few years ago, and never looked back. Such a vastly more pleasant experience.
-
And I still don’t know what the first P stands for.
If you go by the initial acronym, it means personal iirc
-
If you go by the initial acronym, it means personal iirc
stands for
not: stood for
-
Well, at least PHP isn’t as bad as JSP.
jsp answered the question, "What if Java was like PHP but with more Java?"
jsp deserved to die.
-
php is too mainstream, give ruby a reason to exist.
ruby has so many better reasons to exist beyond that.
since v3 it performs just as well if not better than Python.
it has a well documented and lush library of gems that still work even if they are 15 years old.
ruby gets a lot of shit because everyone ties rails in, which has improved, but is still slow as shit compared to other orms.
-
In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.
... or even Symfony.
-
Is disliking something that (allegedly) is more popular with women than the average thing of its category anti-woman, even if no part of the complaint involves the user or their gender? The majority of users is likely still male anyway.
When did PHP become more popular with women what is going on here lol
-
In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.
Yeah, if you add tons of extra rules and tools, it can become almost as pleasant as the main Python or Ruby experience.
Almost.
-
You meant WordPress, not PHP.
Joined at the hip.
-
stands for
not: stood for
The P in PHP stands for PHP.
PHP: Hypertext Preprocessor.