1 / 15

FrontPage 2000 Web Page Database Connectivity

FrontPage 2000 Web Page Database Connectivity. Client /Server Architecture. PCs. Database Server. Middleware. Web Client/Server Architecture. Client Web Browser. INTERNET. INTRANET. HTTP Server. Multi-Tier Client/Server Architecture. Client Web Browser. INTERNET. INTRANET.

alexa
Download Presentation

FrontPage 2000 Web Page Database Connectivity

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FrontPage 2000Web PageDatabase Connectivity

  2. Client /Server Architecture PCs Database Server Middleware

  3. Web Client/Server Architecture Client Web Browser INTERNET INTRANET HTTP Server

  4. Multi-Tier Client/Server Architecture Client Web Browser INTERNET INTRANET Database Server HTTP Server

  5. Connecting Databases to Web Servers: Overview • Three-Tier C/S Architecture • CGI – Common Gateway Interface • C, Perl, VBScript, Delphi etc. • ODBC - Pointer to DBMS • ASP Example Database Connection • Overview of FrontPage2000

  6. ASP Code: Example <%@ LANGUAGE = "VBSCRIPT"%> <% Set OBJdbConnection = Server.CreateObject("ADODB.Connection") OBJdbConnection.Open "is4506","", "” strSQL = "INSERT INTO Students (FName, LName, Email) VALUES ('" & Request.Form("first") & "', '" & Request.Form("last") & "','" & Request.Form("email") & "')" OBJdbConnection.Execute(strSQL) OBJdbConnection.Close %>

  7. Connecting Access 2000 Databases: Steps • Install a personal web server and FrontPage 2000 • The personal web server can be installed using IIS software • Build a web site • Design a home page, query pages, and other pages using an authoring tool such as FrontPage • Connect the Access database with the web site • Publish the web site • Best info on database connection is FP2000 Help

  8. Connect the Access Database with the Web Site • Create new subdirectory under C:\InetPub\wwwroot\subdirectory • Start FrontPage 2000 • Create a new web (File/New/Web) and type in a subdirectory: • http://<your computername>/subdirectory or • C:\Inetpub\wwwroot\subdirectory • Import the database to the new web (File/Import/Add File) • When asked if you want to create a new subdirectory fpdb for the database, say yes

  9. Connect the Access Database With the Web Site (Cont’d) • Create links on the home page to the database pages • To view a table or query in your database, follow: • Insert/Database/Results/User an existing connection/select table or Query/<follow wizard instructions> • To create a new query using an existing table: • Use Wizard and select “More Options” • To insert records • Insert/Form/One-Line Text box • Manually set parameter to hook to database file

More Related