what data-driven websites are and how they work

22
WHAT DATA-DRIVEN WEBSITES ARE AND HOW THEY WORK An introduction to database driven websites and why they are important for websites today Start Here TESSA MERO * APRIL 2015

Upload: tessa-mero

Post on 16-Apr-2017

531 views

Category:

Software


1 download

TRANSCRIPT

Page 1: What Data-Driven Websites Are and How They Work

WHAT DATA-DRIVEN

WEBSITES AREAND HOW THEY WORKAn introduction to database driven websites and why they are

important for websites today

Start Here

TESSA MERO * APRIL 2015

Page 2: What Data-Driven Websites Are and How They Work

TOPICS

DATA-DRIVEN WEBSITES * APRIL 2015

01

02

03

04

05

HOW IS IT USED?

DATABASES! EXPLAIN PLZ?

STATIC VS DYNAMIC, WHAT?

EXAMPLES

CONCLUSION

Page 3: What Data-Driven Websites Are and How They Work

STATIC WEBSITE – NOTHING CHANGES

DYNAMIC WEBSITE – UPDATES ON REFRESH< - >

DATA-DRIVEN WEBSITES * APRIL 2015

STATIC VS DYNAMIC

Page 4: What Data-Driven Websites Are and How They Work

STATIC WEBSITES

DATA-DRIVEN WEBSITES * APRIL 2015

What is a static website? • Stores Content in Web File

• Doesn’t Change

• “Brochure” website

• Need data changed? - Hire web dev

Page 5: What Data-Driven Websites Are and How They Work

DYNAMIC WEBSITES

DATA-DRIVEN WEBSITES * APRIL 2015

What is a dynamic website? • Content Stored Outside of Website

• DATABASE!

• Manipulate data fast

• Examples of Dynamic Sites?

Page 6: What Data-Driven Websites Are and How They Work

Content Management Systems are all database driven, which allows users to edit their pages on the frontend of their site!

DATA-DRIVEN WEBSITES * APRIL 2015

Dynamically change the information on your products.

Update/edit/delete content on the fly!

CMS’S

E-COMMERCE

BLOGS/FORUMS

If you are on a car website searching for a vehicle, or a ordering something on a website, you need to filter data, which requires data being stored in a database.

FILTERING DATA

MORE DYNAMIC!

Page 7: What Data-Driven Websites Are and How They Work

TOPICS

DATA-DRIVEN WEBSITES * APRIL 2015

01

02

03

04

05

HOW IS IT USED?

DATABASES! EXPLAIN PLZ?

STATIC VS DYNAMIC, WHAT?

EXAMPLES

CONCLUSION

Page 8: What Data-Driven Websites Are and How They Work

DATA-DRIVEN WEBSITES * APRIL 2015

82%

PHP

17%

ASP.NET

2.9% JAVA

0.7%

COLDFUSION

0.6% RUBY

(Some) Programming languages that pull the data from the database!

PHP powers 82% of database driven websites!

PROGRAMMING!

Page 9: What Data-Driven Websites Are and How They Work

DATABASES!

OracleMySQLMS SQLMongoDB

1446ORACLE

1284MySQL

1149MICROSOFT SQL

279MONGODB

DATA-DRIVEN WEBSITES * APRIL 2015

This is an updated rank score that updates live on a monthly basis as of April 2015. Calculations based on jobs available, websites used, mentions on websites, tech discussion, linkedin searchSource: db-engines.com/en/ranking

Page 10: What Data-Driven Websites Are and How They Work

THE PROCESS

Client Server DB to Server HTML!

The client (computer) reaches into the server (sends http request and gets

response)

The server requests data from database.

Process the results to browser (converts into HTML)

DATA-DRIVEN WEBSITES * APRIL 2015

Programming Language + Databases

Page 11: What Data-Driven Websites Are and How They Work

• STATIC PAGES DO NOT CHANGE.

• DYNAMIC PAGES CHANGE ON REFRESH

• DATA DRIVEN SITES ARE ACTUALLY DATABASE DRIVEN SITES

• ORACLE AND MYSQL ARE THE MOST POPULAR DATABASES

• SERVER SIDE SCRIPTING LANGUAGES PULL THE DATA FROM THE DATABASE

• PHP AND MYSQL MAKES A DATABASE DRIVEN SITE!!!

MYSQL

DATA-DRIVEN WEBSITES * APRIL 2015

SUMMARY

PHP

Page 12: What Data-Driven Websites Are and How They Work

TOPICS

DATA-DRIVEN WEBSITES * APRIL 2015

01

02

03

04

05

HOW IS IT USED?

DATABASES! EXPLAIN PLZ?

STATIC VS DYNAMIC, WHAT?

EXAMPLES

CONCLUSION

Page 13: What Data-Driven Websites Are and How They Work

BENEFITS OF A DB

DATA-DRIVEN WEBSITES * APRIL 2015

Easy and quick to add new content

Change/Add new products on e-commerce siteGive search ability on websites

Create engaging sites, such as blogs, forums, and social networking sites

REDUCES COSTS!

Page 14: What Data-Driven Websites Are and How They Work

TOPICS

DATA-DRIVEN WEBSITES * APRIL 2015

01

02

03

04

05

HOW IS IT USED?

DATABASES! EXPLAIN PLZ?

STATIC VS DYNAMIC, WHAT?

EXAMPLES

CONCLUSION

Page 15: What Data-Driven Websites Are and How They Work

DATA-DRIVEN WEBSITES * APRIL 2015

Page 16: What Data-Driven Websites Are and How They Work

DATA-DRIVEN WEBSITES * APRIL 2015

Page 17: What Data-Driven Websites Are and How They Work

DATA-DRIVEN WEBSITES * APRIL 2015

Page 18: What Data-Driven Websites Are and How They Work

DATA-DRIVEN WEBSITES * APRIL 2015

Page 19: What Data-Driven Websites Are and How They Work

DATA-DRIVEN WEBSITES * APRIL 2015

Page 20: What Data-Driven Websites Are and How They Work

TOPICS

DATA-DRIVEN WEBSITES * APRIL 2015

01

02

03

04

05

HOW IS IT USED?

DATABASES! EXPLAIN PLZ?

STATIC VS DYNAMIC, WHAT?

EXAMPLES

CONCLUSION

Page 21: What Data-Driven Websites Are and How They Work

DATA-DRIVEN WEBSITES * APRIL 2015

WEBSITESMost websites are data driven

CONCLUSION

DB & SCRIPTINGAll data-driven sites come

from a database engine and server side scripting

PLANNINGEven if you plan on not changing content on a proposed static site, it’s best practice to use a DB so you can easily update information.

Page 22: What Data-Driven Websites Are and How They Work

ANYQUESTIONS?

SLIDES WILL ALWAYS BE UPLOADED TO THE CANVAS COURSE AFTERWARDS

DATA-DRIVEN WEBSITES * APRIL 2015