Programmer's lazy experience
2003.9
The previous Z80, 6502 (Apple II), Basic, DOS, etc. The program is not very lazy.
After Microsoft has made Windows, there is a bunch of APIs, and has a application development model called SDK. I have learned to start using the program, createwindow, handle WM_MESSAGE, GETDC, TEXTOUT ..., Well, OK. But when I want to display a list of classmates, I used a listbox (or listview), I found that there were so many messages to handle, not, too tired, this is not exhausted by writing a data processing function?
Microsoft said that there is a better way, on the basis of API and SDK mode, Microsoft has developed a class library, called MFC, hiding those annoying news, programmers can use those Controls and Common like using an object. Controls, but add a request, the programmer must learn C , in order to match this, Microsoft has designed classes for all possible APIs. I started pain, C theory is difficult to learn, the organization management of the MFC class library is far less systematic, the Frame / Doc / View structure I think I will never understand. Microsoft also said that programmers can derive their own class, class libraries on this basis. I just want to show a few classmates list, class list, so, still very tired!
Microsoft said that there is a better way, Microsoft has done VB (selecting Basic may be related to personal experience), encapsulates those Controls and Common Controls and other common APIs into a pile of VBX, and then changed to COM / ActiveX. The programmer will pull several windows with a mouse, put a few controls, write a few lines of Basic programs, and you can call it directly when you want to use the API. My classmate list, the class list is quickly displayed, good. As my desire begins to increase - I have to develop a student status management system, the problem occurs, when the system is getting a certain level, the modification of the program interface is exhausted, and the Internet begins to popular.
Microsoft said that there is a better way, Microsoft makes ASPs to realize Internet applications, use IE to do interface, and the client is far from the API. Development language VBScript is very similar to VB. The programmer simply learns HTML, and complex applications need to write COM components on the server. My classmate list, the class list can be browsed in IE, good. But it is very difficult, some of the very simple effects are extremely difficult in IE, what should I do? I don't want to write ACTIVX yourself. In addition, I don't want to write the COM of the server.
Microsoft said that there is a better way, Microsoft makes DHTML can achieve most of the effects of traditional API support in IE. I saw DHTML, almost faint - too much? I need to learn VB after learning DHTML? too painful.
Microsoft said that there is a better way, Microsoft has done .NET. Can .NET make me more easily? I decided to wait for two years.