dongyouzhi7218 2012-08-29 07:07
浏览 61
已采纳

用于JQUERY / AJAX客户端的PHP框架主要用于身份验证过程和数据库操作。 哪一个?

I'd like to have "PRO" Php developers advice regarding the framework they use , specially for an application that use "mainly" php as authentication process, connector and db data process in relationship with an Ajax/Jquery Client ... I use Zend Framework , but is that framework the lightest solution for that kind of process ?

In my list i have :

  1. Symfony http://symfony.com/get_started
  2. Kohana http://kohanaframework.org/

Ok,

Here are further details on what i need :

I'm developing a website that needs these requirements :

Simple login with classic interface and social ones (facebook, twitter). When user login , he can just change some parameters on his account (pseudo, password and so on). Then, the only thing he can do is creating what i will call "objects" that have different properties. These "objects" can then be share with others through a graphical interface.

Nearly everything on the client side will be just displaying these objects with Jquery/Ajax in relashionship with PHP...

So, i just need PHP for oAuth process and datas manipulations...

I'm trying to find the best solutions regarding this little scenario...

For now, i use Zend Framework on Zend server, it works, but seems to be a little bit "heavy" .. so my question is : is there a better 'lightest' way to consider this ?

Dunno if i'm clear :-/ ...

So, thanks in advance !

  • 写回答

1条回答 默认 最新

  • dongxiangchan0743 2012-08-29 22:16
    关注

    Aside agreeing with Gordon, I can see you're just looking for someone to suggest something besides zend.

    I would go with Kohana over Symfony because Kohana is much easier to understand out of the box and doesn't require any special setup to work with. It is fast enough to supply you with whatever I assume you need at this level - and by that I mean that if you were building an enterprise level site like ebay you wouldn't be asking this question at all.

    You don't need to use the ORM for database interaction but if you decide to it is very easy to understand and will make the development process much faster, even if you don't know the ins and outs of it.

    Officially my answer is to agree with Gordon though. If he posts his comment as an answer I will upvote it because you shouldn't just ask the community what they use while providing a tiny list of things you need that almost every site on the planet also uses. It's just too vague.

    And yes, I use Kohana all the time. Codeigniter as well if you want another option.

    Limonade is another option for very tiny micro-framework. I dislike it for a huge number of reasons but it is not hard to use.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?