- This topic has 20 replies, 1 voice, and was last updated 2 months ago by ImportantDesk.
- AuthorPosts
- November 19, 2020 at 8:27 pm #2646garni1999Participant
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?
November 19, 2020 at 8:27 pm #2647plump_tomatoGuest[https://laracasts.com/series/php-for-beginners](https://laracasts.com/series/php-for-beginners)
November 19, 2020 at 8:27 pm #2648mikehawkisbigGuestOne 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.
November 19, 2020 at 8:27 pm #2649xopocGuesthttps://phptherightway.com/
I recommend to start from thereNovember 19, 2020 at 8:27 pm #2651PompeiWasAnInsideJobGuestYou 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.
November 19, 2020 at 8:27 pm #2652plainoldoreoGuestJust 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 👍
November 19, 2020 at 8:27 pm #2653dd585GuestThe best advice I can give is just get started trying to build something, you’ll learn a lot.
November 19, 2020 at 8:27 pm #2654TomITNLGuestIf 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
November 19, 2020 at 8:27 pm #2655arboshikiGuestThis is 5 hours course which covers all the basic things
November 19, 2020 at 8:27 pm #2657Coffee2CodeGuestLearn Symfony, straight out of the box.
November 19, 2020 at 8:27 pm #2658hagenbuchGuestFirst 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
November 19, 2020 at 8:27 pm #2659quietHandsGuestNew versions don’t change much. Use php 7 or greater. I’d recommend using a framework like symfony.
November 19, 2020 at 8:27 pm #2660DarkGhostHunterGuest> 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.
November 19, 2020 at 8:27 pm #2661wHatIzgOod1GuestCheck 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
November 19, 2020 at 8:27 pm #2662bpoppGuestI 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.
- AuthorPosts
- You must be logged in to reply to this topic.