sitepoint - day9 - php live lesson 9 _database design_ complex relationships_

2
Become a better web developer. Home Products Courses Forums Blogs Podcast Articles Reference Marketplace Help You are logged in as: adminloozer x SitePoint Courses > PHP Live > Database Design: Complex Relationships Back to the dashboard Lesson 9: Database Design: Complex Relationships Today we’ll expand our database structure even further, by exploring many-to-many relationships. Today’s Tasks Watch a video: Welcome to Day 9 1. Watch a video: Simple Relationships 2. Read an article: Many-to-many Relationships The correct way to represent a many-to-many relationship is to use a lookup table. This is a table that contains no actual data, but which lists pairs of entries that are related. 3. Join a Discussion: Challenge: Update joke database to include categories Using everything you just learned about many-to-many relationships, try adding the necessary structure to your joke database to group your jokes into categories. Don’t 4. Lessons Week 1 Lesson 1: PHP & MySQL Lesson 2: Your First Database Lesson 3: Introducing PHP Lesson 4: PHP Language Lesson 5: Recorded Q&A Week 2 Lesson 6: Displaying MySQL Content Lesson 7: Adding and Removing Content with PHP Lesson 8: Database Design: Multi-table Queries Lesson 9: Database Design: Complex Relationships Lesson 10: Recorded Q&A Week 3 Lesson 11: Structured PHP Programming Lesson 12: A Content Management System (#1) Lesson 13: A Content Management System (#2) Lesson 14: Sessions and Access Control Lesson 15: Recorded Q&A Back to the dashboard Search this site PHP Live Lesson 9 "Database Design: Complex Relationships" http://courses.sitepoint.com/php-live/lesson/9 1 sur 2 14/12/2010 16:37

Upload: michel-lecomte

Post on 28-Mar-2016

215 views

Category:

Documents


2 download

DESCRIPTION

Become a better web developer. Home Products Courses Forums Blogs Podcast Articles Reference Marketplace Help Lesson 1: PHP & MySQL Lesson 2: Your First Database Lesson 3: Introducing PHP Lesson 4: PHP Language Lesson 5: Recorded Q&A Week 1 Week 2 Week 3 Watch a video: Welcome to Day 9 Read an article: Many-to-many Relationships Watch a video: Simple Relationships Join a Discussion: Challenge: Update joke database to include categories You are logged in as: Lessons Search this site 3.

TRANSCRIPT

Page 1: Sitepoint - Day9 - PHP Live Lesson 9 _Database Design_ Complex Relationships_

Become a better web developer.

Home Products Courses Forums Blogs Podcast Articles Reference Marketplace Help

You are logged in as:

adminloozer x

SitePoint Courses > PHP Live > Database Design: Complex Relationships

← Back to the dashboard

Lesson 9: Database Design: Complex Relationships

Today we’ll expand our database structure even further, by exploring many-to-many

relationships.

Today’s Tasks

Watch a video: Welcome to Day 91.

Watch a video: Simple Relationships2.

Read an article: Many-to-many Relationships

The correct way to represent a many-to-many relationship is to use a lookup table.

This is a table that contains no actual data, but which lists pairs of entries that are

related.

3.

Join a Discussion: Challenge: Update joke database to include categories

Using everything you just learned about many-to-many relationships, try adding the

necessary structure to your joke database to group your jokes into categories. Don’t

4.

Lessons

Week 1Lesson 1: PHP & MySQL

Lesson 2: Your First Database

Lesson 3: Introducing PHP

Lesson 4: PHP Language

Lesson 5: Recorded Q&A

Week 2Lesson 6: Displaying MySQL Content

Lesson 7: Adding and Removing

Content with PHP

Lesson 8: Database Design: Multi-table

Queries

Lesson 9: Database Design: Complex

Relationships

Lesson 10: Recorded Q&A

Week 3Lesson 11: Structured PHP

Programming

Lesson 12: A Content Management

System (#1)

Lesson 13: A Content Management

System (#2)

Lesson 14: Sessions and Access

Control

Lesson 15: Recorded Q&A

Back to the dashboard

Search this site

PHP Live Lesson 9 "Database Design: Complex Relationships" http://courses.sitepoint.com/php-live/lesson/9

1 sur 2 14/12/2010 16:37

Page 2: Sitepoint - Day9 - PHP Live Lesson 9 _Database Design_ Complex Relationships_

Web Design & Development by SitePoint Solutions, Melbourne, Australia | Logo Design, Web page Design: 99designs.com Back to top

worry about writing any PHP code to handle this just yet—we’ll tackle that next

week.

That’s all for Lesson 9! Next up is Recorded Q&A.

All done for this lesson? Tell the world via Twitter!

I’ve completed this lesson.

Leave more feedback for the

instructor:

Have a question about this lesson?

Visit the forum

Need help with your account? Email

the team

PHP Live Lesson 9 "Database Design: Complex Relationships" http://courses.sitepoint.com/php-live/lesson/9

2 sur 2 14/12/2010 16:37