doudu2591 2014-06-30 13:48
浏览 89
已采纳

用于简单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?

  • 写回答

1条回答

  • doulian4762 2014-07-01 14:27
    关注

    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/

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

报告相同问题?

悬赏问题

  • ¥188 寻找能做王者评分提取的
  • ¥15 matlab用simulink求解一个二阶微分方程,要求截图
  • ¥30 乘子法解约束最优化问题的matlab代码文件,最好有matlab代码文件
  • ¥15 写论文,需要数据支撑
  • ¥15 identifier of an instance of 类 was altered from xx to xx错误
  • ¥100 反编译微信小游戏求指导
  • ¥15 docker模式webrtc-streamer 无法播放公网rtsp
  • ¥15 学不会递归,理解不了汉诺塔参数变化
  • ¥15 基于图神经网络的COVID-19药物筛选研究
  • ¥30 软件自定义无线电该怎样使用