DEV Community

Discussion on: Mistakes I made while learning Web Development as a beginner

talr98 profile image

The biggest mistake I made was learning PHP. :|

kajaia profile image
Lasha Kajaia

Why you think so?

cyberhck profile image
Nishchal Gautam

Out of biggest adapter of php, fb learnt its shit so they went for hack/hhvm.

Out of new big companies only slack uses php and like it as far as I know.

The actual reason we don't like it has mostly to do with dynamic types and shitty language as a whole.

There are many people who would defend it, but they probably don't work as a team, or have built a large project

punisher49 profile image


harshitaditya1 profile image
Harshit Aditya Author

No Comments πŸ˜‚.

andrewbaisden profile image
Andrew Baisden

To this day I never fully learned PHP. I only learned enough to do some basic templating using WordPress.

juniori_1 profile image
Abdinajib Junior

Why bro? I wanna to start it ASAP.

cyberhck profile image
Nishchal Gautam

Same here

rakshithkb profile image
Rakshith K B

But Why, isn't PHP required anymore in industry?

elitespartan10 profile image
Anthony Hagidimitriou

Look into the Laravel framework to make use of your PHP knowledge. Very versatile framework to solve many different problems

rudoslav profile image
Rudoslav • Edited on

My 2 cents on the phenomenon:

---- About me/our team -----

I'm a backend developer (not a coder really, since I take business acceptance criteria -> do my research -> design the feature from logical and technical point of view -> write tests and code it -> create docs -> yada yada) for a few years now.

---- Our environment ----

I come from an environment, where we use:

  • Magento monolith - which uses couple of PHP frameworks under the bonnet + the Magento e-commerce framework on top.
  • A PHP lumen/laravel app as a specific microservice for our Warehouse
  • A few python apps for our Warehouse embedded devices
  • A few Java and Kotlin Android apps for our warehouse
  • Some serverless microservices on AWS (mostly in node) for specific tasks
  • and other, such as DB clusters, elasticsearch, ...

Our company generates revenue in tens of mil. € / year. We have up to 20k orders/day.

And so far we did not hit any limit of the PHP as a technology.

Of course you can't compare this to Facebook and the load on it's servers, but as Rasmus Lerdorf himself said (paraphrase):

"It's just a tool, what really matters is what you create with it"

What matters is what you aim to achieve.
For our team of 7 devs and 2 testers it is "as high as possible quality" + "business value". And with PHP we've been able to do this for a few years now.

---- The ending point ----

It is perfectly possible to either gain bad an good development and coding practices in any language - be it PHP, JavaScript, ...

If you start / are intermediate in / already have done a lot in web development - you can still gain knowledge and push yourself further with PHP as you can in any other.

With PHP you can do almost the same as with any other server-side or scripting (maybe except stuff like serial communication with another device) language (what a junior dev might need/want). You can do object oriented; test driven; scripting; socket communication; microservice; design patterns... What we people sometimes fail to realize there are different tools for different tasks.

(yes, you can even use strict data types on file level)

Do not worry about PHP.

Pick your strength (language or technology), but surely expand to others as well.

Worry about:

W3C or other standards;
KISS, DRY, SOLID, ... (standards)
Open API;
good practices in code;
unit and integration tests;
stress testing;
using an IDE;
different git workflows;
making your app migratable to different server/env;
docker or equivalent;
machine learning;
working in scrum or kanban;

adamity profile image

Dumb mindset πŸ‘ŒπŸ‘Ž