Ch1. The Internet
Ch2. The Internet protocol stack
Ch3. Web Servers
Ch4. HTML
Ch5. Apache and PHP
Ch6. Databases
Ch7. Databases and PHP
Ch8. Business Logic and JavaScript
Ch9. Security
Ch6. Databases
1. Recap Basic terminology:
- Data: known facts that can be recorded and that have implicit meaning
- Database:
+ collection of related data (logical coherent)
+ represent some aspect of real world
+ build for a specific purpose
- DBMS (= data + programs)
+ enables to create & maintain a DB
+ controls consistency
+ allows multi-user access
+ protects DB against unauthorized access
- Relational DB: represents data as a collection of relations (tables)
+ Relation Name = table name
+ Attributes = Column
2. ER Diagrams
a) DuskyCars needs: (1) DB for customers, cars, and rentals
(2) connection btw DB and web pages
b) Data Schema
- Determines structure of the DB
- Models entities in the system and defines the relations (tables) + attributes (columns) +
relationships between tables
c) Entity-Relationship model
Ch2. The Internet protocol stack
Ch3. Web Servers
Ch4. HTML
Ch5. Apache and PHP
Ch6. Databases
Ch7. Databases and PHP
Ch8. Business Logic and JavaScript
Ch9. Security
Ch6. Databases
1. Recap Basic terminology:
- Data: known facts that can be recorded and that have implicit meaning
- Database:
+ collection of related data (logical coherent)
+ represent some aspect of real world
+ build for a specific purpose
- DBMS (= data + programs)
+ enables to create & maintain a DB
+ controls consistency
+ allows multi-user access
+ protects DB against unauthorized access
- Relational DB: represents data as a collection of relations (tables)
+ Relation Name = table name
+ Attributes = Column
2. ER Diagrams
a) DuskyCars needs: (1) DB for customers, cars, and rentals
(2) connection btw DB and web pages
b) Data Schema
- Determines structure of the DB
- Models entities in the system and defines the relations (tables) + attributes (columns) +
relationships between tables
c) Entity-Relationship model