ASP built-in object Request

Source: Internet
Author: User
Tags odbc object model
Author: scholar
Starting from this article, I started with ASP built-in objects and analyzed the features and methods of ASP's six built-in objects and various components in detail.
Before learning ASP's built-in objects and components, let's first understand some basic concepts, which will be of great help to you in the future. See the following table:
A collection of Server technologies delivered by Active Server with Windows NT. These technologies provide consistent server components, script models, and an integrated system service for component application management, database access, transactions, and messages.

Active Server Pages (ASP) is used to run the Server script environment of ActiveX scripts and ActiveX components on the Server. Developers can combine scripts and components to create Web-based applications.
ActiveX allows developers to create interactive components for the World Wide Web with a Wide range of Microsoft technical terms. A group of language-independent interoperability technologies that allow software components written in different languages to work in the network environment. The key elements of ActiveX are Component Object Model (COM) and Distributed Component Object Model (DCOM ). These technologies have been licensed by open organizations and migrated to many platforms.
ADO Active data object. An object-based data access interface optimized for Internet-based data-centric applications. ADO is based on published specifications and is included in Microsoft Internet Information Server and Microsoft Visual InterDev.
The name of the DSN data source. Open Database Interface (ODBC) is used to reference the logical name of the driver or other information required to access data. The name of the Internet Information Server used to connect to an ODBC data source (such as an SQL Server database.
Event: Any action that the event responds to by a program generated by a user or ActiveX control. General events include pressing the keyboard key, clicking the select button with the mouse, and other mouse operations. Programmers write code that responds to these operations.

Object: In object-oriented programming, an object is a variable consisting of operations and data as a complete object. Objects are based on specific models. In objects, customers use object services to access object data through interfaces of a set of methods or related functions. Then, the client can call these methods to perform certain operations.
Open ODBC database interface. Application programming interfaces that allow applications to access data from Standard specifications of existing data sources for cross-platform data access.

Structured Query Language. Define and access the international standards for relational databases.

What is an object? It does not mean that you are in love with a male or female companion. In object-oriented programming, an object is a variable composed of operations and data as a complete object. Objects are based on specific models. In objects, customers use object services to access object data through interfaces of a set of methods or related functions, then the client can call these methods to perform certain operations. ActiveX components are the key to creating Web applications. Components provide objects for executing tasks in scripts. An ActiveX component is a file that contains the code for executing a certain item or a group of tasks. Because the component can execute public tasks, programmers do not have to create code for executing these tasks themselves. You can use components as scripts and basic construction blocks based on Web applications. As long as you know how to access the objects provided by the component, you can write scripts without knowing how the component works, even for beginners who write scripts. In short, components allow you to write powerful scripts without learning programming. A component is executable code contained in the dynamic link library. dll or executable file. exe. A widget provides methods and attributes for one or more objects. To use the object provided by the component, create an instance of the object and assign the variable name to the new instance. You can use the Server. CreateObject method of ASP to create an object instance. You can use the variable allocation command in script language to name the object instance. For example:
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.