logo       

Comment View: msg#00000

Subject: Comment View
Greetings,

A few weeks ago I started writing the Comments module. After talking
with He-Who-Cannot-Be-Named (ok fine - Steven) we outlined the Threaded
- Nested - Flat views for comments.

Since flat view was the easiest, I started with it. It was actually
pretty easy using the DBPager class. I can paginate and it only pulls
the rows that are needed (read: speed / low overhead). After getting it
working pretty well, I started looking at threaded and nested.

The short of it is, I don't like them for a few reasons:

1) Unlike flat view, you have to load ALL the comments in a thread at
once. Even if you don't process them all, you have to load them. 

2) "Ah", you say, "but you can limit them by where or count!" Not
really. If I limit via the db by time, I only get the children comments
not the parents. If I limit by count, then there are gaps between pages
and most likely one thread with several children would dominate.

3) As Mike Noyes suggested (and Steven and I debated), those views are
harder to template.

4) I hate nested/threaded with its smaller and smaller widths. Looks
awful to me.

I know Slashdot has the moderator points, but how many people really
want to use that? It seems more of a bandaid for the problems that
threaded/nested create.

phpBB uses flat and it's kinda popular ;-) Am I thinking of just
sticking with flat and offering filtering on time frame, user, and other
stuff you guys can think of.

Anyway, I wanted to check with the devs before taking this mindset 100%
(I'm at 98% so far).

Matt


-- 
Matthew McNaney
Electronic Student Services
Appalachian State University
http://phpwebsite.appstate.edu



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe