What are the seven capabilities that php programmers should have (reproduced )? What kind of ability should php programmers have to achieve better work and a better development direction? In China, I think you are unlikely to write code for the rest of your life. after the golden period, what should you do? I hope the following points will help you. I. php capability 1. you can write some code at the stage of understanding, because it is done with the help of manual and google. Variable definition, N multiple functions are unknown, and it is very slow to start. think of seven capabilities that php programmers should possess (reprinted)
?
What kind of ability should php programmers have to achieve better work and a better development direction? In China, I think you are unlikely to write code for the rest of your life. after the golden period, what should you do? I hope the following points will help you.
I. php capabilities
1. you can write some code in the understanding stage, because it is completed with the help of the manual and google. Variable definition is messy, N functions are unknown, and it is slow to start. think of what to write, code writing is messy, and maintenance is troublesome in the future.
2. you are familiar with the phase and often look up functions. I have read the manual and done it twice. you are familiar with common functions. Later maintenance brings you a lot of pain. you began to find that your code has many shortcomings and began to think about how to plan your code from the project perspective if you improved your code, instead of thinking about what to write, knowing how to reduce redundant code, making your code clear, and knowing what kind of code is easy to write. the basic code specifications have been formed. In order to improve myself, I will go to some technical forums to study and study.
3. at the very familiar stage, I wanted to write well. now I don't know the degree of proficiency, nor did I hear people say they are proficient in PHP, so I am very familiar with it. At this stage, I think you have moved from process-oriented to object-oriented. I personally think the biggest benefit of object-oriented is that it makes the entire project functional, modular, post-maintenance, revision, and upgrade very convenient. Isn't development the same if there is no object-oriented language. in this period, you have studied one or more frameworks, and combined with your actual project experience, you can build your own framework in your mind. this framework is the most suitable for you. In addition, this framework can be applied to actual development to improve development efficiency.
If someone can constrain you to write code according to the idea of OOP when you write code, then you will meet the VIP. It is not that easy to change the code when it is difficult to develop code habits.
2. database capabilities
Mysql is the most widely used for projects using php, followed by pgsql. Because the two of them are free of charge. Haha, take mysql as an example
1. understand the stage, know what mysql is, write some simple SQL statements, design simple tables, and know how to use database management tools (such as phpmyadmin)
2. familiar with the phase, know how to write efficient SQL statements, understand the indexing principle, know how to create indexes, write some stored procedures, triggers, and so on, can be analyzed through various means, test the database. for example, you can use mysqlslap to perform stress testing. you can use explain to analyze SQL statements. by enabling slow queries, you can analyze which SQL statements really affect mysql running. you can use dbdesigner4 to analyze the impact of SQL statements, mysql workbench is designed as a database. it can query and analyze mysql environment variables in the command status to analyze the mysql running status and so on.
3. I am very familiar with the concept of different storage engines. I know how to optimize the storage engine by modifying the configuration file and how to optimize the maximum number of connections of the database, know how to optimize mysql I/o bottlenecks, add storage engines or plug-ins to mysql databases for project needs, know how to build database clusters, and monitor the running status of databases.
3. html and css capabilities
Php is a scripting language. In most cases, php is used as a website. although it is a website, it must be inseparable from html and css.
1. understand the stage, know what html tags are for, write html on your own through the network and manual, know what css is going on, and write some simple styles in html.
2. familiar with the phase. css can be used to design some simple la S. css can be written into files separately, and css syntax rules and inheritance can be familiarized.
3. very familiar with the phase, able to design good CSS and manage these CSS files to minimize redundant code. Know how to write code that is conducive to search by search engines, such as title, h1, and h2. And so on
For php programmers, it is not necessary for you to design pages, but to give you a page, you need to know how to modify CSS files, html should not be said to be sure to master.
IV. js capabilities
Improving user experience is an important sign that a website can stay with others. This requires JS.
1. understand the phase, understand the basic syntax of JS, know how to debug these programs, and write some simple functions.
2. I am familiar with the JS syntax, functions, and regular expressions. I can use js to write special effects and find that JS is used to write special effects, this is a very tiring thing. I started to try jquery and prototype and explain some basic syntaxes of jquery and prototype. I am personally opposed to the JS framework like jquery and prototype without learning JS.
3. very familiar with the phase. with the help of the framework, I can skillfully write code with the idea of OOP, instead of accumulating functions one by one. I am proficient in using jquery and prototype ajax, or some ajax frameworks on the Internet, such as (ajaxrequest), do not directly write the active control. You can use network resources to complete various special effects.
For large companies, JavaScript programmers are generally involved. small companies basically do not have them, either to programmers or to artists. Generally, artists are not programmers and have no programming Foundation. Therefore, it is difficult to learn JS, but jquery is easier to learn because css controls html, similar to jquery's html control method (Similarities between css and jquery), So many companies hand over the special effects to the artist.
5. apache and other capabilities
I personally think that apache is the most widely used for running php until the directory ends. apache is used as an example.
1. you can install and configure apache in either linux or windows, and know how to add a php model. if the interviewer asks you why apache can explain the php code, how do you answer this question. Understand the basic configuration of apache and solve problems encountered during startup.
2. familiar with the phase, know how to add new modules to apache, how to rewrite the url, anti-leeching, IP restrictions, etc.
3. familiar with the phase, know how to use apache to cache images, use apache for load balancing, know how to use the AB Command for pressure, and analyze logs using tools, through analysis, we can optimize apache and know how to build multiple virtual hosts. we have practical operation experience on common apahce modules.
Monitoring and maintenance of apache is generally done by O & M personnel or project managers. I personally think it is best to know a little about it, because it is not so easy for you to be fooled, it is also necessary for your future transformation.
VI. linux system
Why should we master the linux system? Most websites written in php run in linux or freebsd. it is better to master the linux system for future development.
1. be familiar with the phase, install the linux system, and be familiar with common system commands.
2. in the application phase, you can install and configure apache, php, mysql, svn, memcache, squid, lvs, and other necessary tools for web projects in linux, it can analyze its status through logs. Be familiar with shell and be able to write some simple shell scripts.
7. connectivity
This is very important and has been ignored by more and more people. In fact, as programmers are quite familiar with it, the root computer has the most time to deal with it. maybe it is because of this, it is difficult, or it may be that the brain is bound by the rigor of the program. what you say is too professional, and others may not understand it. Therefore, it is easier to communicate with others, especially non-technical personnel.
From: http://blog.51yip.com/php/1153.html?