实时分析网站的最佳语言

发布于 2024-11-18 12:57:57 字数 323 浏览 1 评论 0原文

我正在开发一个应用程序,它本质上是从大量不同的来源(twitter、facebook、github、basecamp、stackoverflow 等)提取数据并将其全部聚合到一个有用的界面中。一切都需要实时。

我认为应用程序的大部分将避免使用数据库 - 因此我提取的数据不会被存储,它只会在每次用户需要时被重新拉取并格式化。显然,将涉及大量 AJAX 并从不同的 API 获取大量数据。

我最擅长 PHP,但我经常发现它很笨拙,尤其是处理这类事情。对于如此频繁地提取此类数据并快速为用户解析它,哪种语言或框架最干净?我了解 Node.js 和 Ruby,但如果需要的话,我非常愿意学习新的语言/框架。

I'm developing an app that is essentially going to pull data from a ton of different sources (twitter, facebook, github, basecamp, stackoverflow, etc.) and aggregate it all into a useful interface. Everything is going to need to be real-time.

I'm thinking that the majority of the app will avoid database usage - so the data I pull isn't going to be stored, it'll just be repulled and formatted everytime a user needs it. Obviously there is going to be a lot of AJAX involved and a lot of grabbing data from different APIs.

I'm most skilled in PHP, but I often times find it to be clunky, especially with this sort of thing. What language or framework would be the cleanest for pulling this kind of data so often, and quickly parsing it for the user? I know my way around Node.js and Ruby, but am very open to learning a new language/framework if need be.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

源来凯始玺欢你 2024-11-25 12:57:57

所有流行的网络语言都很好,但是,我会投票给 Node.js,原因如下:

  1. 你知道的。
  2. 易于与第三方服务(例如 stackoverflow)进行异步网络连接,
  3. 您的系统不会那么敏捷,并且 node.js 可以处理许多并发客户端。

php 你也知道并且有curl 可以做multi get 来解决2. 但这不会帮助你解决3. ruby​​ 与php 处于同一条船上。

all popular web languages are fine, but, i'd vote for node.js for the following reasons:

  1. you know it.
  2. easy for async networking to 3rd party services such as stackoverflow
  3. your system won't be so snappy and node.js can handle many simultaneous clients.

php you know too and has curl that can do multi get to solve 2. but that won't help you with 3. ruby is in the same boat as php.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文