PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Implementing An N-Level Nested Tree In PHP And PostgreSQL, Part 2

Summary

In this article, we built on the theory from part 1 of this article series, by creating a PHP class which updates and manipulates the data in a nested tree.

Moving forward

In the final part of this article, I’ll put the class we created here to real-world use.

The real-world application I’ll use which you will be able to relate easily to is the article system for phpRiot. I’ll show you how the article publishing system works in relation to the Nested Tree model. This includes displaying the “pages in this section”, the breadcrumbs system and various other aspects of the article publishing system.

Other Options

In This Article