Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the abilities php programmers should have

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "what are the abilities that php programmers should have". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn what php programmers should have.

First, php capability

1. In the understanding phase, you can write some code, because it is done with the help of the manual and google. Variables are misdefined, N multi-functions do not know, do things very slowly, think of what to write, the code is more chaotic, post-maintenance is very troublesome.

2, familiar with the stage, often check the function, the manual is estimated to have read one or two times, the commonly used functions are basically known to you. Later maintenance has brought you a lot of pain, and you begin to find that your code has many deficiencies, and you begin to think about how to improve your code and how to plan your code from the point of view of a project, rather than what you want to write. Know how to reduce redundant code, make your code clear, know what kind of code is comfortable to write, and basic code specifications have been formed. In order to improve myself, I will go to some technical forums to study and study.

3, very familiar with the stage, I originally wanted to write proficient, up to now I do not know how proficient is, and I have not heard anyone say that I am proficient in PHP, so I am very familiar with it. At this stage, I think you have moved from process-oriented to object-oriented. Personally, I think the greatest advantage of object-oriented is that it can make the whole project functional, modular, later maintenance, revision, upgrade is very convenient. When there is no object-oriented, it is also the same development. During this period, you have studied one or more frameworks, combined with your actual project experience, have been able to form your own framework in mind, this framework is the most suitable for you. And can apply this framework to the actual development, in order to improve their own development efficiency.

If when you first write code, someone can restrain you to write code according to the idea of OOP, then you will meet an honorable person. When bad code habits are formed, it's not so easy to change.

Second, database capability

If you use php as a project, mysql is the most common, followed by pgsql. Because both of them are free. Haha, take mysql as an example

1. Know the phase, know what mysql is, be able to write some simple sql statements, design simple tables, and know how to use database management tools (such as phpmyadmin)

2, familiar with the stage, know how to write efficient sql statements, understand index principles, know how to create indexes, write some storage procedures, triggers, etc., can analyze and test the database through various means, such as: using mysqlslap for stress testing, explain to analyze sql statements, and opening slow queries to analyze which sql statements really affect the operation of mysql. Can use dbdesigner4,mysql workbench as the design database, can query and analyze mysql environment variables in command state, to analyze the running state of mysql, and so on.

3, very familiar with the stage, very familiar with the principle of each kind of storage engine, know how to optimize the storage engine by modifying the configuration file, know how to optimize the maximum number of connections to the database, know how to optimize the mysql Imax bottleneck, add a storage engine or plug-in to the mysql database for the needs of the project, know how to build a database cluster, and monitor the running status of the database, and so on.

Third, html,css capability

Php is a scripting language, we use php in most cases to make a website, but it is a website, it must be inseparable from html,css.

1. Understand the stage, know what html tags are for, write some html independently through the network and manuals, know what css is all about, and write some simple style in html, etc.

2, familiar stage, can use css to design some simple layout, can write css into a file separately, familiar with css grammar rules, inheritance and so on.

3, very familiar with the stage, be able to design a good CSS, and manage these CSS files to minimize redundant code. Know how to write code that is conducive to search engine search, for example: title,h2,h3 weight is relatively high. Etc.

For php programmers, it is not necessary for you to design a page, but to give you a page, you need to know how to modify CSS files, html is not sure to master.

Fourth, js capability

If you improve the user experience, it is an important sign that a website can retain people. JS is going to be used in this.

1. Understand the stage, understand the basic syntax of JS, know how to debug these programs, be able to write some simple function, etc.

2, familiar with the stage, the syntax of JS, functions, regularities, etc. have been familiar with, can use js to write some special effects, and the current use of JS to write special effects, is a more tiring thing, began to try jquery,prototype, and the basic syntax of jquery,prototype to understand, personal opposition not to learn JS, directly access to jquery,prototype such a JS framework.

3, very familiar with the stage, with the help of the framework, can be skilled with the idea of OOP to write code, rather than a function accumulation, proficient in the use of jquery,prototype ajax, or some online ajax framework, such as (ajaxrequest), no longer directly write active controls. Be able to use network resources to complete a variety of special effects.

For large companies, there are generally js programmers, but there are basically no small companies, either to programmers or artists. Artists are generally not programmers, and there is no programming foundation, so it is more difficult to learn JS, but it is easier to learn jquery, because the way css controls html is basically similar to that of jquery on html (what css,jquery has in common), so there are many companies that give special effects to artists to do.

Fifth, apache and other capabilities

Personally, up to the directory, there are still the most people who use apache to run php. Some time ago, many websites are arguing about how good NGINX is and how good it is to be 10 times better than apache. I think it's better to try it in person. Take apache as an example

1. To understand the stage, whether under linux or windows, you can install and configure apache and know how to add php. If the interviewer asks you why apache can explain the php code, what do you say? Have some understanding of the basic configuration of apache, can solve the problems encountered during startup, etc.

2, familiar with the stage, know how to add new modules to apache, how to rewrite url, hotlink protection, IP restrictions, etc.

3, very familiar with the stage, know how to use apache to cache pictures, can use apache to do load balancing, and know to use ab commands to carry out pressure, through tool log analysis, through analysis to optimize apache, know how to build multiple virtual hosts; practical experience in common modules of apahce, etc.

The monitoring and maintenance of apache is usually done by operation and maintenance personnel or project managers. I think it is best to know something, because in this way you will not be so easily fooled, and it is also very necessary for your future transformation.

VI. Linux system

Why master the linux system? Most of the websites written in php run under linux or freebsd, so mastering the linux system is good for your future development. I would like to take this opportunity to thank my good friend Wang Yang, who brought me into the world of linux. After coming in, I found that the world here is very wonderful. Now I basically don't use windows, and I will enter it occasionally when playing games. Under linux, you don't have to worry about poisoning. There are very few viruses under linux, and you don't have to worry about it. XX and XXX scan your hard drive. Ha ha

1, familiar with the stage, can install linux system, can skillfully use the common commands of the system, etc.

2, in the application stage, under the linux system, we can install and configure apache,php,mysql,svn,memcache,squid,lvs and other necessary tools for web projects, and be able to analyze their status through logs. Know something about shell and be able to write some simple shell scripts, etc.

Seventh, the ability to communicate.

This point is very important and has been ignored by more and more people. In fact, it is very sad to be a programmer, and the root computer has the most time to deal with. Perhaps because of this, it is quite difficult to communicate with each other. It is also possible that the brain is bound by the rigor of the program. If you speak it out, it will be too professional for others to understand. So usually communicate with others, especially the root non-technical personnel more collusion, more stand on each other's point of view to think, in this case, I think collusion will be much easier.

Thank you for your reading, the above is the content of "what php programmers should have the ability". After the study of this article, I believe you have a deeper understanding of the ability that php programmers should have, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report