PHP Programmer Experience

Source: Internet
Author: User

PHP Learning Planning Process 2008-10-22 17:23php Learning planning Process

1, see the Tutorial (February-March)

About 1 days and 1 chapters, such as the PHP Bible has 32 chapters, 1 months is finished, of course, the following chapters each chapter 1 days must not be seen, so 2-3 months is appropriate.

Look at the process of actually running the book in the example is necessary, do not ask why.

2, read the code of Open source system, see the source Analysis (3-6 months); Learn css, JavaScript (2 months);

Discuz, phpwind Forum Source code, PHPCMS, Dedecms source code, 1 systems read 3 months, two systems 6 months reading should be similar.

In fact, after learning PHP tutorial, read other people's system code a lot or do not understand, especially with the foreground related code, is because the CSS and JavaScript will not, these two do not have to learn too fine, read the source code of the same time, each 1 months almost most of the code should be able to understand what meaning, see more on the good.

3, Smarty template, framework, Ajax learning

The template in fact said that a few open source systems are used, but smarty more complete, the framework is now the team to work on the development of Ajax is the so-called web2.0 core technology.

In fact, I do not have to say, wait until I have to learn these 3 wishes of the time must have understood what is called PHP Web programming.


Several experiences in different stages of PHP learning process

First, HTML language

In fact, before learning PHP, HTML is necessary knowledge must be, the focus is three: 1,form form 2,frameset Framework 3,get and POST method

However, get and post seem to be the HTTP protocol definition, not HTML language, this HTML tutorial is not to say in the PHP tutorial will also have.

HTML Syntax Tutorial Softii.com.chm (119.21 KB)

Second, PHP tutorial

PHP Tutorial When everyone will encounter a few parts of the difficulties, the suggestion here is to see the jump, do not over-entanglement, will slowly naturally understand. Here are a few of my learning experiences:

1, Object

The object is not difficult, but too abstract, and involved in the concept of more, so beginners will certainly learn very depressed. Here is my understanding, the purpose is to deepen the reader's impression of the object, do not expect to be able to understand the code. Because to tell the truth, I did not formally use the object compilation process.

First, use the object to build the class first, and then create a new object through the class, then how to use the object.

Second, classes (class) consist of variables (variable) and functions (function), which are called attributes (property) and operations (operation), also called members (member) and methods.

Third, the constructor __construct () and the destructor __destruct (). __construct ()

Automatically executes when an object is created, without explicitly invoking it, and generally putting some initialization code.

Finally, there are many concepts, such as encapsulation, inheritance, overloading, etc., therefore, it is recommended that beginners learn the first time not to drill too much, after a lot of opportunities.

2, Regular expression

This is also a relatively abstract concept, dealing with strings, learned very very useful. Look at the attachment of the tutorial, speak very well, but do not understand is also very normal, first skip can, the next stage is a lot of opportunity to learn.
Regular expression tutorial. rar (48.82 KB)

3, exception handling Try...catch ...

This is not really complicated, but I was a beginner when I thought it was very mysterious, the results of the head bored for a long time.

Basically is the code when you think it may be wrong program, you put to try{...} And then in catch{...} Write a procedure that deals with alternate or remedial procedures for programs that you estimate might be wrong. The first time to learn to understand the line, beginners have no experience, almost not used, have experienced and did not see a lot of use.

4, Database

Database has a very large theoretical system, general programming should have a basic concept of the database. If not, you can search some tutorials to learn. Here is a brief idea of the hierarchical structure of the program.

The general procedure can be divided into several parts:
A. Display to the user to see and accept the user input part;
B. The part of the logical code that handles how the user is displayed and accepted by the user;
C. storing data section

According to the above 3 parts of the program is also divided into 3 layers: 1, the presentation layer (that is, the display layer), 2, the application logic layer, 3, the database layer (storage layer).

(1) for the interconnection program, the presentation layer is HTML-written to display the code part of the browser

(2) The application logic layer generally refers to how to accept the user's request (that is, click), to show the user what the code portion of the page

(3) Finally, the process of running a lot of data is to be stored down, this is the database layer (storage layer) Things

The above concept is just a concept of thinking, do not read or write the actual code is hard to partition which code is which layer. Hierarchical structure is the concept of system design, you have some experience in writing a certain size of the program will be used.

Of course, for beginners to mention that the storage of data does not necessarily use the database, text files can also. The role of the database is "orderly and efficient" processing "large-scale data."

Tip: Learning a database is basically about learning SQL statements.


Tutorials Recommended:

PHP and MySQL Web development (Original book 3rd edition)--known as the PHP Bible, I see this
http://www.china-pub.com/25384
http://product.dangdang.com/product.aspx?product_id=9003675
Full Manual: PHP network Development in detail-this feeling is more complete, PHP smarty template, the framework is involved in,
http://www.china-pub.com/25384
http://product.dangdang.com/product.aspx?product_id=20001887

Others also have a lot of good, to see their favorite choice


Php+mysql Environment Construction:

PHP and MySQL can build their own best, here is recommended a good integration of software: APMServ5.2.0
Http://www.google.cn/search?hl=z ... &meta=&aq=f
http://www.baidu.com/s?ie=gb2312 ... wd=apmserv&ct=0
Download down, MySQL has been integrated, support multi-virtual directory, very convenient

From:http://bbs.blueidea.com/thread-2891978-1-1.html
[Experience]30 years old, my program, my dream!
Program life: 30 years old, my programmer dream
Author: Redbridge (Snow burning)
I am now a good website programmer, all my knowledge of programming is self-taught. I have had the same stage as you, is the extreme lack of self-confidence, I do not know that they can not be competent to work, to interview a little bit of a confident. I have had hundreds of cover letters, but only 20 cretin interview opportunities. The effort to find a job, enthusiastic work for a period of time, the results are disappointed. Why? Because I found that my position was so easy that I could not play half of what I had learned. This is the job that you find not confident in yourself. But only after this stage can I really know myself and find my own direction.

As a web programmer with some experience, I can provide you with the following suggestions: If you want to be a good PHP programmer, MySQL database, Apache server is not to understand; PHP manual, MySQL manual must be read through; php/mysql/ Apache configuration file is to be able to understand, Linux does not understand it is OK, but if you are familiar with Linux, the level is not the same, also, as the basic knowledge of the Web site programmer, Html,css,javascript is also essential; to catch up with the trend, You have to learn Ajax. In the course of your study, you will find that you have a lot of other knowledge to understand.

Don't always think about how you are learning now, as long as you study hard, always towards your goal, one day you will suddenly find yourself stronger.
Now 30 years old, began to realize my programmer dream, from a programming enthusiast, from an amateur programmer, a low-level programmer, a half-way monk programmer ...
My experience here is over, five years jumped five times, do not know and everyone is not a lot of J, there is not much fluctuation, but I think a lot of friends may and I have similar experience, do not know whether can arouse your resonance. I want to give a summary of what I said above:

1. If you think you should pursue what, no matter what difficulties encountered do not give up, we must persist.
2. Do not spend time because you are young, play a little bit of SC, CS, Warcraft 3, Legends, magic or ..., read more books, practice more exercises.
3. If you are still in school, the English is very poor, professional classes are also very poor. It doesn't matter, how to learn computer computer how to learn it. The other place as long as can be mixed to the diploma on the line. Unless you have no confidence in your future. (Of course, if your ideal is not just to be a programmer, don't lose your English.) )
4. If you are not trained, want to change careers and do not know how to start, it is recommended that you first read two books: (1) Computer principles, (2) data structures and algorithms. (see the C language before looking at the data structure).
5. It is not too late to try hard, the key is that you understand to work hard, bloomer is always better than nothing.
6. Java,. NET, C + +, PB, VB, Delphi, compilation in the end should learn Which? My experience, which is the simplest to learn which one, the company with which you learn which, which and you are destined (such as just you know a willing to help you the Delphi Master) you learn which, if you are learning, or Zooey, I can tell you the results must be nothing, do not impatient air, they are just tools , learning the other one is connected to the other, it is important to master the idea of programming. If you ask me to object-oriented (as if it is now demand-oriented), UML, WebLogic, WebService, software engineering, XML ... how to learn, I am sorry, these I do not always, but please believe that you first actually write 100,000 lines above the code, Those things you will naturally slowly.
7. Do not assume that the programmer's salary is very high, the level difference between programmers is also big. The company's measure of a person's treatment is how much he can bring to the company. If you embody your own value, the company will offer you a raise, of course, you can also take the initiative, but must be after you show their value.
8. It is easy not to jump, if not to skip, but also to maintain the experience of the continuation of work, not from the beginning, or it will be like me to go a lot of detours.
9. If you think programmers are staying up late, then you are wrong, because the price of it is to shorten your youth! People do not like me, really, stay up a bit is not good! Remember old Mao words: such as constancy, why shift up, midnight sleep, the most afraid of Mo, three days fishing two days, naught!
10. This is what I feel the most essence of the point: "Gentleman sex is not different also, good fake in things also." The meaning of this sentence is a very high level of the person itself is not necessarily very clever, the key is that he is good at using other people's brilliant! I am here to do a reference, is to make full use of their own resources around, do not let go of any one can improve their chances. We do not misunderstand, the false in here is not meant to copy other people's source code, but to learn from others by the source of his ideas to expand into their own ideas.
Note: The top ten "essence" is purely my personal "fallacy", you look at the digestion, useful to accept, useless please drag into the "Recycle Bin." If you think these summaries are just flashy words, ask yourself first: "Are you really doing it in action?" ”
This is me, a not good, not diligent, play can play all night, learn to learn to study all night long, the pursuit of the dream is very persistent, to the 30 began to really write the program, a very ordinary but unwilling to ordinary people ... I believe that a lot of friends have had, I am not a successful person now, but I believe that my experience is worthy of reference, because I ultimately represent a kind of people.
Finally, I would like to say: Many friends now complain that China's software industry environment is too poor, the future is bleak. That's true, I feel the same way. But I think the software industry is just one of thousands of industries, every industry will always have ups and downs, China's software industry environment has her historical reasons, we do not always simply compared to India. Complaining does not make sense, it has been so, complaining can not help her to become better, we hope that each of us to contribute to their own strength, one day she will become better than India, and even better than the United States.
Finally: I hope all the programmers and the friends who have the dream of being a programmer will do well in the new year. Please believe me: Tomorrow is not necessarily better, but a good day will definitely come!

PHP Programmer Experience

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.