DEV Community

Cover image for Announcing PHP Apprentice!

Announcing PHP Apprentice!

Andrew Davis on January 11, 2019

I am excited to finally announce PHP Apprentice! It is an online, free and open-source book for learning the PHP programming language. The book is ...
Collapse
 
martyhimmel profile image
Martin Himmel

Great job Andrew! Nice, simple layout with concise chapters and good examples. It's good to see new PHP resources these days, especially considering the vocal minority that attack PHP (usually based on old info/versions). 🙂

Collapse
 
restoreddev profile image
Andrew Davis

Thank you! I do enjoy resisting the unwarranted PHP hate.

Collapse
 
5422m4n profile image
Sven Kanoldt

Great Job Andrew!
I have 2 suggestions:

I would recommend to dive into the array logic a bit more deeper, things like array_merge, array_filter or array_intersect are super handy tools yet not many folks have mastered the details about them. (from my experience)

On the other hand traits used for mixin / behaviours extension of classes are also a very valuable tool. It might be also worth to spread the word about these things.

But I guess the content will grow over time anyways. Keep up the good work!

Cheers
Sven

Collapse
 
david_j_eddy profile image
David J Eddy

Thank you for this Andrew. Your observation is very much on point; with PHP having been around for so long much of the documentation is way out of date.

I am loving the simple design and that you explained the deployment automation here a bit. Always neat to see how all the parts fit together. Are you planning to do an article centering on the automation?

I look forward to reading over your book Andrew, always good stuff from you. Keep it up!

Collapse
 
restoreddev profile image
Andrew Davis

Thanks for the kind words! There is a lot I would like to do with the book. I do have some thoughts about Travis so that’s a good idea to write a post about how it works.

Collapse
 
damirtomic profile image
DamirTomic • Edited

You need to specify the version your tutorials are written for. In 5 years, there's gonna be PHP 10 with a completely new feature set and different syntax. And your tutorial will be outdated as all the others are. Because the writer didn't specify the PHP version he or she worked in.

Some guy is gonna try to run your code ih PHP10 and it's not gonna work and he's gonna be super confused, just like I am when I try some PHP3 code on PHP7 :D

Other than that, the tutorial seems good, although a bit basic.

Collapse
 
bauripalash profile image
Palash Bauri 👻

Well, That's Cool! I really liked the interface.❤

I just took a glimpse of first few chapters, this is well written and easy to understand.

I hope you'll a PDF version so we can read it while offline 🙂

Collapse
 
vonbusing profile image
Miro von Busing

Thanks Andrew that looks really nice. I am reading this with pleasure. A small comment about the Loop chapter: you use different kind of incremental operators without having introduced them. Something for the arithmetics section?

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

Hey, this looks neat! especially since in my job, I'm having to deal with some stuff of PHP for a legacy project. I'll definitely need a refresher.

Collapse
 
felipperegazio profile image
Felippe Regazio

Great Andrew. Clean, direct and without distractions <3

Collapse
 
isaactorresmichel profile image
Isaac Torres Michel

Thank you for your work Andrew. I'll use it on my PHP workshops as an example of a nice PHP project and a good source of documentation.

Collapse
 
misteryomi profile image
'Yomi Omotoso 🇳🇬 ✈ 🌍

Kudos!

Collapse
 
codemouse92 profile image
Jason C. McDonald

Good, I've been meaning to learn PHP! (Although I think I'll wait until I'm done with my current three online courses and three books, yeah?)

Collapse
 
link2twenty profile image
Andrew Bone

I haven't used PHP properly in a few years so thought I ought to find some learning resources. This is exactly what I was looking for!

Thank you

Collapse
 
roynes profile image
Saitama

Thank you for this one!

also, for additional resources, you can go to laracast. and choose PHP bootcamp. Laracast has a lot of php, and for laravel also.

Collapse
 
aris profile image
Aris Ripandi

Pretty cool. What if this site available in other languages?

Collapse
 
vjnvisakh profile image
Visakh Vijayan

Really nice. Can't wait for more chapters.