Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
mundo0349114yEw php.
I have been meaning to do a refresher og. Php7, now I read I can skip to 8.
Any recommendations?i know very little and the -> confuses me. -
C0D4669024yA man of similar culture.
Somehow, I kinda miss adding the version (3) to the file extension though.
How it has grown into a glorious beast, and paid my way through life while it was at it 🥰 -
@mundo03 I tend to recommend 3 things:
The free online book hacking with php
the community resource php the right way aaaaaand the no framework tutorial by Patrick Louys (bunch of github md files)
You don't necessarily have to skip php 7, 8 builds on top of it and even though it adds some breaking changes they would be minimal compared to say ver 5 to 7.
I am not a fan of using frameworks in php, but I do use composer, learning it is a must as well as getting acquainted with psr standards, else we might fall on the poor development conventions from the php4/5 days. -
@C0D4 same bro, php is my bread and butter and I find it faaar easier to get jobs etc for it than any other stack. Even as a more experienced dev with a larger set of qualifications, I still jump back to php all the time as my main tool for backend services.
I would only consider Rails, and that is because some of the less experienced php devs really do be out there writing horror stories....like the ones I go to at work every day 🥴 -
mundo0349114y@AleCx04 awesome, I'll check those out.
About frameworks, I was considering slim.
I use minimal frameworks when it comes to routes and templates because I don't want ti deal with that from scratch, but U definitely don't want to touch laravel.
What do you think?
!rant
The amount of effort being made to make php a saner development platform is outstanding really, specially with the release of php8, really good features in there. As someone that started with version 4(*shivers*), and stuck with it all the way to the glory of 7, 8 is a welcomed addition.
One in particular that I really like is the fact that we now (fucking finally) have union types as well as fucking match expressions! Which granted, these are single lines, but in place of it one could argue for a function.
I am pretty excited for some of the other items, but have not had the time to play with anything yet really. Wonder how much more is in store.
rant
yay php8