is PHP studious?

Source: Internet
Author: User
Tags learn php php framework
is PHP studious?

In fact, compared with other languages, just PHP and C language compared to a lot simpler, and the threshold of learning PHP is not high, only need to set up a good server environment can be programmed, a piece of code can also be directly in the browser to see the results of the operation, rather than the C language as the compile and run.

But! Before you begin, ask: friend, are you really going to study PHP?

Perhaps, your ideal programmer is this: high IQ, high income, tapping the keyboard, drinking coffee, listening to music will be able to develop the same products like God, as if there is no task in the computer world they do not work. But in reality, it's possible that:

All day to the computer, do outside people may seem to be advanced but actually is the ctrl+c,ctrl+v of the work, with no end of the class, but also affixed to the ' yard ', and even the ' yards of livestock ' label ... To

is actually the survival state of most of the bottom-level programmers in China. For those who want to enter this industry, we must first understand this: programming is not a deep matter, the threshold is not so high, to attend training courses,

A few months to half a year will be able to have the ability to practise. But if only stay at the primary level, do not think enterprising, and in addition to code code, there is no talent, then the survival of the state is quite difficult, especially to the 30-year-old

, temper and inertia are increasing, energy and physical strength are declining, the situation is even more embarrassing.

And those programmers who have been able to stay ahead and learn new technologies and are not limited to technology are growing in value, and a few years later when technical director, Project manager, spare time, or full time freelance developer, truly is quite comfortable. If you continue to have the determination to learn programming, then let's talk about how to learn PHP.

Want to learn a skill, first to know what this skill is, what is the use of, especially for 0 basic and want to learn or career as a PHP programmer friend, but also should have a general understanding of PHP, because learning programming is a need for a lot of patience to adhere to grasp the matter, although the difficulty is not big, but need to accumulate the practice. Many people because of curiosity and learning, halfway and because of boredom and boring and give up. Halfway is the most regrettable, not only to naught, but also to their own learning new things of confidence caused a blow, feel that they are not learning programming material. In fact, PHP in many programming languages, relatively easy to use, it is suitable for beginners to learn. It's entirely up to you to learn how to be diligent in PHP. The problem is first to find out the reasons for themselves, this is the prerequisite of the programmer's accomplishment. The execution of the program is not wrong, the bug must be caused by the programmer's mistake.

PHP is most widely used in the web, and most small and medium-sized websites are made in PHP. Simple to master PHP is not difficult, difficult on the PHP programmer must understand the front end, backend, database, server. The specific learning sequence is:

First stage: Literacy. Understand what is the B/s mode, the principle of knowing how to enter a URL from the browser is how to get the flow of information. Familiar with HTML, can quickly write a static page with Div+css,

Familiar with JS, master jquery. In a lot of small companies, PHP programmers are even the front-end of the work done together. Even if the company has a full-time front-end, PHP programmers must also understand, can change the CSS,

Will write the basic JS effect, with jquery will greatly speed up the efficiency of the work, write the coquettish code.

Second Stage: PHP basic syntax. Master the basic grammar and figure out what

variables, constants, data types, familiar functions. PHP's Library of functions is particularly rich, not all of them can be remembered, but at least the usual functions on the manual are practiced several times, and later need to be used to make an impression. Do not write for a long, only to find that the original function with a built-in function can be solved.

The third stage: database, Web server learning. PHP's best partner is: Mysql (Database), Apache (Web server), for Apache, usually less operation, understand its configuration can be. And MySQL is especially important. Early know how to use PHP operation MySQL to increase the deletion, understand the commonly used MySQL optimization principles, can use Php+mysql write a simple message board page.

Stage four: Php drilldown. Mastering Ajax asynchronous transmission, learning object-oriented, learning the MVC framework and mastering the popular PHP framework, such as YII framework, the domestic thinkphp framework, to form a good coding habit. Can quickly develop web sites with frameworks.

The fifth stage: the optimization technology of the large-scale website: such as page static, memcached cache technology, MySQL database depth optimization and so on.

The above five stages are only PHP beginner to intermediate level, far from the advanced level (acting as a web architect) and still a long way to go. And not just learn a PHP can do everything, PHP is not omnipotent

, various programming languages have their advantages and disadvantages, the language itself is not the difference between the high and low, language is just the tool to implement the function. If you can achieve a high level (mastering multiple languages, proficient in one or two languages), you will find that the language itself is not important, the programming idea is the most important. If the simple language of the ease of speaking, PHP is obviously more than the other language to be easy to understand some.

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.