I’m going to learn PHP

  • This topic has 20 replies, 1 voice, and was last updated 2 months ago by ImportantDesk.
Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #2646
    garni1999
    Participant

    hey, what is best addvice to me? i know html,css , which i learned age of 15

    what can you tell me, where can i begin learn of php?

    and also, one a question, i see there are version of php, okey, then tell me , should i learn every time new release and old knowledge unused?

    #2647
    plump_tomato
    Guest

    [https://laracasts.com/series/php-for-beginners](https://laracasts.com/series/php-for-beginners)

    #2648
    mikehawkisbig
    Guest

    One thing I’d say to focus on is proper best practices. PHP gets a bad rap because it’s extremely popular and there are a ton of people who never learned best practices and code garbage insecure code.

    #2649
    xopoc
    Guest

    https://phptherightway.com/
    I recommend to start from there

    #2651
    PompeiWasAnInsideJob
    Guest

    You don’t need to re-learn PHP every time a new version comes out, the core principles generally stay the same.

    Once you have the fundamentals of PHP understood, I recommend learning a framework like Laravel or Slim.

    #2652
    plainoldoreo
    Guest

    Just learn how to code pho securely. You can start out doing the tutorials to learn, but don’t publish a site with it until you’ve done some reading on how to process forms securely and secure sql interactions and similar things. You got this 👍

    #2653
    dd585
    Guest

    The best advice I can give is just get started trying to build something, you’ll learn a lot.

    #2654
    TomITNL
    Guest

    If you know JavaScript and are able to read functions you should be able to dive right in, to start working in laravel check out this guy: https://youtu.be/BXiHvgrJfkg

    He has a lot of great tutorials

    #2655
    arboshiki
    Guest

    This is 5 hours course which covers all the basic things

    #2657
    Coffee2Code
    Guest

    Learn Symfony, straight out of the box.

    #2658
    hagenbuch
    Guest

    First of all, I would take several days to read the most important pages on OWASP to understand hopefully all threats that will keep you busy for the next decade. Even if you learn a framework, this comes first. https://owasp.org/www-project-top-ten/

    PHP versions don’t differ much. Some features are introduced, some deprecated, some ended.

    You should not learn or use any version prior to 7.1

    #2659
    quietHands
    Guest

    New versions don’t change much. Use php 7 or greater. I’d recommend using a framework like symfony.

    #2660
    DarkGhostHunter
    Guest

    > hey, what is best addvice to me? i know html,css , which i learned age of 15

    HTML and CSS are markup languages, not programming language. You are gonna learn another paradigm of programming with PHP, but I can resume that in one line: send apples, receive an apple pie inside a box.

    > what can you tell me, where can i begin learn of php?

    I’m gonna point out the obvious: [The PHP Practitioner
    ](https://laracasts.com/series/php-for-beginners).

    If you like Laracast, don’t be shy and put a couple of bucks.

    > Should i learn every time new release and old knowledge unused?

    This is a good opportunity to tell you about [Semantic Versioning](https://semver.org). PHP language mostly doesn’t change, but adds things. Changes are only present on some minor details, but those using precisely those minor details can break their apps. For example, this is totally different between PHP 8 and 7.4:

    “`php
    // PHP 7.4 and below: 47
    echo 35 + 7 . ‘.’ . 0 + 5;

    // PHP 8.0 and later: 42.5
    echo 35 + 7 . ‘.’ . 0 + 5;
    “`

    — [Source](https://php.watch/versions/8.0#contact-add-sub-precedence)

    That kind of picky details. So no, new versions adds up. You don’t need to forget everything everytime a new version comes out. Just be sure to check what breaking changes are introduced.

    Now, PHP is a very easy language to learn. It “protects” you from some programming paradigms, like memory management and concurrency, since in essence is a _interpreted language_. You don’t have to “compile” a binary, you will have a PHP runtime that will interpret and execute the code for you.

    Once you get a grasp of how PHP works, you can go for a PHP Framework.

    #2661
    wHatIzgOod1
    Guest

    Check out mmtuts on Youtube. I’m pretty suire he changed his channel name to Dani Krossing. But he has a big playlist of PHP tutorials.

    To save confusion, I would decide whether you are going to learn procedural PHP or object-oriented. You can always switch, but its best to stick to one as you learn the basics of the language.

    Also, you may want to watch some basic MySQL tutorials as you will probably be using it. Trust me, MySQL is very easy to pick up, but it is also very crucial

    #2662
    bpopp
    Guest

    I love PHP and use it daily, but if I was starting right now, I’d start with Python. It’s used in more areas and places and is generally more popular.

Viewing 15 posts - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.