Home > Article > Backend Development > Currently doing web front-end development internship, do I need to learn back-end language? Which language is better to learn?
Currently, do I need to learn a back-end language for my web front-end development internship? Which language is better to learn, php, java, .net, I am familiar with the basics of javase technology and javaee, I studied it in university
Currently, do I need to learn a back-end language for my web front-end development internship? Which language is better to learn, php, java, .net, I am familiar with the basics of javase technology and javaee, I studied it in university
Since you are familiar with Java, of course you should learn Java!
There are two benefits of learning back-end languages
First, be familiar with the http process. This will affect your thinking of cooperating with the backend in your future work. From this perspective, you can learn anything. The first thing is to be familiar with the grammar, but don’t force it if you can’t remember it. If you find it difficult Don't look at those heavyweight frameworks. Start with a simple look. If you feel very relaxed, or have a certain ability to study, or want to learn in depth, you can directly look at those heavyweight frameworks. In the process, you can think Why others design it this way will give you a sense of enlightenment.
The second is to cultivate your programming rigor, which is a good programming style. PHP was born for the web, but I think your purpose is not particularly suitable for learning PHP and Python, because they both have very flexible Grammar, and those static languages generally have rigorous and classic grammar. Later, if you go back to learn js, php, etc., you will understand by analogy. The cost of C/C++ is relatively high. C# of .net has a relatively advanced syntax system, but there are some syntax sugars and features that you will not use if you are not a .net developer. If you have a background in Java, then Java is recommended. It's best to simply compare them with each other, and you will definitely have a tendency.
In time, you will definitely be specialized in one language and understand N languages. When you are interested, just use the most convenient language tool for whatever you want. Therefore, don’t have any bias against language and framework. Don’t have any bias against language and framework. Don’t be biased by language and framework
Question 1: Do I need to learn a back-end language for my current web front-end development internship?
Front-end learning also requires learning back-end content such as the HTTP protocol, but the requirements are not that high. You only need to understand how the back-end interacts with the browser and how the back-end runs.
Question 2: Which language is better to learn?
Java, PHP, and C# are all languages with a good ecological environment. From the perspective of learning the backend, there is not much difference between the three. However, the .Net platform is currently not a good cross-platform development platform. Compared with Java, PHP has heavy historical baggage, confusing function libraries, and dynamic interpreted languages, which are all its shortcomings. If you don't learn it well, it is easy to develop bad habits in development. Currently, there are many teaching materials on the market. It is not the kind of very formal back-end development, and it is still stuck in the era of PHP4 or even PHP5. Of course, there are many standard PHP frameworks. For example, Laravel can be considered a typical PHP framework. It completely changes PHP through a series of design patterns, so much so that you don't even recognize it as PHP. Java's SSH (Spring + Spring MVC + Hibernates) framework is very classic and can be considered a model of core controller single entry. However, the SSH framework is very expensive and difficult to learn. First, you must understand the typical Java EE Web process of Servlet & JSP. Then you can understand how Spring MVC or Struts is built on such a simple standard. And you must at least understand the process of web server processing.
But for now, the frameworks of various languages are getting closer and learning from each other. If you learn a framework carefully and learn its process ideas, the frameworks of other languages are basically the same. Of course, I'm talking about the same kind of frameworks like Ruby on Rails, Laravel, and Spring MVC. As for back-end development such as Node.js and Golang, which are characterized by resident memory and independent processing of requests, it is another type. Node.js is great for novices learning web server processing, because PHP and Java have well encapsulated the bottom layer of HTTP, and operations such as obtaining parameters can be completed by calling only one command. It’s easy for newbies to get confused when learning. Node.js allows you to understand more about the processing of the web server. Moreover, Node.js is still in a period of vigorous development. It is not as difficult as PHP or Java to write a framework from scratch. After writing a framework from scratch, you will basically understand the back-end development process. (I'm referring to frameworks like Express. At the same time, I highly recommend Teacher Pu Ling's "Node.js in a Simple and Easy Way", but it is definitely not recommended for novices to read. This is a simple explanation, not a step-by-step guide).
Although Node.js is easy to use and fast to develop, it is definitely not recommended to write business services. This is because the JavaScript language itself is very "broken". ES5 object-oriented development is very difficult. Elegant handling of callbacks requires relying on third-party libraries. ES6 has made great improvements, but it still has historical baggage. And ES7 can only be regarded as a draft. Even if you want to use ES6 well, you still need to rely on a "compilation" tool like Babel. There is no unified module import specification. These are all constraints that prevent Node.js from being used on a large scale. In terms of languages, JavaScript < PHP < Java. As for performance, PHP, Node.js, and Java do not need to worry about performance issues, and their performance will not be a bottleneck at all. Because Node.js uses the V8 engine and compiles it into intermediate code, its performance even exceeds that of PHP. However, the performance of PHP is completely sufficient under the PHP7 platform.
Having said so much, it all depends on the subject’s own thoughts as to which one to choose. But here’s a thing to mention, I’m familiar with the basics of Javase technology and Javaee. Having studied it in college
can’t be used as a bargaining chip at all. Because the most you learn in college is Java SE, and Java EE is of little use before you actually use SSH for development
I gave a like to The Mountains and Rivers are Eternally Silent
, and I still came down to say: learn node for the front-end. The current best practice for front-end and back-end separation is also based on node. For details, please refer to Taobao.
After the poster adopted a certain answer, he sighed: This question is a subjective question.
It is recommended to use nodejs because it supports javascript syntax, so the opening times are much lower
It is best to learn a back-end language. The nodejs upstairs is a very good choice. Furthermore, you can try php. It is easy to master if you have a basic knowledge of C language. It combines the language features of C, Javascript and Perl. In one.
It’s easy to get started with node or php, python, but difficult to master. There are too many Java related things and there are historical issues
I am a front-end person, I recommend learning PHP
Thank you for the invitation. I think 山河久久
has answered very well. I think if you do web front-end, you must know nodejs, both of which are javascript.
I feel that you are more inclined to java, java is indeed powerful, but It is not suitable for rapid development. There is no need to go through this muddy water when doing front-end.
php is quick to get started with, hope it helps you
If you want to continue to develop on the front-end, just use nodejs
If you want to go full stack, just java
php or forget it, it will be a thing of the past
To be honest, you really can’t learn Java on the front end. Even if you are a professional Java programmer, you still need more time to learn it well. It’s almost impossible for front-end people to learn Java well. I’m not trying to discourage you. It’s better to choose node.js
The author’s learning spirit is worth reference. It is recommended to learn a simple backend language, such as PHP, to get started quickly. My site shares free PHP video tutorials, PHP system source code and website templates, as well as free PHP learning resources. I hope that we can communicate with each other more often, make progress together, and lead the way to become IT technology giants together!
Java is a rake