PHP learning path (1)

Source: Internet
Author: User
I have been studying PHP for a while, and I have always believed that the disadvantage of PHP is the poor code on the Internet, so in addition to viewing the construction of dynamic website E-75 video tutorials and computer science cs50 video tutorials from Harvard University, is to buy two books about php, author of PHP and MySQLWeb development: LukeWellingLauraThomson, and

I have been studying PHP for a while, and I have always believed that the disadvantage of PHP is the poor code on the Internet, so in addition to viewing the construction of dynamic website E-75 video tutorials and computer science cs50 video tutorials from Harvard University, is to buy two books about php, author of PHP and MySQL Web development: Luke Welling/Laura Thomson, and

I have been studying PHP for a while, and I have always believed that "the disadvantage of PHP is the poor code on the Internet ", so in addition to viewing the construction of dynamic website E-75 video tutorials and computer science cs50 video tutorials from Harvard University, is to buy two books about php, author of PHP and MySQL Web development: Luke Welling/Laura Thomson, and author of PHP and MySQL programming: W. jason Gilmore.

The course of my recent study has been somewhat stagnant. I have seen online comrades say that writing blogs on the Internet has greatly improved code writing. So I am applying for a blog in the blog park today, some of my views on learning PHP. Welcome.

Life is so lonely! Especially when you look at the code, your lover asks you what you are doing. There is a joke on the Internet that object search is more important than object-oriented development, but how do we explain objects to them?

Objects are ways to see the world from a human perspective. From a human perspective, everything in the world has a model as a base object. This model is abstract and serves only humans. Like a white horse or a non-white horse. A horse is an abstract conceptual model under which there are white horses, black horses, and zebra horses.

When writing code, we are building a small world like the human world. The difference is that the human world is composed of atoms, and the world of our architecture is composed of binary code. In this world of code, the conceptual model is the first element at the beginning of its construction.

I want to write a whole-Site program by myself. I think this website should be based on object-oriented programming. This development method is easier to implement function expansion. However, when it comes to the public classes at the bottom of the architecture, it seems difficult for me to make a choice. What kind of underlying structure is suitable for upgrading website programs in the future.

As we all know, websites are basically finalized from the very beginning. Its operation is basically improved and expanded on the basis of the original. Rebuilding a website project in operation from the beginning rarely or waiting to be rewritten in C language.

In my opinion, it is unreasonable to rewrite website code with php. php execution efficiency is much worse than c. To speed up the performance, rewrite the php code of the website. That is why I want to fish.

What we need to do for php is to build a basic model to speed up website construction and development based on this model. This is why we chose to build a site using PHP.

We need to use Defensive Programming methods to speculate on user input from the most malicious perspective. Even sacrifice access speed and code purity.

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.