Do PHP programmers need to learn JavaScript?

Source: Internet
Author: User
I heard that JS is hard to learn. I think I am slow in learning technology and don't know what to learn. I am afraid that I have learned everything from the front-end and the results are not proficient. I heard that JS is hard to learn. I think I am slow in learning technology and don't know what to learn. I am afraid that I have learned everything from the front-end and the results are not proficient. Reply content: Why not?

If you have learned php well, is it any harm to learn javascript well?
If you haven't learned php well yet, is it any harm to learn javascript well?
If you do not learn php, is it any harm to learn javascript well?

No.

I believe that learning javascript can make you a better programmer, and you may also become a better php programmer. Because
  • If you need to write some js files in the project, are you waiting for others or writing them by yourself? If no one can help you?
  • Javascript is the dominant web Front-end language. If you only do not use javascript, you give up most of the front-end knowledge. It is not necessary.
  • Javascript is a language that allows you to gain insight into event-driven programming, which is rarely used in common php programs.
  • Javascript is a language that allows you to get into full use of function functions, which is rarely used in php programs.
  • Nodejs
Different Languages have different design purposes, code styles, ways of thinking, and the ability to learn multiple languages. They can help you look at problems from multiple perspectives. Bailey is just a question that you can absorb. Teach you how to familiarize yourself with front-end + seo + operations (skilled or not proficient:
1. Create a website with a single function (for example, create a rental network );
2. Each line of code is manually typed (copy rejected). You must write it manually. Otherwise, you will not make any progress!
3. Start SEO, find a way to increase the traffic, then improve the website, and make the website better;
4. Considering how the website is profitable, there are basically ads + others ...... If you want to learn it, you will not be pregnant. You can learn php. If you want to learn javascript, you don't need to enter JS too deeply at the beginning. After all, what you want to do is a PHP programmer, first, do a good job of PHP-related components. If you want to know about JS, you can learn about JS frameworks, such as jQuery. programmers should learn about js... I am ready to learn about the UI... There is no end to learning. You must learn it if you have time.

In addition, JavaScript is a required skill for network programmers. Learn PHP first, so that you can consider other things. JS is of course also a very important course for creating web pages. If it is simple, it will be used, and the website can be well done by using ready-made code, if you want to continue improving your performance in the future, you still need to learn more things. Therefore, it is better to be proficient first and then be familiar with other things. 1. You need to learn, because php will have a lot of data interaction with javascript. It is difficult to design an elegant API if you do not understand javascript.

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.