I haven't used PHP in around 6 years (running PHP 4 I belive); has the language improved ? My biggest complaint was that the API was incredibly inconsistent, but that seemed like it could be improved in later versions if they weren't afraid of breaking backwards compatibility.
It was likely PHP 5. The last PHP 4 release is more than 10 years old [1]. Later versions of PHP 5 were worlds apart from version 4. [1] http://php.net/supported-versions.php
PHP Apprentice – An online, open-source book for learning PHP
51–60 of 75 posts
Re: PHP Apprentice – An online, open-source book for learning PHP
#52I love PHP, it was my first “real” programming language, and I’m glad there are still people trying to make it easier to adopt. Having skimmed through several of these chapters, though, I just feel like it’s too similar to the official PHP docs, even down to the TOC. Wouldn’t it have been better for everyone to put this effort into improving the docs, rather than developing yet another book in a silo that likely won’…
Re: PHP Apprentice – An online, open-source book for learning PHP
#53Re: PHP Apprentice – An online, open-source book for learning PHP
#54The site is cleanly and beautifully formatted and I love how lightweight it is: HTML files, a CSS file, a JS file and an image. It’s such a refreshing change from the thousands of visually cluttered sites that make hundreds of resource requests (most of them third-party) and whose content is not visible without allowing third-party JavaScript. When I completely disabled JavaScript on this site, all I noticed were non-essentials such as Solarized syntax highlighting and the Table of Contents; I could still navigate through the site using the Previous and Next links (and of course, the browser’s Back button).
Kudos!
Re: PHP Apprentice – An online, open-source book for learning PHP
#55Nice job. I would suggest all PHP devs spend some time with https://phptherightway.com . Your resource looks to be a great starting point.
Re: PHP Apprentice – An online, open-source book for learning PHP
#56I love PHP, it was my first “real” programming language, and I’m glad there are still people trying to make it easier to adopt. Having skimmed through several of these chapters, though, I just feel like it’s too similar to the official PHP docs, even down to the TOC. Wouldn’t it have been better for everyone to put this effort into improving the docs, rather than developing yet another book in a silo that likely won’…
Imagine this kind of reception for any other content. Someone spends a year into composing a new symphony and the reviews go "I love live music but wouldn't it have been better if the composer would have re-orchestrated a familiar classic rather than developing a whole new score that won't be performed as often as we'd like?"
Re: PHP Apprentice – An online, open-source book for learning PHP
#57I haven't used PHP in around 6 years (running PHP 4 I belive); has the language improved ? My biggest complaint was that the API was incredibly inconsistent, but that seemed like it could be improved in later versions if they weren't afraid of breaking backwards compatibility.
Re: PHP Apprentice – An online, open-source book for learning PHP
#58I love PHP, it was my first “real” programming language, and I’m glad there are still people trying to make it easier to adopt. Having skimmed through several of these chapters, though, I just feel like it’s too similar to the official PHP docs, even down to the TOC. Wouldn’t it have been better for everyone to put this effort into improving the docs, rather than developing yet another book in a silo that likely won’…
Are there other technical reason's for advocating it, other than your love because it was your first "real" language?
The ‘quick and very dirty’ parts are still there, the ‘clean and efficients’ bits have been added, and there’s a ton of still runnable doc and code lying around.
All of that is a blessing and a curse of course, but I think that makes it a unique proposition.
Re: PHP Apprentice – An online, open-source book for learning PHP
#59Earlier quoted context omitted.
> I'm appalled by the number of ressources I see online which are using the old mysql api Recently authored articles? We have an internet filled with 20 years of PHP tutorials, and unfortunately for beginners there's not an easy way to evaluate if something utilizes modern best practices or is an Experts Exchange post from 2001.
I find strange you can't down-vote a link on Google, it should exist and Google should take it into account specially for technical links (less so for opinions articles or anything political)
Re: PHP Apprentice – An online, open-source book for learning PHP
#60The content is great. I like how you start off teaching the language by showing how to execute simple programs from the command line (I learned that you don’t need the `-f` option to execute a file). I’ve come across far too many PHP introductions that confuse the new learner by attempting to get them to set up a web server (usually Apache) and then all the strings have to be wrapped in HTML markup when printed. Ther…