Web-No business pressure, just to broaden your horizons, is PHP worth learning?

Source: Internet
Author: User
Premise 1: I am interested in background development. premise 2: My roommate encouraged me to learn PHP several times and thought PHP would be almost required if I wanted to learn background development. Premise 3: I learn new languages, and I am more inclined to bring new ideas. For websites, PHP can do it. Ruby, Python... prerequisite 1: I am interested in background development.
Premise 2: My roommate encouraged me to learn PHP several times and thought PHP would be required if I wanted to learn background development.
Premise 3: I learn new languages, and I am more inclined to bring new ideas. For websites, PHP can do this, But Ruby and Python may not. In addition, there is no job or other pressure for the moment.
Premise 4: Although there is no employment pressure, we still need to consider the opportunity cost. If you have learned PHP, you will not have much time to learn other Web backend technologies. Therefore, PHP is worth learning. You must propose the advantages of PHP compared with similar technologies.

Is PHP worth learning? Why? After learning PHP, what are the inspirations for programming ideas and skills?
(For example, Ruby can understand what is pure object-oriented, abstract consistency design, and closure techniques. What does PHP bring ?)
Also, what are the advantages of PHP in development compared with other similar technologies?

Reply content:

Prerequisite 1: I am interested in background development.
Premise 2: My roommate encouraged me to learn PHP several times and thought PHP would be required if I wanted to learn background development.
Premise 3: I learn new languages, and I am more inclined to bring new ideas. For websites, PHP can do this, But Ruby and Python may not. In addition, there is no job or other pressure for the moment.
Premise 4: Although there is no employment pressure, we still need to consider the opportunity cost. If you have learned PHP, you will not have much time to learn other Web backend technologies. Therefore, PHP is worth learning. You must propose the advantages of PHP compared with similar technologies.

Is PHP worth learning? Why? After learning PHP, what are the inspirations for programming ideas and skills?
(For example, Ruby can understand what is pure object-oriented, abstract consistency design, and closure techniques. What does PHP bring ?)
Also, what are the advantages of PHP in development compared with other similar technologies?

If you are interested in learning, think too much, but delay your learning time.

The following is my opinion:
PHP is easy to get started, fast to get started, rich frameworks, high language maturity, and quick development of small finished products. However, optical php itself does not make much sense, because PHP can do more limited (at the initial level), basically adding, deleting, modifying, and querying. Many people have been confused for a long time, skip to other languages.
The development of PHP itself, on the one hand, is relatively simple website back-end, while learning js, both before and after repair, or pure write website back-end or mobile back-end API. On the one hand, search, big data, and server computing scripts are deeply rooted in technology, making them more difficult and more profitable. It depends on your choice.
The inspiration for ideas and skills can only be considered average. After learning Python, php, js, and objc, I feel that the biggest inspiration for me is js.

Now that you are in the selection stage, learn Python (the advantage of php is Quick Start

In my personal understanding, it is important to figure out the purpose of doing one thing. For example, why did you learn php first? Is technology valuable for the sake of technology?
Borrow a sentenceProgram = Data Structure + algorithm.Hope to help you.

Php is not a good choice simply to broaden its horizons, even if it has a wealth of open-source programs for learning.

Advantages of PHP development: debug is convenient, and the language itself is fast enough ~~ Faster than python and ruby.

However, for learning, there are basic languages such as Java and c, which are necessary for learning. java is particularly well known as the backend, and these static languages are much more efficient than python, ruby, php, and other dynamic languages.

For more information about resizing, see node. js + c. You can consider node multi-thread optimization (node itself is single-thread and multi-thread is implemented through c )~ You know, the server-side technology is difficult to understand. I am roughly divided into the following points: single thread (Synchronization <异步)<<多线程。或者学习ruby,ruby有很多很棒的特性,元编程什么的。< p>

You can select a specialization based on your interests.

I am a backend dog and cannot use any front-end skills in my work. However, the front-end is incredibly cool. I'm learning. I can't recognize it from HTML a month ago. Now I can write some simple special effects. I think it's a little excited.

Of course, learning php is the most important language. The above is a joke. The advantage of php is that it is easy to use, simple, and not complex. It is widely used.

Of course PHP is not worth learning. I personally think it is a waste of time to learn it. First of all, the subject is purely to broaden your horizons, that is, to consider a place where PHP is different from other languages, or even better. But PHP is useless in terms of language design. See Why PHP Sucks, PHP: a fractal of bad design and The PHP Singularity. Especially

What's depressing is not that PHP is horribly designed. Does anyone even dispute that PHP is the worst designed mainstream "language" to blight our craft in decades? What's truly depressing is that so little has changed.

I personally think the advantage of PHP is that it allows non-professionals to piece together a small website that can be run temporarily (Facebook or something is an exception ). However, after reading the topic description, I think the subject is actually someone with other programming experience, not a non-professional person. So for the subject of PHP, I did not see any need to study it.

As for the subject'sPreviously, my roommate encouraged me to learn PHP several times and thought that if I wanted to learn Background Development, PHP would almost be required.I can only say that it is short-sighted. I have never learned PHP and developed one or two websites. The same is true for my friends (we use Python Flask ).

As for the topic's wide vision. I think we can try to learn Clojure. It is a Lisp dialect on JVM, but it also has a web framework. Or Scala (twitter is in use and is a JVM-like ML language). It has a dedicated Play Framework for web development. These two languages are functional languages. Compared with imperative PHP, they only have to broaden their horizons and do not know how many things PHP needs.

Partially agree with the upstairs opinion. Wow, '{ω {}
If you have other language basics, such as C ++ and Java, learning php is an immediate task.
If you want to write php, you just need to search for built-in functions on the Internet. So, if you want to spend a few months learning php, forget it...
Of course, it would be nice to spend a few days to get to know and use php to build a small website to play with a language that can be mastered in your resume.

Learn javascript and functional languages. Besides, node. js can build backend and write shell. According to the ranking on Tianyi, php is declining badly. It is estimated that js will be able to take over in the near future.

It is worth learning and supports you to learn.
For some reason, refer to this answer.
Http://segmentfault.com/q/1010000000641825/a-1020000000641947

Well, I stepped on by the author of the original answer. Let's talk about my opinion.
Most people use static and strong-type languages, such as C and Java, which are not investigated and have no accurate numbers. If you haven't touched the scripting language before, it would be great to learn PHP. You will find that the expressiveness of the original scripting language is so powerful.

First you can see, oh, the original array can fill the element like this, it is really free to do
Learning to build a PHP environment is so easy,LAMP, OrLNMPDirectly installed and used on Linux, and the test results are very convenient.
Wordpress was particularly popular in the past few years. It is a sense of accomplishment for beginners to build a personal blog.

However, from the description of the subject, the subject cannot be considered as a beginner.
If you have learned PHP, you will not have so much time to learn other Web Background technologies.In fact, PHP is a language. With this language, you can learn more about other web Background technologies.develop.xxx.comFor exampleopen.weibo.com. Other background technologies are too general. RESTful, ruby on rails, and the convention style that saves complicated configurations (I don't know what this is called, that's good !!!)
Compared with other languages, PHP is simple enough to get started quickly, popular enough, and rich in Chinese documents (this is terrible ).

There is no harm in accessing this language. It is not necessarily your last language. You can try to contact it. If you like it, continue to understand it; if you don't like it, you can switch to a scripting language like Python.Broaden vision.

If you have not started node, we recommend that you check it out.

Thinkphp is suitable for college students and friends.

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.