Sunteți pe pagina 1din 23

Connection

to
Databases
Objectives
 Learn how to connect web pages into the
database
 Explain the importance of using database in
the web development
 Discuss the database in web development
 Discuss the database that will be utilized
 Understood the use of database in web
development
Types of Website
 Static Website
It contains Web pages with fixed
content. A static site can be built by simply
creating a few HTML pages and publishing
them to a Web server.
Types of Website
 Dynamic Website
It contains pages that changes every
time they are loaded.
Database Driven Website
A database driven website is the best
example of a dynamic website. These
websites are more effective and they are
commonly used for large industries.
Database Driven Website Cont…
Examples:
1. E-commerce platforms
These businesses leverage data driven
websites because of the expected changes
in prices, offers and services.
Database Driven Website Cont…
Examples:
1. E-commerce platforms
2. Content Management Systems (CMS)
Users can easily update content on
the website even without the need for any
specialized programming skills.
Database Driven Website Cont…
Examples:
1. E-commerce platforms
2. Content Management Systems (CMS)
3. Blogs
Most blogs and online community
forums are database driven because they
involve regular updates by users.
Database Driven Website Cont…
Advantages:
1. It is easier and faster to update content
Database Driven Website Cont…
Advantages:
1. It is easier and faster to update content
2. It is ideal for an E-commerce site
Database Driven Website Cont…
Advantages:
1. It is easier and faster to update content
2. It is ideal for an E-commerce site
3. No need for specialized HTML
knowledge or expertise to change
content
Database Driven Website Cont…
Advantages:
4. High scalability
Database Driven Website Cont…
Advantages:
4. High scalability
5. Reduced chances for errors
Technologies/Tools
1. PHP
2. JavaScript
3. Java
4. ASP.NET - usually with the C#
programming language
The basics of good database design
in web development
1. Determining tables and fields
The basics of good database design
in web development
1. Determining tables and fields
2. Use a data modeling tool

Image Source: https://onextrapixel.com/wp-content/uploads/2011/03/databasemodel.jpg


The basics of good database design
in web development
3. Relational databases

Image Source: https://onextrapixel.com/wp-content/uploads/2011/03/primarykey.jpg


The basics of good database design
in web development
1. Determining tables and fields
2. Use a data modeling tool
3. Relational databases
4. Database normalization
Top 5 Databases for Web
Developers
1. MySQL Community Server
Top 5 Databases for Web
Developers
1. MySQL Community Server
2. Microsoft Access
Top 5 Databases for Web
Developers
1. MySQL Community Server
2. Microsoft Access
3. Microsoft SQL Server Express
Ex. Oracle
Top 5 Databases for Web
Developers
1. MySQL Community Server
2. Microsoft Access
3. Microsoft SQL Server Express
4. Oracle Express Edition
5. DB2 Express-C
Next…

S-ar putea să vă placă și