Chat topic: JavaScript design art chat time in Web development: Thursday, January 27, 2005, 2: 00-3: 30
Chat Guest: Lostinet (Dai Lijian), WCH3116 (Wan Changhua)
Detailed chat record:
[Liu Ruhong]:
Hello everyone, I am the "MSDN Development Selected" Technical editor Liu Ruhong. First of all, thank you for the arrival. Today we invited the famous Lostinet and WCH3116 in JavaScript development and we will explore all kinds of JavaScript design.
[2005-1-27
13:54:00
]
[Liu Ruhong]:
The following is their personal introduction:
Lostinet (Dai Lijian) Skillan, the most valuable expert in 2004, is specially implemented in script development and ASP.NET enterprise application solution, main works are Rane, CBM, Lostinet.Web control set, CuteEditor 4, cutechat, etc. You can access his personal blog by http://blog.joycode.com/lostinet/. It is now unemployed, learning English and weight loss in Shenzhen.
[2005-1-27
13:55:00
]
[Liu Ruhong]:
WCH3116 (Wan Changhua) is good at script development and the B / S system architecture design, and JSVM project leader. Main works, JSVM, XPRPC, WDB. You can contact him with WCH3116@hotmail.com. It is now available in ZTE / IT Center, which is committed to the technical integration and application framework design of enterprise application platform.
[2005-1-27
13:56:00
]
[Liu Ruhong]: Now I declare chat rules
1. Chat 2:00 officially started, 3: 30 end
2. 2:00 to 2:30 is the guest's discussion
3. After 2:30, you can ask for free. If you have any questions, you can submit the questions to the guest by submitting it.
4. Please don't discuss some and themes in the chat room.
Thank you for your support and cooperation.
[2005-1-27
13:57:00
]
Guest [Dai Lijian]:
Hello everyone .. I am Dai Lijian. I am very happy and Wan Changhua comes to the 9CBS guests to do JS chat. I am very grateful to everyone to participate in this discussion.
[2005-1-27
13:58:00
]
Guest [Wan Changhua]:
Hello everyone, I am very honored to have this opportunity to communicate with everyone.
[2005-1-27
14:00:00
]
[Liu Ruhong]:
Although JavaScript is only designed for script, it has now been "initially" with "preliminary" with object-oriented features. How do two guests view JavaScript?
[2005-1-27
14:01:00
]
[Liu Ruhong]:
From my personal understanding, based on JavaScript-oriented object-oriented inquiry can be a prototype-based inheritance implementation, because any implementation is just a prototype of parent objects.
[2005-1-27
14:04:00
]
Guest [Wan Changhua]:
OO design idea is an inevitable development process that is close to the real model to the reality model. JS is used as a scripted language, and it is also necessary to introduce this design idea. Of course, because of the language itself, put JS as an object-oriented language. Some defects in programming
[2005-1-27
14:07:00
]
Guest [Dai Lijian]:
With regard to object-oriented, I think that the JS main role is to operate other objects. For the Window / Document / Element in DHTML. Or objects in other environments, such as objects or mozilla's XMLHttpRequest, or Mozilla's XMLHttpRequest. But JS itself The function of the object is very weak. It is suitable for some simple class libraries. But it is difficult to achieve large-scale libraries. [2005-1-27
14:10:00
]
[Liu Ruhong]:
So I do this, what defects in JavaScript still exist in objects? Whether these defects can go through some means
[2005-1-27
14:11:00
]
Guest [Dai Lijian]:
The syntax function of the script itself is limited. There is no such function. I am more optimistic about Mozilla's __definegetter __ / __ defineSetter__, with the functionality of addProperty in the ActionScript in Flash. These functions provide a certain convenience for object-oriented.
[2005-1-27
14:12:00
]
Guest [Wan Changhua]:
JS is an object-based language. In the web-based JS actual development, if we introduce some specification, we can basically need to consider the difference between him and object-oriented.
[2005-1-27
14:12:00
]
Guest [Dai Lijian]:
Of course, MS's Behavior (HTC) is a technique that implements object-oriented. This technology can define attributes and events.
[2005-1-27
14:13:00
]
[Liu Ruhong]:
Dai Lijian, I want some people who will not agree with your point of view. Some people will exemplish the Bindows is a very large class library. The JSVM implemented by Wanhang is also a relatively large class library.
[2005-1-27
14:14:00
]
[Liu Ruhong]:
Dai Lijian, I want some people who will not agree with your point of view. Some people will exemplish the Bindows is a very large class library. The JSVM implemented by Wanhang is also a relatively large class library.
[2005-1-27
14:14:00
]
Guest [Dai Lijian]:
In the object-oriented, the most defective of JS is the ability to directly implement Override (virtual methods) directly. Although other methods can be used to simulate, the special and non-intuitive ways to write, which affect the object-oriented application.
[2005-1-27
14:14:00
]
Guest [Dai Lijian]:
Yes. I appreciate Bindows and JSVM. These are all doing very well. If JS can provide some more direct support in grammar, then I think they will develop better.
[2005-1-27
14:16:00
]
[Liu Ruhong]:
So how do you think about JScript.net? As a semi-dynamic language in the .NET environment, in addition to all features of Javasscript, it is also possible to take advantage of .NET Framework, follow Microsoft documents, JScript.net is the first language that implements ECMA 262 Edition 3, Introduced Class, Package, etc.
[2005-1-27
14:16:00
]
Guest [Dai Lijian]:
If IE, environmental support JScript.net is better. Unfortunantly, IE doesn't support