Solved

explanation of threaded comments

Posted on 2013-06-24
3
257 Views
Last Modified: 2013-06-24
http://www.oracle.com/technetwork/articles/dsl/white-php-part2-355138.html

The same concept can apply to other aspects of your application as well. If you think about a typical blog, the homepage only shows a list of posts. Any comments to those posts are displayed only on a permalink page. Retrieving those comments for any given post can be a potentially painful process, given there can be any number of them. It’s further complicated if the site allows threaded comments because finding and assembling those threads can be intense.


what is a real world example of threaded comments
what is a php example of threaded comments
0
Comment
Question by:rgb192
3 Comments
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 250 total points
ID: 39270628
Fast Relational method of storing tree data. Means like you are creating a comment page that may be related with an article and a particular user and also a particular user can get replay it create a large comment while it has different article id user id and comment id.
See wikipedia for more details.
http://en.wikipedia.org/wiki/Conversation_threading
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 39271021
Threaded comments appear in many bulletin-board applications.  Any of the BB apps written in PHP will give you a real-world PHP example.

Example of one popular BB:
https://www.phpbb.com/

Collection of popular BB:
http://en.wikipedia.org/wiki/Comparison_of_Internet_forum_software

A computer science concept that is necessary:
https://en.wikipedia.org/wiki/Linked_list
0
 

Author Closing Comment

by:rgb192
ID: 39273628
thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now