Sunday, March 6, 2011

best approach for Cake and WordPressMS/BuddyPress application?

I'm in the process of designing a cake app with login/register and
paypal recurring payment capabilities... but wait!

I've decided that I want to include a wordpress/buddpress area for
members, which already has login/register functionality. Oh, and
there's a paypal plug-in to handle recurring billing (s2Member). That
would save me a lot of time. I also like the multiple blog capability.
And an easier way to handle content management.

How to approach this?

I could make it so that the WP/BP area is the "home" with links to
cake controller/actions. With my cake user functions using WP's users
table. And making use of the WP session info.

OR

I could keep my cake app as the "home" and make it use the WP register/
login/logout functionality. Not sure if that's even possible or
desirable. The cake "home" would then have a link to the WP/BP area
that the member, once logged in, could visit. This option seems pretty
ugly to me.

The downsides, as I can tell at this point are:
- duplication of design elements between cake and WP/BP theme
- being tied to WP table structures for users and maybe other stuff
(could be impacted by WP/BP updates?)
- being tied to WP session

Has anyone dealt with this issue? I could use some input for sure.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: