FAQ
The usual way to make things like this work is by having a
standardised api. In the case of membership for a website, it might
look something like:

get_unique_user_id # of logged in user
get_username_for_id( id )

Then if a forum has tables such as:

thread -> references username
post -> ditto

and maybe methods like

send_pm( user )
find_posts( user )

if you are prepared to sacrifice the actual foreign key relationship,
not that big a thing IMHO, you can do it all through the API. The
person that writes the forum code/schema can actually have two install
options - with and without the user table.

Cat almost has this in place at present.

--
There's an infinite supply of time, we just don't have it all yet.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 13 of 18 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJul 28, '08 at 4:27p
activeAug 1, '08 at 5:12p
posts18
users9
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2021 Grokbase