用于简单CRUD API和身份验证的PHP框架[关闭]

I am looking for a PHP framework for a simple CRUD API that will need some authentication. The sole purpose of this app is to be highly scalable.

The php API will be very simple CRUD Rest with mostly writes. This API will be used only in a iphone application where the iPhone App is sending user data every couple of milliseconds/seconds.

The way i see it

 Load Balancer -> PHP Framework (Horizontally Scalable) -> RabbitMQ Cluster -> Some Java Servers talking tp Hadoop/Cassandra -> Hadoop/Cassandra Cluster

So the Load balancer will pick which app server to send the data. PHP will get the data via a POST, do some authentication work..Maybe some validation, and then send the data/message to RabbitMQ, which will then talk to some Java server to do reads and writes. There may be Cache server in there too somewhere.

So i just need a simple PHP framework that Can do Rest/CRUD, simple authentication. probably a token in the post request and then can talk to a RabbitMQ server.

The PHP framework should probably be light. I have used Laravel in the past and i know it has a queue implementation, but i think it may be too slow for this.

Any suggestions?

duanliao6789
duanliao6789 我写了一些可能有用的内容,请参阅此博客,但您需要添加自己的身份验证。
大约 5 年之前 回复
douxi3554
douxi3554 任何框架都可以做Rest/CRUD(这将是你的工作实现)。如需速度,请查看Phalcon(phalconphp.com)
6 年多之前 回复

1个回答



根据这些要求,我建议您使用微框架,因为它具有轻量级。 我运行了一个带有超薄微框架</ strong>的项目并取得了很好的成绩。 市场上有很多,所以我让你选择。

查看:

http://xybu.me/a -comparison-of-php-micro-frameworks / </ p>
</ div>

展开原文

原文

With those requirements I suggest you to use a microframework because of the lightweight. I have running a project with Slim microframework with good accomplishments. There are many in the market so I let you choose. Look at:
http://xybu.me/a-comparison-of-php-micro-frameworks/

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐