PHP is the backbone of today's Internet development language, with about 20 million domain names (websites) used in languages that are all PHP languages. The PHP language has become a very popular language because of its huge advantages and extreme elasticity. As a phper, if you want to be more excellent, please browse the following and remember.
First: Use PHP core functions and classes
Check out the PHP manual before you prepare to create the function, perhaps the function you want has been built by others. These functions and classes can not only simplify development efficiency and flow, but more importantly they tend to be more efficient in execution.
Second: Create a configuration file
A messy configuration usually gets you into a muddle. To make it easier to organize and connect to the database, you should create a major PHP-friendly configuration file. Configuration files are as easy to use as a function, rather than being configured in different files.
3rd: Make sure that there are not too many comments
Everyone knows that it's a good habit to make annotations when programming, but it's not as much as annotating. You don't need to comment on every line of code. Comments are just to help you better understand the code the next time you read the code.
4th: Excellent source editor helps to save time
In web development, most of your time is spent writing code. So well the source editor is important, good source editor can not only help you save time, but also to provide some of the features you need, such as syntax highlighting, code completion, debugging and so on.
5th: Build networking with other PHP developers
You can't always be perfect, one way to keep improving yourself is to build relationships with other peers. Nothing is more productive than learning and sharing.