is PHP studious?

Source: Internet
Author: User
Tags learn php php book php books php framework php mysql
All say PHP is quite simple. I feel so hard. Maybe it's the first time I've studied programming in depth.

Reply content:

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 ...

The above is actually the survival state of most of the bottom programmers in China. For those who want to enter the industry, we must first understand this: programming is not a high-level thing, the threshold is not so much, to attend training courses, a few months to half a year 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 strength, then the survival of the state is quite difficult, especially after the age of 30, temper and inertia is increasing, energy and physical but 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 static pages 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 full-time to do the front-end, PHP programmers must also understand, can change the CSS, will write basic JS effect, with jquery will greatly accelerate the efficiency of work, write the coquettish code.

Second Stage: PHP basic syntax. Master the basic grammar and figure out what variables, constants, data types, and familiar functions are. 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, all kinds of programming languages have its 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.

is like:

Original from: The original from: Know and Line

PHP Engineers only master PHP is not enough, do php people are talking about lamp development. Share an organized lamp development skill sheet. The present is not very perfect, the follow-up will be supplemented.
/ http blog.goody365.com/lamp/ lamp%e5%90%8e%e7%ab%af%e5%bc%80%e5%8f%91%e6%8a%80%e8%83%bd%e8%a1%a8v0.html PHP is easy:
1, PHP is very similar to C, so if you have the basis of C, learning PHP is not difficult, the syntax is very simple.
2, PHP is open source, the online information is very much.
PHP Tutorials Php:
PHP Manual
speedphp Framework, speedphp Rapid development Framework, Chinese PHP framework
Website source code download, A5 source code
http://www. php-open.com/
3, plus a PHP "bible" "PHP and Mysqlweb development" basically PHP to get started.
Another PHP is easy to get started, want to learn proficiency, but also need to continue to work hard in the future. I now feel that I know less. Let's work together.

———————— Split Line ——————————————————
Very ashamed to get so much approval, with their own work in depth, more and more feel that they learn less, understand less. Still remember just came to Beijing to a big data company interview, the interviewer asked me a question, recently read what books, I mention a few, like what from the beginner to proficient, interview officer a face helpless, exclaimed: You work three years, now also look at these books, like some basic MYQL usage, etc. should be seen in a year or two after graduation, After three years, you should see something deeper. After being trained, I found that I really read less.

Think of oneself before in a company, every day to overtime, after work also rarely systematic look at some of the professional aspects of the book, just sporadic need for what information, online check what information, not the system.
It feels like a programmer is staged, a stage of reading a book, can not be stalled. Never learned to program, will feel difficult, will linger for a while outside the door. When the day dawned, it felt simple. In other places the answer, sharing the personal experience that is still suitable for the problem, is reproduced as follows:
------------------------------------------------------------------------------------------------------
is now learning, committed to web development. have been learning for more than a year. I am liberal arts, starting with Zero Foundation, mainly watching videos. Share my experience. html css js php MySQL is learned in this order. Html+css recommended to see the Hanshunping "PHP from the beginning to Mastery," the first 22 chapters, sketchy learn HTML+CSS,JS recommended to see Hanshunping "Ten days JavaScript Course", after learning to use JS Tank war game. As for PHP, back to the "PHP from the beginner to proficient", this video is a classic PHP learning video, you can go to see the electric donkey evaluation, high praise. Then MySQL, you can see Hanzhongkang "5 days to play MySQL", adding and removing changes, left and right connections, sub-queries, triggers, stored procedures are in-depth to do the explanation. Apache personally think that learning to install the environment, will achieve pseudo-static, 301, such as jump can, do not need to delve into. If you really want to build a website, recommended to learn TP, tutorial recommended Sun Shuhua "Sun teacher 4 days with you learn TP", the author is to Yong Tatsu Mall for the project, with you learn TP. Say so much first, the others think up and add! However, the study is still to special one by one points, taboo too much perfection Oh! PHP in the end how simple, you watch this video (PHP video tutorial _php development environment Build video ) Just understand.
PHP in the end how difficult, you see this video (PHP video tutorial _php development environment Build video ) also understand.

Do not click the link, listen to me to finish the words.

You know, I am actually a science student, when I chew the physical and chemical life every day, has been envious of the same bedroom recite history lands friends.

Suddenly one day, the liberal arts students and I said, really regret to learn the arts, every day back things, bored to death, as you do the same as the brain Research, what Newton Second law, do not remember and simple to use just.

Therefore, each family has the difficulty of each family. We always felt that Bill Gates had a good life, but I didn't know he had any difficulty.

You are in the hole in PHP and find it difficult. In fact, if you learn Python, you will find Python very difficult. I still find it difficult to learn C language.

The simple meaning is not to say effortless, but to be able to learn with effort. What is really difficult is hard to learn, such as the nightmare of all college students-the high number. But the high number is still to learn, before you become a high-level program ape, you will find that it is necessary to make the high number of algorithms.

Well, I don't know what I said, see you. PHP is very studious to learn. But after you've only learned PHP, you'll find, however, that there's no egg to use. You also have to learn MySQL database, html,css,js,linux, even what memcache,redis,mangodb ... Studious, can say the feeling where difficult ah? See CSDN above an answer, copy up, for reference (original address: Please recommend PHP books, to learn PHP 100 points-csdn Forum-csdn.net-China's largest IT technology community ):
---------------------------------------------------------------------------------------------
More and more people are concerned about PHP, but the domestic PHP5 good books are very few, almost can say no.
PHP4 is going to be a thing of the future, so it's best to learn PHP directly PHP5. Here are the PHP5 books I think are better:

1. Core PHP Programming, 3rd Edition

This book is co-authored by PHP expert Leon Atkinson and one of the founders of PHP Zeev Suraski. Domestic has
2nd edition, Speak PHP4, but this 3rd edition also can't buy. The school library has an original, but only one
(now in my hand, a click). Very comprehensive, as a web programming knowledge, almost all include
The The most valuable part 4, speaking software enginerring, introduced the design, efficiency and commissioning,
It also introduces four kinds of most common design patterns, which are very valuable for reference. But after all, it was the 03 book.
PHP5 is still in development, so there are some things that are not entirely suitable for the current PHP5, such as namespaces (
PHP5 does not support namespaces). But his flaws, as a comprehensive book for PHP5, is very
Classic, can be used for getting started and can also be used to improve.

2. PHP5 Power Programming

This book is written by Andi Gutmans, another founder of PHP, specifically for PHP5. Personal feeling this book
Not suitable for learning, but very suitable for raising the reference. It took a lot of space to tell PHP5 's object-oriented mechanism,
But basically with the core PHP programming repeat, so look at the core and then look at these will soon, you can
As a warm so again. There is also a chapter about advanced object-oriented features in PHP5, such as iterators, Reflection APIs (
Reflection API, called introspection in other object-oriented languages, also introduces design patterns.
Unfortunately, as with the above book, are only the PHP features of the book, specific to the PHP advanced application
The actual combat is less, like the MVC pattern, two books are not mentioned, and these for PHP advanced programming is
Very important. The consolation is that this book also introduces a lot of PHP advanced features, like pear package, APC,
Apd,xdebug, and the use of Zend Studio, and so on, these are still very valuable.
In short, this is a very suitable to improve the use of books, like the core, is also the classic PHP books.

3. PHP and MySQL Web Development, 3rd Edition

This is the only can buy PHP5 books, Chinese translation, but the quality of translation is not very good, some sentences
Read it inexplicably. This book is more suitable for junior high-level PHP learning, and very practical, there are a lot of basic should
Good for getting started. In addition to database knowledge is very good, inside also talked about using PHP and MySQL
The problems that need to be taken into consideration when developing medium-sized projects, introduce many basic methods of software project management, very
Practical. The following chapters are some examples of the shopping cart (which I dislike most), mailing lists, content
The management system and the Forum's writing, but all is the foundation, does not have the advanced skill, therefore may seem to feel very uncomfortable
Service, hehe.
Inside there is a general talk about e-commerce security, you can refer to the next. Personal feeling pretty good content
is the MySQL section, basically covers the database Foundation and MySQL Foundation and advanced features, but confined to space, did not go
Speaking very deeply, the right to be a guide to getting started.
Because it is the domestic can buy, so many people may like to learn from this book PHP5, I do not think
Wrong. I recommend this book in short.

4. Essential PHP Security

This is a book about PHP code security, very need to arouse the attention of PHP developers. I think it's
A must-read book that will give you a cold sweat after reading it. There are so few people who are now focusing on security coding, for a
A professional PHP programmer, PHP security features must be well-written in the chest, and this book provides a very good view
Angle.

5. PHP Architect ' s Guide to PHP Design Patterns

I'm looking at this book and it's definitely very helpful for PHP5 object-oriented learning. There are a lot of
Design pattern, directly implemented in PHP language, allows you to one step the use of pattern ideas. The 17th Chapter
The MVC pattern in PHP, can be said to have a good head, very valuable reference.
Since not finished, so dare not to comment, but it is certain that this book for learning PHP5 Object-oriented
High-level programming is absolutely essential.
Chinese version of the domestic, Phpchina community translation, can be downloaded over the reference. In addition, it seems about
PHP design pattern of the book another, called "php5:objects, Patterns and practice",
Unfortunately, I Google for a long time can not find the download address, can only be done, hope to find in the future. Can be sure that this
And it's going to be a very exciting book.
And it's going to be a very exciting book.


Finally, the oreilly PHP book is not to be read, including the PHP founder Rasmus Lerdorf wrote
"Programming PHP" (now looks like the 2nd edition), is basically all the PHP manual in the east
West, there is no need to repeat wasting time. Like "Learning PHP5", "PHP Cookbook", to be honest.
I personally feel really just a subset of PHP manuals. Lately, it seems like a book that could also be seen as a subset,
The title was "Learning PHP and MySQL," and looked at it without looking at it. Not biased against oreilly,
Just because its books are all entry-level, there is no gold content, belongs to the kind that has been seen to throw. Think about K&r.
"The C programming Language" bar, hehe. If you want to join this PHP family, I am happy to welcome you, because I am also a phper, can be said to be gray often like, enjoy a kind of like the glory of the creator. PHP is a very simple language, the most important is open source, you can find in PHP a lot of words speculative friends, a lot of things will not hide, will share out Oh! Look forward to your joining!
  • 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.