[Introduction to ASP. NET] Abstract power-evolution of WEB programming ideas

Source: Internet
Author: User

Abstract power
-- Evolution of WEB programming ideology

An hour later I read a story: the three scholars want to take an exam in Beijing and ask a monk about the prospects of the three. The monk sat down as a mountain, and finally slowly stretched out. As a result, the three students had a long debate on the road. I don't know which one of the old monks would name the title on the yellow list. However, when the three were both in high school, I was so happy that I couldn't help but doubt the old monk's authority. After the three men returned home, they asked the old monk, the old monk and the terminal sat as a mountain, and slowly said: "The three are in the middle, and the three immediately fainted.

■ ASP programming ideology-write eight articles
Ms rushed to launch ASP technology under the impact of Java technology. If it weren't for the dominant position of the winserver operating system, the crude ASP would not be able to gain a firm foothold in the 20 years of OO implementation, C ++ and Java.

We can see from ASP technology the evolution of Programming Technology for decades. The first ASP program written by most people is to insert <% = "Hello, welcome to ASP world! "%>, The instant impulse has been supporting ASP programmers from outputting webpage content to outputting webpage structure to outputting webpage script program learning process, as long as you have a certain understanding of HTML syntax structure and database, if you are familiar with one or two programming languages, you can quickly get a few websites. If you still need PS and flash, you will be totally overwhelmed; some people finally think of the C language include "string. H "and other things, began to realize that repeated code can define a function or process for repeated calls, so the network began to prevail. <include file = "****. ASP "> statement; complex enterprise computing is intolerable to the eight inherent components of ASP rough, while there are also white bones who compile DLL to reflect Java's iconic N-layer structure technology, so there is a new term called DLL trap. if the name of the DLL you have written is the same as that of the existing Windows system, it will not be long before you reinstall the machine. To put it simply, ASP is a process-oriented and object-oriented hybrid, primitive and chaotic. In the same program, you can see the call sub, you can also see set rs1_conn.exe cute ("...... "), What!

However, no matter how hard it is, the essence of ASP programming is to always face the process of organizing the HTML workflow stream of a webpage. Although it carries the shadow of a dot Oo, its purpose determines that it is a process of face, in its eyes, the text and images in fancy web pages are all characters. Its task is to keep using response from the <HTML> tag. write statements generate the

■ Evolution of WEB programming ideas-making the RMB more intense!
Let's imagine the process of your monthly salary from 1, 000rmb to> 30,000 RMB.

A static webpage is like a Word document, and CSS is like a template of a Word document. If you happen to do these things, your job is called an online designer with a monthly salary of 1,000. At this time, you are young and ignorant;

If you begin to know how to use a program to automatically generate a page, your programming idea is centered around a specific page, just like the process era in 50 or 60 s. Then you may have a monthly salary of 2,000, which is called a programmer. At this time, you are born first;

You have done a lot of repetitive things and found that many pages require some public functions. For example, when a website usually needs a public conn file to create a database connection object, programmers will naturally encapsulate the creation process into functions for repeated calls. At this time, the programming idea is centered around public functions, just as Structured Programming in the 70 or 80 s, abstract The functions. You are named a software engineer at a monthly salary of 3500;

When you find that a website is actually composed of public content, such as a logon box, it usually has fixed data (User Name/password), fixed appearance (user name and password input box/submit button), fixed action (audit/login successful/Login Failed), from a structural point of view, the logon box requires several variables and several functions to be defined, but we further abstract the dialog box as a whole, it uses data to represent its own features (a combination of different user names and passwords), and uses methods to represent the events that it can handle. encapsulated, it becomes an object. The following structure can be used for representation:
Class logon {user name; password; review; logon successful; Logon Failed; input interface ;}
Then, we can observe the website from the perspective of objects, and we will find that all objects, from the input box to the page, are the most basic content abstracted from the entire website (which cannot be divided or left blank) it is designed as an object and then simply combined. At this time, the idea of programming is to face the whole website. In fact, this is the concept of OO in the 80 or 90 s. At this time, you may already have a business card, printed with a few words of Senior Software Engineer, with a monthly salary of RMB, but when you comb your hair in the morning, you will find Wrinkles in your eyes;

When an enterprise needs to integrate the Internet into its body, it must regard the existing desktop and web programs as a whole, and both need public components, for example, the login request may not only be a web program, but also a desktop program. That is to say, the authorization component must be used to deal with such things in a unified manner. In this case, the programming idea is to face the components; at this time, your title has been changed to an architect, with a monthly salary of more than 10000, but some white hair appears on your head in the mirror;

Everything looks perfect, no! Just as our endless pursuit of monthly salary, what companies think is more than simply making users simply browse their web pages. His associated customers have raised new requirements for your system. If you want to use their Java System to directly complete the transfer process, my system is built on the ASP. NET system architecture! In addition, you may not allow others to easily draw 2 ^ n RMB. Thousands of connected customers bring your programming ideas to public services. The other party does not know your component of this object. For him, transferring money is a thing. As long as he enters the user name and password with his short finger in his desktop program, the other is your system. If you are proficient in using web services to accomplish these tasks, congratulations, your salary is just a number and it is often not of practical significance. Of course, it is very difficult for you to use your charm to attract pure girls. In the words of a girl aged 18, you are already an old man, although you are in your early thirds.

Related Article

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.