What are the different ways of thinking for web development using PHP, Python, and Ruby?

Source: Internet
Author: User
0 reply content :---
Update: Add a meteor react translation address.
---

I feel that the difference will become very small after a framework is used. You don't have to talk about writing native.

For example, PHP's Laravel and Rails are not very different. I am working on Laravel, but I have been familiar with Rail and I have written a little bit of Rails gadgets. After using it, I think it's almost the same. It's all about that set of MVC.

Python has never been used.

Meteor is recommended. The development thinking span of this product is really large. It is no longer the traditional "You want data for me" (the front-end asks for data in the background), but it is a very awesome socket for data transmission, and a local MiniMongo! The entire development process cannot be any better. I personally think it's a bit of futuristic technology.

I recently translated Meteor-react tutorial on the Meteor website.

AnnatarHe | AnnatarHe personal blog

But I still have to declare that I am Laravel! Haha, I don't think php is the best language in the world. I don't think python is the best language in the world, without ruby, you may feel like you are the only one that keeps up with the world's trends.
(Change Shen Wen's answer) php will think that php is the best language in the world, and python will feel full of pressure, ruby will think that he is the 23333 way of thinking that keeps up with the world's trends. He is a real guy, But now popular languages are more or less integrated, for me, the idea of programming has gone through several languages.
Php initially only injects dynamic vitality into html. It is good to stick to the mouse.
Python can both force indentation and duck-type activity, such as the Eastern philosophy, the middle way of Taiji
Ruby, the treasure-killing knife, which can be used by ordinary people to cut small fish and shrimps. It is used by experts. It is a kind of pleasure.
Refer to this document. Do not use Ruby.
PHP and Python
Python is not used for WEB development. PHP is still the mainstream, but it feels completely different.
This experience is almost the same as using JAVA to develop the WEB and using PHP to develop the WEB. experienced people can feel it.

Python is a complete scripting language, more like a programming language, and PHP is more like a WEB tool to implement business logic. PHP has done a lot of things for you, some things are not even done by PHP, but by Apache or Nginx.

For example, you do not need to consider memory conditions, threads, and processes in PHP. These questions have been taken into consideration by PHP. You don't have much data structure problems in PHP, such as no Array differences, such as SortedArray, HashSet/Array, and so on. You need to consider this in Python.

At the same time, you seldom consider such problems as concurrent resolution and event processing in PHP, such as epoll problems. Apache is still running nginx to help you manage these problems.

In PHP, You can implement PHP step by step.

Python requires more considerations, such as thread and thread lock.

Of course, considering these issues brings you many benefits. For example, when you are dealing with online chat, you can only rely on external systems to solve the problem in PHP when waiting for the latest news from others, such as redis, mysql and so on. In Python, you can use shared objects for better efficiency.

Therefore, the key to the problem is what kind of system you want to design, and you will pay less for it.

Of course, codenong's technology stack is the first factor to consider. Isn't the language selected based on the business and architecture? Isn't thinking close to requirements? Not a job! In fact, php is really good, less, but do more, the development efficiency is low in IT is intolerable, IT would be better to touch the underlying and Android

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.