Why did I suddenly think about php after two years of learning? I think it will be an addition, deletion, query, and modification. What else does php have?

Source: Internet
Author: User
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply: add, delete, modify, and query are determined by the business model. what is the relationship with php? but what if your problem changes?

The settlement system is very complicated. The order table cannot be run for one month. what should I do? batch processing? but I find that the boss cannot afford the money and the memory is not enough. what should I do, as a result, Hive of rich people needs to write 2000 lines of code to solve one sentence.

For the sake of performance, we decided to use Phalcon to discover a lot of pitfalls when building scaffolding. what should we do? read zephir and repair the framework to meet our needs.

The product manager keeps his head on his head every day. the demands raised today will change tomorrow, and the code to be written must be changed. what should I do? learn OOP and design patterns, and write the code perfectly, directly face the product dog.

The boss needs to write a push in a few days and use PHP. here we need to solve problems such as asynchronization, process scheduling, and socket programming. it is not good to use PHP. Fortunately, swoole is available, as a result, swoole ran for some time and the performance was still faulty. Finally, it should be solved using C/C ++.

Slowly, PHP can be used to solve the problem or the problem that is suitable for PHP to solve. there are still a lot of problems in the result. what should I do? find new technologies and new methods to solve the problem, in fact, what we mentioned above has never been solved by a PHP Technology. Mysql supports read/write splitting, database/table sharding, engine training, and distributed Spark, Storm, Hive, and Kafka, all of them need to be introduced to solve the problem when appropriate.

However, if the product manager needs to add, delete, modify, and query data every day, what should I do if I don't need time reconstruction to solve performance problems? Resign. otherwise, who will keep you, product manager? Although most of the content in this figure still involves adding, deleting, querying, and modifying Although most of the content in this figure still involves adding, deleting, querying, and modifying invitations, there is nothing left. you can simply add, delete, modify, and query... Of course, if you have time and interest, you can look at OOP, server, system architecture, and so on. Let me tell you a secret. workerman should not look down on adding, deleting, modifying, and querying, but should not think that it is done after the function is implemented. He must also think about how to optimize it and how to add, delete, modify, and query at the minimum cost. In addition, PHP involves many fields, including servers, databases, front-ends, and network protocols. do not limit PHP to the language itself. PHP is just a language.
But like a car, PHP can take you across the world.
Too much too lazy to say, their own vision, please refer to http://php.net Php is just a language, and there is no limit to related knowledge. it depends on how you learn it. it is definitely not as simple as adding, deleting, modifying, and querying.

There are more queries for addition, deletion, modification, and modification. do you have to think about how to save time? so you can write a class library, which can solve SQL operations. you can write an ORM yourself when using the class library.

With the help of the operator and template interpreter, the ORM is ready for your framework.
PHP does not only support database operations, but also has many advantages. Yes, it means adding, deleting, modifying, and querying. In the case of large data volumes and high concurrency, it can also better achieve addition, deletion, modification, and query.

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.