Re: WordPress moving away from PHP to JavaScript

Top Page
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Phil Waclawski via PLUG-discuss
To: Main PLUG discussion list
CC: Phil Waclawski
Subject: Re: WordPress moving away from PHP to JavaScript
Someone asked in this chain about what was so bad about PHP in the "old
There were quite a few problems with earlier versions of PHP, especially 5
or older.

Register globals was on, I can't even begin to explain how bad that was.
the mysql library was very prone to SQL injection, but was kept around as
folks were still using MySQL 4.x (mysqli or pdo are better alternatives
No typing at all for functions, now with declare(strict_types=1) you can
add a bit of security for functions and methods.
No one seemed to care about doing prepared statements/bound parameters for
SQL injection protection, let alone proper input validation.

TONS of really bad examples online and on youtube (some even to this day).
And I think PHP_SELF was vulnerable to XSS (cross site scripting)

Just from what I can remember from the bad old days ;)

Phillip Waclawski

On Sun, Apr 21, 2024 at 3:11 PM David Schwartz via PLUG-discuss <
> wrote:

> Thanks, but I’ve never used Lazarus. It would probably take several hours
> to get familiar enough with it to do a presentation.
> Surely there must be someone in Phoenix who can give a live presentation
> of Lazarus (or anywhere for a virtual presentation).
> There are plenty of videos on YT and various other sites that show off
> Delphi’s features. Lazarus is a homegrown IDE that’s very similar to
> Delphi’s IDE, and it uses Free Pascal (FPC) as the compiler. Some vendors
> offer support for Lazarus — TMS has it for several of their products.
> I’ve just never used it.
> Besides, programming is more of the “mechanical side” of software
> deveopment to me. I’m far more interested in the architecture and design
> aspects — coming up with unique solutions to complex or novel problems.
> I do have a presentation I made a few years back that I’ve updated
> recently that looks at problems that arise when outsourcing software. These
> are generic problems that apply to most non-trivial software projects, but
> are magnified when people think all you need to do is hire a “coder” on
> some job site to build your custom software. If there’s enough interest,
> I’d love to do that, get feedack on it, and see what kinds of questions and
> comments come up.
> -David Schwartz
> > On Apr 21, 2024, at 2:16 AM, Steve Litt via PLUG-discuss <
> > wrote:
> >
> > David Schwartz via PLUG-discuss said on Sat, 20 Apr 2024 13:43:39 -0700
> >
> >
> >> So I turned back to Delphi and didn’t look back.
> >
> > Hi David,
> >
> > Would you like to give a Lazarus demo/presentation at a future online
> > GoLUG meeting?
> >
> > Thanks,
> >
> > SteveT
> >
> > Steve Litt
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:

PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings: