PHP developers often commit to 10 MySQL

Source: Internet
Author: User
Tags php framework

first, a calm state of mind

Like all programmers, to write a good program, no good mentality is not.

Do not be impatient, do not give up lightly.

In the process of program development, especially junior high school programmers, write the program or architecture will encounter a lot of problems, some of which are more mentally retarded, and some problems have not met, so not too impatient, should be one by one to troubleshoot the original source of the problem, to kill it. An impatient mindset to develop a system is not responsible for the project. Impatience will make people learn to do, let people learn to escape. And I personally Beijing two years of simple life, give me one of the biggest experience is: my mentality more calm.

Believe that this mentality will also help you in other aspects of the ability to do things.

Why the mentality included, I want to explain: it is different from the function of sales, need a great passion, but need to think quietly.

two or one sets of problems solved in the heart

Once a developer of the development of a colleague in the QQ signature wrote: Each To solve a bug, give yourself a promotion. Indeed, there are no programmers who really solve countless bugs or problems, no experts, no senior programmers. And a senior programmer is from this problem-solving process to constantly experience their own, forming a set of heart problem-solving ideas, so that their strong.

I also briefly talk about the development of PHP programmers often encounter some problems, if you have not met or rarely encountered, then you are two extreme people: either beginner, or advanced, haha.

    • 1, coding problems.

    • 2, PHP and SQL database execution efficiency issues.

    • 3. Session and Cookie domain and encryption parsing problem.

    • 4. Order of execution of the program.

    • 5, the application of multi-environmental issues.

    • 6, the construction of classification and structural design problems.

    • 7, String processing problem: Regular expression processing or simple PHP string processing function to handle.

    • 8, the various template engine writing limitation problem.

    • 9, PHP and web-side data interaction issues (such as Ajax, interface calls, etc.).

three, excellent basic knowledge of PHP

There is no perfect basic knowledge of PHP, even if the mentality is good, the ability to solve the problem is strong, can only be armchair.

The basic knowledge will allow you to be in the process of project development.

I will also briefly say what is the basic knowledge that PHP engineers should have (in fact these are common in recruitment requirements):

    • 1, grammar rules, this does not say, this will not, there is no introduction, hurriedly buy a book or find a website to fill.

    • 2, MySQL all kinds of SQL statements, additions and deletions to the basic do not say, in (), Union,left (), the left Join,as,replace,alter table,where field sorting, various indexing methods to be particularly familiar with.

    • 3, will build their own lamp environment and WAMP environment, with integrated software one-click installation does not count. Development process, for their own development of the environment structure is not clear, how to troubleshoot problems? So at least use the opposing MSI file to install the development environment you need. Install 3-5 times Success, this is OK, you will have to install a variety of extensions, configure Apache services, know the various parameter settings and know how to set various parameters; Linux operating system basic commands.

    • 4, familiar with the web aspects of other programs, because PHP is not a completely independent thing, he is a and other languages and elements to complete a project, if the other languages and elements are not familiar with, in the team collaboration process will be very laborious. These other elements include: Html,javascript,jquery,xml,http protocol, regular expression, and so on.

Iv. Integrated Internet applications and project management knowledge and literacy

1, knowledgeable, good at learning

Only self-study, not to look at, to learn the practice of others, will be like the well-off, difficult to see the vast sky; So, do not be obsessed with programming every day, learn to take some time to see some large open source system architecture ideas, as well as the construction of large business sites. To learn from them, to supplement their own shortcomings.

For example, at least know what kinds of open source systems are available, such as Uchome,dede,phpcms,wordpress,discuz, empires, and so on.

See more, you will also summarize some of the conventional ideas, such as caching mechanisms, such as template mechanisms, such as static page generation and so on.

2. Project Solution Selection

Different needs, with different institutions and selection. It is often said that the "punches, soldiers to block", some of the structure is strong, but for small projects will be very difficult, that is, the murderous need not sledgehammer. It is important to choose according to the requirements.

Selection is not casual can be fixed, need a PHP programmer for good Reserve, personally feel at least need the following reserves, to have the ability to choose:

    • Proficiency in the application of at least one PHP framework, two-three PHP open source system;

    • Have their own set of application systems.

3. Good project management accomplishment

Project is not always in the development process, the project will enter the operating period, maintenance period, so that with good project management literacy will make the project more stable and controllable.

Good project management literacy includes:

    • Good project development and maintenance habits, remember: do not for a moment of effort, resulting in repeated work after repeated. Always remind oneself will work flow, process planning, standardization simplification.

    • Good multi-person cooperation management awareness: The project is not a person, is a product of multi-person collaboration, but also to serve the public, therefore, to enhance the sense of cooperation, so that the relevant personnel together to improve the project.

4. Rich experience in project development and application

Study theory, to test or examination is the thing in school, no project experience, like full belly scripture, spit also difficult spit.

This requires the actual project to learn to translate their knowledge into the needs of the realization.

5. Good Development Code

    • Code readability: Object, method, function comment, a set of mature naming conventions.

    • Code redundancy Bottom: The reuse of programs and files is large, cohesion, low coupling.

    • High execution efficiency: Use the simplest program flow to achieve application requirements, do not disturb the big bend.

    • Code security Good: To be a vigilant programmer, any user input and upload files in the place to be extra cautious, perhaps a programmer's momentary negligence will cause a system to crash in an instant.

In addition, a few more words, PHP Senior engineer, in fact, for a slightly can adhere to, and like PHP is not too difficult, it is difficult to learn to use tools to achieve ideas, whether it is their own ideas or the needs of others, learn to transform.

PHP developers often commit to 10 MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.