简体   繁体   English

将CakePHP用于Facebook App开发项目是否是一个好主意

[英]Is it a good idea to use CakePHP for Facebook App development project

I want to develop, facebook app, iframe app running on Facebook.com. 我想开发Facebook应用程序,在Facebook.com上运行的iframe应用程序。

Is it a good idea to use CakePHP frame work for this? 为此使用CakePHP框架是个好主意吗? My app will also have Paypal integration. 我的应用程序还将具有Paypal集成。

I am still learning CakePHP. 我仍在学习CakePHP。

Thanks, Hardik 谢谢,哈迪克

I recently developed a Facebook app with CakePHP and it works great. 我最近使用CakePHP开发了一个Facebook应用程序,效果很好。 If you're developing an iframe app, then the limitations of the backend technologies are the same limitations that you'd experience outside of the Facebook environment. 如果您正在开发iframe应用,则后端技术的局限性与您在Facebook环境之外遇到的局限性相同。 If you're concerned about the benefits/drawbacks of CakePHP as a PHP framework, then I'd check out this question: https://stackoverflow.com/questions/249984/php-framework-decision-analysis-paralysis . 如果您担心CakePHP作为PHP框架的好处/缺点,那么我将检查以下问题: https : //stackoverflow.com/questions/249984/php-framework-decision-analysis-paralysis

If you are new to CakePHP, then you'll obviously find some difficulty, since there is a learning curve, but as far as using it within Facebook, you'll find that most of the issues will be surrounding the frontend, and this has nothing to do with CakePHP. 如果您是CakePHP的新手,那么显然会遇到一些困难,因为存在学习曲线,但是就在Facebook上使用它而言,您会发现大多数问题都与前端有关,并且与CakePHP无关。

I've recently made a few Facebook Applications in CakePHP and they work just fine. 我最近在CakePHP中制作了一些Facebook应用程序,它们工作正常。 Stick your whole Facebook Session handling in the AppController's beforeFilter() method so every other controller has your Facebook Session and it's pretty easy from there. 将整个Facebook Session处理都放在AppController的beforeFilter()方法中,以便每个其他控制器都有您的Facebook Session,从那里开始非常容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM