I heard that JS is very difficult to learn. I think I learn the technology is very slow, do not know that need not to learn so many things. Afraid of their front-end back end have learned, the results are not proficient.
Reply content:
Why isn't?
If you learn PHP well, is there any harm in learning JavaScript?
If you haven't learned PHP well, is there any downside to learning JavaScript?
If you don't learn PHP, is there any downside to learning JavaScript?
None of it.
I believe that learning JavaScript will make you a better programmer, and it might make you a better PHP programmer. Because
- If the project needs to write some JS, you are waiting for others, or write yourself, if no one can help you?
- JavaScript is the dominant language of the Web front-end, if you only do not JS, it is tantamount to give up most of the front-end knowledge, not necessary
- JavaScript is a language that allows you to get in touch with event programming (Event-driven programming), which is rarely used in normal PHP programs.
- JavaScript is a language that gives you deep exposure to functional functional-programing, which is rarely used in PHP programs.
- Nodejs
Different languages have different design purposes, code style, way of thinking, learning multiple languages, can help you to look at the problem from multiple angles, Gabriel Ah, just can you absorb the problem only. Teach you how to operate both front and back +seo+ (proficiency is not proficient) method:
1, do a website (function to a single, such as to do a rental network);
2, each line of code is you personally knocked (refused to copy), must be if you please hand-written Oh, otherwise you do not progress!
3, write well after start SEO, ways to improve traffic, and then improve the site, the site to do better;
4, consider the site how to profit, basic advertising + other ... Learn, learn and not pregnant you can learn PHP, then learn JavaScript is not at the beginning of the first do not need too deep into JS, after all, you want to do is a PHP programmer, first do a good job of PHP related bar. JS want to know, you can learn the JS framework, such as jquery. Do what programmers have to learn JS ... I do the UI is ready to learn ... Learning, there is time of course must learn.
Add, JavaScript is an essential skill for web programmers. Start with PHP and think about the rest. JS on the Web page is also a very important course of work, if it is simple to use, using out-of-the-box code can also be done well, when you want to continue to achieve a certain degree of improvement or need to learn more things, so it is better to master the same again contact another good. 1 need to learn because PHP has a lot of data interaction with JavaScript. It's hard to design a more elegant API interface If you don't understand JavaScript.