For PHP beginners of the introduction of learning experience

  • 2020-03-31 21:11:29
  • OfStack

1. Summary: learning any language requires a lot of reading, writing and asking!! Writing code is a matter of practice! Because there is only so much knowledge, you will see more will feel all the same.

Programmers are reinventing the wheel, over and over again. Code several times you can write with your eyes closed, so corporate recruiters will ask you how many lines of code you've written!! Programmers most taboo impetuous, sometimes found a section of the program can not find a mistake, just because of less or more a symbol, programmers need is careful, careless people can not be programmers!

2. PHP reference manual is must be familiar with, some beginners will ask some very basic questions, in fact, there are manuals above, so it is recommended that beginners read the manual, it is best to copy the commonly used functions a few times! Type the code in the manual a few more times.

When you are familiar with everything in the manual, you are less likely to encounter problems. Of course, mysql manual, also want to see, but can not first see so fine! At least know the commonly used SQL statements, this is a must!

3. The best thing about PHP is that there are so many open source projects available on the web, and some of them are big projects. So suggest beginners can see message code, familiar with the commonly used data operation, first then you can go to have a look at a simple corporate website or blog, then you can go to study such as ecshop, when you read this, you can look to the discuz, phpwind BBS source code, the inside of the architecture is quite strong, need to do, of course, this is not a novice, but total want to have a general ideal!

4 to get used to, encounter problems to solve their own, in the network era, to learn to use baidu Google, this is a must. Ask for help when you can't do anything about it!

5. When you write a program, learn to share, because you are a beginner, your program may have a lot of imperfections, so share your program is more beneficial to you! Share and communicate more! Will let you write more sophisticated procedures!!

Remember, with PHP you're not just learning PHP, you're learning to analyze how a project is implemented or how a program is implemented. They say that algorithms are the foundation of a language. To learn PHP well, you have to learn and use algorithms to implement your program. Algorithms can be used in any language.

Related articles: