1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Best resources to learn PHP?

Discussion in 'PHP & Perl' started by Wooten, Jul 11, 2019.

  1. Wooten

    Wooten Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2015
    Messages:
    407
    Likes Received:
    377
    Hey guys,

    I know that this might not be the best place to ask, but I also know that BHW has a relatively good amount of programmers.

    I'm currently trying to learn PHP, but I found that the web is filled with a lot of outdated information when it comes to courses n stuff. There's a vast amount of info for JS, but the opposite is true for PHP.

    So I'm asking for some guidance from coders to point me to the right direction on where to learn PHP from.

    Please note, that I'm am not particularly interested in learning WP or any other CMS and my main objective is to get a job at a product based company, which is why best clean practices of writing a maintainable code are essential.

    Thank you :)
     
  2. Sailor Popeye

    Sailor Popeye Registered Member

    Joined:
    Aug 11, 2017
    Messages:
    66
    Likes Received:
    18
    Gender:
    Male
    try udemy and w3schools.com
     
  3. legion85

    legion85 Jr. VIP Jr. VIP

    Joined:
    Jul 17, 2017
    Messages:
    561
    Likes Received:
    220
    Occupation:
    Reddit greyhat wizard
    Location:
    Mars
    Home Page:
  4. Miraz0

    Miraz0 Jr. VIP Jr. VIP

    Joined:
    Sep 28, 2018
    Messages:
    141
    Likes Received:
    21
    Gender:
    Male
    Youtube helped me a lot. Also github, have a look at scripts already made on Github, try to understand how it works (you would need to know the basics first, it'll be way easier).
     
  5. cheva

    cheva Regular Member

    Joined:
    Aug 22, 2009
    Messages:
    446
    Likes Received:
    514
    Location:
    Aiur
    The best way to learn is to familiarize yourself with basic PHP. Functions, classes, operators, conditionals. There is an abundance of introductions all over the web. Afterward, don't waste time. Get straight into breaking a simple project apart.
     
    • Thanks Thanks x 1
  6. ILearnSEO

    ILearnSEO Jr. VIP Jr. VIP

    Joined:
    Apr 4, 2015
    Messages:
    477
    Likes Received:
    143
    Gender:
    Male
    Read less, write more.

    Thats the best suggestion i csn give you.
     
    • Thanks Thanks x 1
  7. Yee

    Yee Junior Member

    Joined:
    Dec 31, 2018
    Messages:
    133
    Likes Received:
    24
    Occupation:
    Software developer
    If your goal is to get a job than you should aim for a (web) framework, a company is not going to pay you to reinvent the wheel.

    The big question, is it wise to become a PHP programmer now, yesterday or six years ago ?

    Hell No! unless you really good at it.

    There are better languages to start with like Python, Javascript or GoLang.

    My advice is pick another language and be really good at least one web framework.
     
  8. cheva

    cheva Regular Member

    Joined:
    Aug 22, 2009
    Messages:
    446
    Likes Received:
    514
    Location:
    Aiur
    PHP isn't going anywhere. PHP7 and the likes of Laravel have greatly improved PHP from what it was a few years ago. Though other languages might pay higher, PHP like javascript is mostly everywhere.
    Javascript obviously isn't a PHP competitor. You can take Vue and Laravel and build something great. Or you can go vanilla and still use PHP to create whatever you want.

    If for career progression, Javascript should be the primary language to learn. Python jobs will mostly deal with machine learning and data science. That can be a very boring field to get into if you're not already inclined towards it.

    Client work wise, most clients will not require python, golang, ruby etc. Where projects do require python or the like you will be working with bigger teams and would not get very far as a solo dev.
     
    • Thanks Thanks x 3
  9. PHPInjected

    PHPInjected Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2014
    Messages:
    2,730
    Likes Received:
    2,552
    Occupation:
    Helping others
    Location:
    127.0.0.1
    Home Page:

    PHP will continue to thrive. Multiple content management systems and social networks are built with PHP carrying a lot of the scripting load.



    @Wooten Here bud, check these out:

    https://www.codecademy.com/learn/learn-php
    https://php.net/manual/en/index.php
    http://tizag.com/phpT/
    https://www.w3schools.com/php/
    https://www.killerphp.com/tutorials/object-oriented-php/
    https://www.tutorialspoint.com/php/
    https://codecourse.com/
    https://phptherightway.com/
    https://www.youtube.com/user/phpacademy (14-hour video course)
    http://www.developphp.com/
    https://www.phpjabbers.com/
     
    • Thanks Thanks x 4
  10. redarrow

    redarrow Elite Member

    Joined:
    Apr 1, 2013
    Messages:
    10,604
    Likes Received:
    3,080
    you only need the online manual and w3schools .

    learn oop only .

    i say learn python , mysql, html5 , ajax , css

    php is only inputting information to a database online , without javascript boaring.

    phython you can create bots and have online services well worth the time learning

    if your going to do php , make sure you study wp with php.
     
    Last edited: Jul 12, 2019
  11. Yee

    Yee Junior Member

    Joined:
    Dec 31, 2018
    Messages:
    133
    Likes Received:
    24
    Occupation:
    Software developer
    Well nothing really wrong with PHP, six years ago I couldn’t find any decent PHP web framework most of them were bad but in the end Lavarel got it right.
    I don’t agree Python jobs are for machine learning and data science which btw is just software development. Python has a rich ecosystem that extends beyond what mentioned above unlike PHP which is just a preprocessor most likely build for the web so I argue if it’s a good idea to build whatever in it other than web apps .
    A regular client don’t care which language you use to solve the problem but you as a developer should.
     
  12. Yee

    Yee Junior Member

    Joined:
    Dec 31, 2018
    Messages:
    133
    Likes Received:
    24
    Occupation:
    Software developer
    Strange argument, he's going to find a job at those social networks ?
     
  13. PHPInjected

    PHPInjected Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2014
    Messages:
    2,730
    Likes Received:
    2,552
    Occupation:
    Helping others
    Location:
    127.0.0.1
    Home Page:
    Argument? It's not an argument, it's a fact. MANY companies are hiring programmers. MANY people still post multiple freelance jobs daily. I'd recommend learning Python prior to PHP. Python is a better introduction to the C language(s), but PHP works too.
     
  14. cheva

    cheva Regular Member

    Joined:
    Aug 22, 2009
    Messages:
    446
    Likes Received:
    514
    Location:
    Aiur
    I didn't say all, but most high paying python jobs are to do with machine learning and data science. You could use Django and build web apps, but between PHP and Django, keeping external factors in mind (time, hosting, cost) PHP will win.

    As to your second point. Clients absolutely care. The price you would pay for a Python developer would be double that at least compared to a PHP developer. Like I said in the previous comment, other languages may pay higher, however, a PHP developer would have access to a bigger market, even if it's more competitive.

    Considering OP mentioned PHP, we are specifically talking about web apps, and now with Cordova etc, it is very easy to create hybrid apps for all devices.

    I am not taking away from Python, or any other language. End of the day, they are all tools to do a job. But I find this mindset that PHP is a dying language as false.
     
    • Thanks Thanks x 2
  15. paperbag

    paperbag Registered Member

    Joined:
    Dec 21, 2018
    Messages:
    85
    Likes Received:
    12
    Gender:
    Male
    If you have any programming knowledge PHP is very easy to learn and it might be just easier to jump into learning laravel right away. Can highly recommend https://laracasts.com/. It is definitely worth the subscription price.
     
    • Thanks Thanks x 1
  16. Yee

    Yee Junior Member

    Joined:
    Dec 31, 2018
    Messages:
    133
    Likes Received:
    24
    Occupation:
    Software developer
    Ok. prove it if this a fact, how M A N Y and which companies ? I'm not talking about the scriptkiddies
     
  17. PHPInjected

    PHPInjected Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2014
    Messages:
    2,730
    Likes Received:
    2,552
    Occupation:
    Helping others
    Location:
    127.0.0.1
    Home Page:
    Are you truly asking me to prove to you that people hire programmers?
     
    • Thanks Thanks x 1
  18. Yee

    Yee Junior Member

    Joined:
    Dec 31, 2018
    Messages:
    133
    Likes Received:
    24
    Occupation:
    Software developer
    Ok, it a matter of taste I can't argue with that if you are good with PHP than there is no problem however most are not that good.
    Haha I like that last line, you know if you have better experience with PHP I do believe you but never meet one ;).
    I agree but the reason Python dev is more expensive is because the tools are made for fast development and keep the quality of the process.
    I don't know of Cordova if will check it out
    No it's not dying! Why would I want this, I think there are better tools that all
     
    • Thanks Thanks x 1
  19. rafark

    rafark Jr. VIP Jr. VIP

    Joined:
    Jan 15, 2013
    Messages:
    782
    Likes Received:
    486
    Gender:
    Male
    Occupation:
    Moderador
    Location:
    North America
    Home Page:
    This was an EYE OPENER. Do not think twice, get it. You'll learn A LOT.:

    http://shop.oreilly.com/product/0636920012443.do

    After you've read that one you should get "PHP: Objects, patterns and practice" by Matt zandstra.
     
    • Thanks Thanks x 1
  20. Yee

    Yee Junior Member

    Joined:
    Dec 31, 2018
    Messages:
    133
    Likes Received:
    24
    Occupation:
    Software developer
    Do I really need to rephrase what you just mentioned above or you got the message fact machine ?
    If try to prove a fact don't use words like MANY multiples times because you actually not saying anything like you did right now