Standard Tree

15
Home Products Support About us Computers Printers Scanners By phone By e-mail Id Parent_id Previous_id Next_id Name

description

How to build a standard tree - part of how NOT to build a proper tree article

Transcript of Standard Tree

Page 1: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

Page 2: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

Page 3: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

Page 4: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

Page 5: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 0 Products

Page 6: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 0 Products

Page 7: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 0 Products

3 1 2 0 Support

Page 8: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 0 Support

We now have the next_id

Page 9: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 0 Support

Page 10: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 4 Support

4 1 3 0 About us

Page 11: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 4 Support

4 1 3 0 About us

Page 12: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 4 Support

4 1 3 0 About us

5 2 0 0 Computers

Page 13: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 4 Support

4 1 3 0 About us

5 2 0 0 Computers

Page 14: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 4 Support

4 1 3 0 About us

5 2 0 6 Computers

6 2 5 0 Printers

Page 15: Standard Tree

Home

Products

Support

About us

Computers

Printers

Scanners

By phone

By e-mail

Id Parent_id Previous_id Next_id Name

1 0 0 0 Home

2 1 0 3 Products

3 1 2 4 Support

4 1 3 0 About us

5 2 0 6 Computers

6 2 5 7 Printers

7 2 6 0 Scanners

8 3 0 9 By phone

9 3 8 0 By e-mail