Why did you learn PHP for two years, suddenly recalled, think also will be added and deleted to change, php what content?

Source: Internet
Author: User
Tags learn php

Reply content:

Adding and removing changes is the business model, and what does PHP have to do with it, but what if the problem you're facing is changed?

Settlement system complex ruthless, order form a run one months is not complete, how to do, Batch bai, but found that the boss can not pay the money, memory is not enough to run, how to do, and then split Bai, the result of a rich man hive a sentence to solve the problem need to write 2000 lines of code.

For performance, we decided to use Phalcon, scaffolding when found a large pile of pits, how to do, read Zephir, repair framework to adapt to demand.

Product Manager every day to shoot the head, today asked the needs of tomorrow change, write good code to change, how to do, learn oop, design patterns, the code is impeccable, the expansion of a good force, directly hit product dog face.

The boss will be a few days to write a push, with PHP, here to solve asynchronous, process scheduling, socket programming problems, with PHP is not very good ah, fortunately there are swoole, the results Swoole ran some time performance or problems, and finally to use a C/s solution.

Slowly, can be solved with PHP or to solve the problem with PHP solved, the result is still a lot of problems, how to find new techniques to solve the problem, in fact, it is never a PHP technology can be solved, MySQL read and write separation, sub-database sub-table, Engine tuning, Distributed Spark, Storm, Hive, Kafka, and so on, all need to be introduced to solve the problem at the right time.

But if the product manager every day to make additions and deletions to change the needs, do not give time to restructure to solve performance problems? Resign Ah, otherwise after a few years level still so water who raises you, product manager? Although most of the content of this picture is related to adding and deleting Although most of the content of this picture is related to the addition and deletion of the changes to the invitation, nothing, adding and deleting changes to write well on it ... Of course, if you have the time and interest, you can look at OOP, you can look at the server, you can look at the system architecture and so on. Tell you a secret, workerman do not underestimate additions and deletions, do not think that the realization of the function of the finished, but also how to optimize him, how to use the minimum cost to delete and change. In addition, PHP involves a lot of fields, servers, databases, front-end, network protocols, all aspects should be covered, not limited to the language itself. PHP is just a language.
But PHP, like a car, can take you to the Quartet.
Too lazy to say, their own vision to please refer to / http php.net PHP is just a language, but the relevant knowledge is infinite, it depends on how you learn the absolute not to delete and change to check so simple.

Additions and deletions to find out more, there is no consideration how can be more convenient, so you can write a class library, class library can solve SQL operations, class library used to bother you can write an ORM yourself.

The ORM has a way with the operator and the template interpreter, so your frame is out.
PHP does not only operate the database, there are many useful places. Yes, it is to delete and change the search. In the case of large data volume and high concurrency, it is also possible to better implement additions and deletions.
  • 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.