Pages
|
|||
|
Pages
The TT Web Site Manager breaks the web site down into 4 main types of entity. Sites, Pages, Items and Item containers. We are briefly considering each in turn to further illustrate the TT Web Site Manager system. This page considers the Page. In a simple static site, the pages are physical files on the server's disk drive which are sent to the user on request by the web server process. In a TT Web Site Manager system, the pages take the form of sequences of code items in a database which are executed at the server and the result served to the user as if they were static pages from the server's disk drive. Code items can be assembled into a page from the library in any order. The page is referred to by its name, both within the administration scripts and in the URL called by the user. If the server is set up to redirect requests directly to the build script then the page can be called directly as if it were a static page, otherwise the page name is passed to the build script as a variable in the query string or as a form variable. A page does not have to serve HTML content. All TT Web Site Manager pages have an associated content type so the TT Web site manager can be used to serve any content type that the server is capable of. In addition, if the content type for a page is not specified then no content type header is sent to the user. This allows custom headers, for example page redirects to be sent from TT Web Site Manager pages. TT Web Site Manager also allows pages to be password protected with username/password combinations allocated by site. In this way a site can have public pages intended for the general user with for example administration pages password protected for access only by the trusted few. |
|||
|