On Mon, 22 Jan 2001 10:15:48 -0500, [EMAIL PROTECTED] wrote:

>I don't necessarily need code, just ideas from people who have done it!
>Thanks very much in advance.

Mark,

It really depends on the "source" of the breadcrumbs. For example,
will the user be drilling down through physical directories, or
through categories defined in a database? Directory-based breadcrumb
trails are pretty simple to implement... just parse the appropriate
CGI variable and you're done. 

Category-based trails are more complicated, with various trade-offs
involved. You can use recursion to walk the hierarchy, with the
obvious performance hit. You can use nested sets, but suffer the added
layer of complexity. Or you can do something ugly and have each
category in the DB keep a list of its parents in a dedicated field.


--
Roger





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to