azv
azv

Reputation: 1593

Cakephp and facebook

I have a site built with cakephp (1.3), where users can manage lists of items.

I now want to develop a facebook app that will work with the data of my web-based site. The facebok-app is to replicate many of the web-site's functionality (basic CRUD and more), so I would like to reuse as much code as I can from my current cake- just use a different layout, or maybe change the views.

My question is: from a software design perspective, what's the best way to go about that? Some ideas I had in mind are:

Would love if you can come up with other ideas.

Upvotes: 0

Views: 157

Answers (1)

woodscreative
woodscreative

Reputation: 1031

Rather than munging your core functions, could you not develop a generic 'hook' in system and then develop your facebook functionality in a separate API to take advantage of the hooks, this would be more scalable long term and keep both apps logic separate.

Upvotes: 1

Related Questions