ASP , which means “Active Server Pages”, is a technology developed by Microsoft used in the Programmation Web.
It is a technology dynamic, equivalent Web and competitor of. It requires to function a platform Windows with IIS (Internet Information Services) installed, or a platform Linux or Unix with a modified version of Apache. ASP is actually only one structure made up of objects accessible by two principal languages: the VBScript and the JScript.
The ASP has 7 Objets truths easy to handle: the objects Request, Response, Server, ObjectContext, Application, Session and Error.
The Request object
It makes it possible to read all that was returned by the navigator customer, like the Forms, the Cookies…
The Response object
Conversely, it makes it possible to send information to the customer, like the fact of writing text in a page or of writing in Cookies…
The Server object
This Object makes it possible to create and manage connections to Databases (named TEENAGER), to open files XML, Word, Excel… and in general to create objects and to use components installed on the waiter.
The ObjectContext objectIt makes it possible to control the possible transactions with the waiter of Microsoft transaction.
The Application object
It makes it possible to store aggregate variables with all the visitors who pass on the site.
The Session object
It makes it possible to store variables only accessible to only one visitor from the site. Used for example in the sites having a basket to store articles.
The Error object
As its name indicates it, this object allows the management of the errors.
CapacitiesLike the PHP, the ASP is able to be connected to databases, lira of files XML and has components for the management of the upload, of the ftp… But as a Microsoft technology, it can read and write easily documents resulting from Office (Excel, Word…) on the condition of agreeing to pass by COM (see below) and to have Office installed on the waiter. Remainder, PHP can just as easily use same technology COM, on the condition of also turning him on a Windows waiter where the Office products are installed.
However, with the implementation of PHP5 and soon PHP6, technology ASP is regarded more and more as obsolete, being given the variety of functionalities from now on available.
The ASP uses a system named COM (Component Object Model, also called ActiveX) to communicate with resources of the station waiter. It returns then HTML to the customer via the protocol HTTP (Hypertext Protocol Transfer).
Lastly, thanks to the advent of technology .NET (to pronounce DotNet), the ASP leads to a new technology: the ASP.NET . Thus Microsoft does not ensure much any more of support on the ASP3, and does not hope any more to create of new version of the “Active Server Pages”.
|Random links:||Blegny | Basile Boli | Wum | J.T. Walsh | Guillaume Guéroult|