|
Overview: Basics of Web Database
With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database. Web sites are now able to display updated information on-the-fly and support user interactivity. What's more, one can use the same page to display information of thousands of products in a database. Data-driven pages take the emphasis off managing the site itself and allows a business to focus on the content. Here we will have a brief overview of the Web database connectivity, and focus on the middleware of the Web database. Trinity -- Three tiers of Web Database: To build a Web database, usually we need use a three-tier model: Web server, Web application server (middleware), and database. The trinity is best illustrated by the figure below (source):
How a user interacts with a Web database: The interface between the system and a Web user is a Web browser.
A simplified flow chart is shown below (source):
Middleware explained We hurry to add that Web-database connectivity takes several different forms, such as:
Here we use the notion of Web-Database middleware in its broadest sense -- software that communicates between Web server and database. The four types of middleware we discuss here -- PHP, ColdFusion, Active Server Page (ASP), and JavaServer Page (JSP) -- all feature tag-based server-side scripting. We choose these four because of their popularity, flexibility, compatibility, and potentiality. In our discussion, we will focus on their interaction with Web server and database. Besides introducing some basic syntax and showing some sample codes. we will also compare their features. Links (with ratings) Web Databases @ Web Developer's Virtual Library (*****) Columns by John Paul Ashenfelter @ Webreview (*****) Useful Links for Web-Database connectivity @ Netscape (****) Choosing a Web database @ builder.com (***) An annotated list of middleware tools @ Netscape (**) Presentation outline on Web Database @ SILS (**)
|
||
|
Created by Jian-Qing
Wu
Last modified: |
||