What does php write every day?

Source: Internet
Author: User
Tags php write
I learned php for a few months, but recently I found that I don't know what to do every day? It's boring ,. That's boring. Could you give me some advice? How can I study php in depth for several months, but I recently found that I don't know what to do every day? It's boring ,. That's boring. Could you give me some advice?
How to Learn php in Depth

Reply content:

I learned php for a few months, but recently I found that I don't know what to do every day? It's boring ,. That's boring. Could you give me some advice?
How to Learn php in Depth

After learning for a few months, you can start to build a project. It doesn't need to be large. During the process, you will encounter many problems and try to solve them. "It's not a solution, we also need to really understand the principles and then think differently. Is there any other solution 」

Of course, good memory is not as bad as writing a pen, don't be shy, write your problem into a blog, write down your problem solving process, and so on, you will get more. 「 Don't worry about writing too tall enough 」

...

Write so much on your behalf.

Focus on plan:
1. For example, how can I complete a message board within one week? Start adding and subtraction in the middle, finish a blog in the next two weeks, and finish An enterprise site in the third month.
2. Execution: How to maintain 8 hours of energy in a day, focus on one thing, and do one thing well.
3. Take a proper rest and allow you to take a walk to relax.

Instead of doing something interesting, you do something interesting. The "do something interesting about yourself" of the successful study is a margin deviation. You are only impressed with the interesting stories, and the correlation does not affect the cause and effect, this is a batch of two strings.

Are you sure you want to learn something, but in fact, you just wrote a kind of preference in the table, and your efforts to overcome the confluence are in addition to confluence.

Therefore, all you need is to be scaled out from the warm ones, which means that the simplicity and simplicity are also simple.

Seeing: Why does giving up treatment become a kind of treatment?

Suggestions for beginners of PHP

  1. Do not touch over-large projects and frameworks, such as Drupal and Wordpress.
  2. Do not learn too much object-oriented syntax
  3. Write web pages. Do not write strange command line scripts.
  4. The main result is that individuals can complete the results within half a day.

I know a person who recently used PHP to play public accounts. You can try it. This will not involve front-end HTML or anything. He started with Sina's SAE and wrote with relish.
Of course, you can also start with traditional web pages. If you can make it clear, you can use a front-end framework, such as bootstrap and jquerymobile.

I personally think that, after learning PHP for a few months, I have a basic understanding of PHP ~~~~~ At this time, no matter whether you are familiar with the basic things of PHP. Now we should try to combine what we have learned to do some small projects.
For example:
1. encapsulate a mysql class
2. encapsulate a page class (pagination)
3. encapsulate an upload class
4. encapsulate an image class
5. Write a simple message board for follow-up and reply.
6. Add the login and registration functions to the message board
7. Add background management operations to the message board
8. Add a meeting center to the message board so that the message owner can view their own message information.
9. added the Avatar upload function to the message board.
10. Add js verification to the message board
11. Optimize the layout of the message board
12 ...... and so on

I believe that as long as you have done the above functions step by step, you should be rewarded.

At this time, I believe that your understanding of PHP will be different. At this time, I tried to look at some open-source frameworks. For example: PHPCMS, DEDECMS... analyze the architectures of these frameworks and then learn the principles of these frameworks .... you need to manually construct the MVC framework later... this is almost the case. If you do not meet these requirements, go to the PHP source code ~~~ Write a PHP plug-in...

After studying for a few months, you should check whether you are familiar with namespaces and Composer. If not, hurry up and study.

I recommend CodeIgniter 3 and Laravel to learn more about the actual framework.

Find something you are interested in Thank you, such as writing a simple blog program out, I also learn PHP not, I wrote a small blog: http://www.ido321.com/1235.html

Write the message book, write the API, and write the collection.

Writing and collecting are the best. Imagine that every night when you go to bed, crawlers are working diligently.

I wrote a programmer's work clustering product: Code Job

You can start with small demands around you, such as online data statistics. Of course, you still need to constantly learn and explore the big improvement.

I suggest that you write a program that can bring convenience to others based on your surrounding environment, such as checking scores in the school, finding out what is missing, and working as a practical programmer. Your satisfaction should be stronger.

Secondary Development
Weibo api viewing
Write your own blog

After reading your answers, I will summarize the following:
1. starting from the actual project, write more code and encounter various problems in this process. Then, try to solve the problem and record the solution and process so that you can quickly solve the problem the next time you encounter the same problem.
2. You have to complete the project no matter what difficulties you encounter, and you cannot stop it. after the project is completed, you can view your code from the beginning. You will still find many problems. Don't be afraid. This is normal.
3. It is very likely that you have the urge to rewrite the project. Congratulations, you have made progress. Because you have the idea of improving the project, it proves that your technology has improved.

Building and learning some open-source php systems, such as dedecms, wordpress, and discuz, will be applied in many companies and schools and will be very beneficial to your future development. here we recommend a link to the tutorial for you to have a good look: www.dasheny.com

Currently, APIs are available for various websites. You can write interesting things based on their APIs. Of course, basic message books and blog systems are also supported. In fact, it depends on whether you have an idea. If you have an idea to write everything, it is quite uncomfortable to force yourself to write it without thinking. It is not recommended that you use PHP to write crawlers when getting started. Many people will let you use Python and PhantomJS to abandon PHP as soon as possible!

I feel that I can try to write something small on my own first, and then I will go to GITHUB and other platforms to check the PHP programs written by others and try to modify them myself.

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.