The Hacker Empire PHP and ASP.net had to tell the story

Source: Internet
Author: User
Reluctantly, with the lessons I've learned over the past few days, I've come back with a chicken tilt.

Oh, why with the hacker Empire on the relationship, oh, this must be from the ASP.net encapsulation

In the matrix, all of them think they live in a world of sunshine and green, but they are actually a kind of illusion and control constructed by matrices, they don't know they've been living in a nutrient container all the time.

It's like asp.net people, like the people in the nutrient containers, surrounded by a variety of class libraries constructed by MS, they never thought about how these libraries came from (how these namespaces came), they only cared about how to use them, and how few of these namespaces were implemented at the bottom.

They instantiate the class library provided by MS, invoke the image method that MS has already implemented, but no one has seen the source code of these libraries or how the methods of class libraries and libraries are implemented, as if the people in the matrix have never tried to open their eyes to the outside world. They only live in a virtual environment.

How similar the two are

Call Ajax, for example, In ASP.net, the reality of Ajax is so simple, if it is not before contact with other Web programming language directly to use ASP.net, he may not know the original web to achieve Ajax through JS, to pass the XML, through the XMLHTTP, he will only feel that the web can be such a son, his thinking to M The illusion of S virtual construction was clouded.

As if people living in the matrix computer in the hacker Empire can jump a few dozens of meters, they may feel very normal, but the reality is not the case, in reality that is not normal.

For example, a tree-like menu, dynamically loaded

In PHP (which is supposed to be the norm) we want to implement the tree menu

Assuming we don't know xloadtree, we might want to brick, so we know very well how each click triggers what event, what is hidden, what is displayed, what is transmitted, and the trigger of each event is our custom

Later know that there is a Xloadtree class library, we can easily implement the tree menu, and by looking at the source code we can easily understand the process of JS implementation of these functions and principles.

But in ASP.net, to realize how simple it all is, just drag the TreeView from the control bar to come over, you need to know JS? Do not need, although the end of the browser to achieve all of this is using JS, but, you do not need to understand JS, you just need to know how the TreeView control how to use the line, that is, you will not know how the bottom is going, the final JS is how to achieve.

Late at night, sleep, do not say ~ left to let's

————————————————————————

Remark: I have no intention of judging the two languages, who is inferior that is a stupid person's ability, I just feel confused, I just in the process of learning asp.net the new things and PHP to compare, with my MS affected by the thinking and the conventional web thinking to compare.

"Masturbation" said, I do not count to win the public long?

Ha ha, joking, this sentence is just to make everyone laugh

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.