I have been learning php for a long time. Why can't I understand it?

Source: Internet
Author: User
Tags api manual
I have been learning php for a long time. Why can I understand it? but I cannot write it for a long time. Why can I understand it?


Reply to discussion (solution)

Practice is too small.

Every day is in the middle of the TNT, or in the movie, you can learn to blame, ah. I am not saved.

Could you learn to swim if you watch other people swim all day long?

Well, I also felt this bad problem. I will change it slowly. I want to ask a teacher to take me with me. do you know if anyone wants to, qq1473511367

In fact, you did not really understand it!
You understand how people do it, but you don't understand why people do it.

Exercise missing!

More hands-on, write more, naturally think more.
I have never heard of people who watch too much TV. will they become silly.

No matter what language you want to learn, you must perform more operations.

I understand the process, understand the requirements, but have no idea, so when someone else says or sees similar code, they will suddenly understand

No exercises.

Ps. part of the reason I made this forum is my hands-on

The same is true for me. I have been learning PHP for two or three years.

After reading it, you can just put the entire process in your mind and try again...
A function is a part that assembles a part into a machine to produce what you need.

So you need to figure out where I start and where I start...

Typical ?? Right
You see? Human generation ?? Most of them ?? Yes? Persons? With your thoughts
And you don't have to think much about it yourself? Cheng

In fact, you did not really understand it!
You understand how people do it, but you don't understand why people do it.


The moderator is right. I feel like this,

I used asp.net + mvc in the past. I have been familiar with it for several years.

It took more than a month to get started with the edi project of j2ee + oracle after job hopping. I feel a lot of changes, and I am not used to it. Although the framework can help me with some things, it is still very difficult.

Now, I am just starting to build php, and it will take about a month to complete. My experience mainly comes from two aspects:
1. wordpress, you can try to build a blog by yourself, start to train your hands from simple theme production, and then there are plug-ins. this is helpful for writing php, and you will be familiar with php when writing it.

2. codeIgniter framework. I am currently working on projects based on the framework. there are actually many frameworks, such as YII and ThinkPHP. one advantage of the framework is that many methods are encapsulated, you can use the API manual to quickly get started with development, such as database calling, caching, and routing configuration. if you want to learn more about the principle, you can link to the source code corresponding to their methods.

Quick start with the framework. Accumulated experience and handwriting. This is simple. The language is the same. what matters is your coding design philosophy.

Do not smile.

Make multiple contacts and create a simple news publishing system independently. if you do not know how to contact others

Likewise, it seems that it is good to knock on the keyboard multiple times.

I used to learn php for half a year. later I spent money on brothers for training. In fact, the teacher talked about the things on the video, but the atmosphere was different. At present, I just started to study the advanced stage, it feels okay ~ The project will be written in another month ~~

The book has come to an end, and I know that this is a must.

Less hands-on !!!!!!!!!

In fact, you did not really understand it!
You understand how people do it, but you don't understand why people do it.



I don't know why. I know what this is and why it is done.

Do it yourself ..

More hands-on .. At the beginning, you can write more Chinese ..... Then translate it into code...

Start now ·~

Write too little. When I first started learning, I had to write some small programs before I could write big programs. Implement implementation in different steps and overcome difficulties one by one.

People who have mastered programming skills can learn a new language. In fact, this is the fastest way to learn it. It is more useful than reading books.

The back-to-back Code is easy to understand.

Thinking is the most important thing.

In fact, they are similar. I feel very unfamiliar with my hands. sometimes I don't understand what others write.

There are too few practices. PHP is so simple that no one can understand it. you have to do more.

Move your hand!

Because there is no direction.

After reading this, I want to explain it to myself: why do I need to write code like this?

You know how but do not know why.

Study php well, not impetuous, not inferior. Down to Earth!

Haha! By the way, I wrote N programs, but reading other people's code is often the first big

I think so. after reading the comments from the upstairs, I feel that I am not doing this myself. I have learned php for more than half a year, but I am still a beginner. I can understand the code, but I cannot write it myself.

You still need to do more ......

Frozen hand? Frozen hand!

Let's do something simple to publish news first. it's very simple. you can contact me. I used to come here with 676819546 macy.

Like playing chess, what you can understand is that the horse goes to the sky like a flying sky ~
Let's take a look at it and write more ~

In fact, you did not really understand it!
You understand how people do it, but you don't understand why people do it.

Or write more ......

Just write a few more times, just like when you read it, once you don't understand it, twice ..........

It's not that difficult to practice more.

More hands-on .. At the beginning, you can write more Chinese ..... Then translate it into code...





Write some Chinese... Is annotation .. Write at will. You can write some ancient poems .. Internet buzzwords or something

Attention is a pure inspiration .. Write it impulsively .... Then understand .. No purpose
USD I = 99999;
If ($ I = 99999) $ I ++;
Else {$ I = 0 ;}

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.