Cheers Geoff!

I agree with you that 1 single users table would be better!

What about sessions?

Do you suggest to check if an SMf session exists and then duplicate it
in cake_session table?

The same fr cookies?

Yep, SMF 2.0 seems promising, and above all MVC!
But not ooficial release time!

Dan



On Jul 20, 1:14 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Cake is flexible enough that your user model can use a db table not
> called users. Use var $useTable = 'smf_users';
>
> You may have to set up all the associations manually etc.  but I think
> that while seperate tables might appear easier to start with, it will
> introduce sync errors and data redundancy and probably give you
> headaches further doen the track.
>
> BTW SMF 2.0 looks promising...
>
> Geoff
> --http://lemoncake.wordpress.com
>
> On Jul 20, 4:02 am, cakeFreak <[EMAIL PROTECTED]> wrote:
>
> > Hey guys,
> > I'm gonna have to integrate my forthcoming Cake project with a forum.
>
> > First of all I just wanted to ask your opinion about the best practice
> > to achieve it:
> > 1) separated user tables (when 1 user registers with the Cake App it
> > gets added to the forum user table and vice-versa)
> > 2) single user table
>
> > Unluckily (as far as I know) there aren't around forum with an MVC
> > architecture yet (SMF -http://www.simplemachines.org/-seems will
> > move in the MVC direction).
>
> > I think I'll hopt for SMF.
> > SMF offers the SSI.php and smf_api.php files to ease integration (in
> > this case option 2 above will be suitable).
>
> > What's your general/particular thoughts about forum integration?
>
> > Dan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to