Distributed Databases and the Internet - Part I
Platform for Web-Based Database Applications
The Dynamic Web: Powered by Data
Recap: Distributed Data Processing
Today's Lecture Objectives
Lecture Roadmap
Beyond Static Web Pages
Why Integrate Databases with the Web?
Core Functions Enabled by Web-Database Integration
Examples of Data-Driven Web Applications
Examples of Data-Driven Web Applications
Platform Architecture for Web-Database Applications
Typical Multi-Tier Architecture
Tier 1: Client Tier
Tier 2: Web Server Tier
Tier 3: Application Server Tier
Tier 4: Database Tier
Illustrative Data Flow: User Login
Data Flow Explanation: User Login Example
Data Flow Explanation: User Login Example
4. Database Server: Executes the query against stored user data. Returns the result (user record or indication of failure) to the Application Server.
5. Application Server: Processes the database result. If successful, establishes a session; if not, prepares an error message. Generates the next page (e.g., dashboard or login form with error).
6. Web Server: Receives the generated page/response from the Application Server.
7. Client: Web Server sends the HTTP response back to the browser, which renders the resulting page for the user.
Key Components & Communication
Database Design for Web Applications: �Key Considerations
Consideration 1: Scalability
Consideration 2: Performance / Latency
Consideration 3: Concurrency
Consideration 4: Security
Consideration 5: Availability
Web App vs. Traditional Desktop App Databases
Web App vs. Traditional Desktop App Databases
Bridging the Gap: Connecting Web Applications and Databases
Fundamental Integration Requirements
1. Connectivity:
Fundamental Integration Requirements
2. Interface / API (Application Programming Interface):
Fundamental Integration Requirements
3. Data Format Compatibility:
4. Authentication & Authorization:
Lecture Summary