DEV Community

Cover image for The PHP open-source ebook

The PHP open-source ebook

Roberto B. on October 27, 2023

Some Drops of PHP is an open-source book dedicated to uncovering hidden gems in PHP. Within these pages, you'll find a curated collection of lesser...
Collapse
 
lexiebkm profile image
Alexander B.K.

I have done quick read on the outline of the book.
It seems that it doesn't cover some stuffs like magic methods (__invoke, etc), iterator, generator, class autoloading (with spl_autoload_register function) that we may find useful in some use cases.
Even Laravel uses generator in its feature named lazy collections for handling very large data.
Maybe, you don't find them useful to cover in the book, or we could just find or explore them in the PHP manual instead ?

Collapse
 
robertobutti profile image
Roberto B.

Really good point, Alexander. I appreciate the feedback. The advantage of writing an open-source ebook is that it can be evolved, revised, updated, and expanded over time.
I will add a section on these issues.
Good point 🙏

Collapse
 
the_kray_twins profile image
KraysDevs

Now here is one that still coded in PHP and still does some things with it XD We should feel old man...

Collapse
 
robertobutti profile image
Roberto B.

I don't feel old, I've simply lived through many youthfulness.
PHP, Java, JavaScript, GoLang, Rust, Python, C. Do you know TurboPascal? :)

Collapse
 
lexiebkm profile image
Alexander B.K.

I only read Pascal from a book, but not ever coded in it. But then came Borland Delphi that used Pascal to create desktop GUI apps that rivaled Visual Basic (VB) in mid to late 90s.
While VB (in VB.net) is still alive, Pascal and Delphi seem to be extinct now.
The 1st language that made me earn money was FoxPro for DOS. :)
Still learning Java, Go and C#.

Thread Thread
 
the_kray_twins profile image
KraysDevs

GO is fast, Java is verbose and C# is suicide

Thread Thread
 
lexiebkm profile image
Alexander B.K.

Java, despite being verbose, is still required in quite a lot of jobs. What about Kotlin ? I see it becomes the 1st option for developing Android app, but I still want to use Java for Android development when I am ready. :)
Why is C# suicide when it is also required in a lot of jobs ?

Collapse
 
dimkiriakos profile image
dimkiriakos

5.5 Version, 6 or 7? I ve git them all

Collapse
 
the_kray_twins profile image
KraysDevs

Of course I do. Never used it though. I started with BASIC XD

Collapse
 
jordantylerburchett profile image
Jordan Tyler Burchett

PHP is my favorite language but for some reason I see a lot of people putting it down or saying it's old.. May I ask why?

Btw, I'm not a newbie I'm just generally interested in why it seems to be taboo to develop in PHP 🤔

Collapse
 
virtualmachine profile image
ByteCodeProcessor

It's not in season or it's past it's prime.

Collapse
 
justplayerde profile image
Justin K. • Edited

This doesn't contain advanced concepts or features of php (yet), but it should be a great resource for people who learn PHP :)

Maybe consider adding support for multiple languages so the content can also be translated later.

Edit: it could also make sense to also add a way to support multiple php versions so documentation is not lost after a new php version

Collapse
 
robertobutti profile image
Roberto B.

hi, thank you for your feedback. this is a lot of value!
i will add more advanced functions and topic. I'm collecting feedback and this will be the direction.
For multilang, for now i prefer to grow with one language ( focus).
For multiple ver of PHP i want to try to use the latest version. PHP sometimes is suffering because it is perceived as a legacy language, i prefer to keep this guide updated as much as possible and embrace fresh energy

Collapse
 
raulferreirasilva profile image
Raul Ferreira

Reading the book I almost wanted to learn more PHP LOL, phenomenal and well-written content 🦤.

Collapse
 
robertobutti profile image
Roberto B.

I would recommend that you try many languages. Only in this way can you make an informed choice of the best language for you. Never choose a language to please others. Eventually, at some point, you will be sitting in front of your computer, you and your language. Better find a language you have a good feeling with because in the end, it will be your journey companion and not your enemy. ✨✨✨
For this reason, I like using PHP :)

Collapse
 
raulferreirasilva profile image
Raul Ferreira

Thank you for your words, it was very important to hear that 🦤.

Collapse
 
the_kray_twins profile image
KraysDevs

React is dying and so will PHP and all programming jobs. I made a short post about this as well yesterday. Its just the no code world that has taken over and you are ALL STILL SLEEPING