简体   繁体   English

开发应用程序服务器:django,zend,cakecake,codeigniter和其他

[英]Developing an application server: django vs. zend vs. cakephp vs. codeigniter vs. other

I'm trying to develop an application server that will deliver content to a core group of websites, as well as provide third party services to other websites that also want to use this content. 我正在尝试开发一个应用程序服务器,该服务器将向一组核心网站交付内容,并为也希望使用此内容的其他网站提供第三方服务。 The app server will be hosting web services for these core + 3rd party websites. 该应用程序服务器将为这些核心+第三方网站托管Web服务。 Authentication and all that comes into play. 身份验证及所有功能。 The data itself will consist of millions of records. 数据本身将包含数百万条记录。

These records will come from a variety of sources: APIs, RSS feeds, REST services, etc. This app server will essentially collect this data on a routine basis, and update the database with this new information. 这些记录将来自各种来源:API,RSS提要,REST服务等。此应用程序服务器将基本上按常规收集此数据,并使用此新信息更新数据库。 This data will then be shared via some sort of web service (most likely REST) to the core websites and 3rd party websites. 然后,这些数据将通过某种Web服务(最可能是REST)共享到核心网站和第三方网站。

FYI, I'm making a distinction between core sites and 3rd party websites because there will be different access levels, ie a core website will have more access than a 3rd party website. 仅供参考,我要区分核心网站和第三方网站,因为访问级别会有所不同,即核心网站比第三方网站拥有更多的访问权限。

All that said, I'm trying to make the best decision on which framework to use. 综上所述,我正在尽力决定使用哪种框架。 At the risk of losing all credibility, I currently have a ton of this code written as a wordpress plugin. 冒着失去所有信誉的风险,我目前有大量的此类代码作为wordpress插件编写。 What started as a one-time site evolved into several sites, and some homebrew hacking to make my outdated infrastructure work across multiple sites. 从最初的一次性站点发展为多个站点,并进行了一些自制入侵,使我过时的基础架构可以跨多个站点工作。

I'm looking to migrate all of this to a new application server, with a solid framework. 我希望将所有这些迁移到具有可靠框架的新应用服务器中。

Since everything is written in PHP, obviously I'm tempted to do the migration in PHP. 由于所有内容都是用PHP编写的,因此显然我很想用PHP进行迁移。 However, I'm considering Python because of its powerful ability to manipulate data. 但是,我正在考虑使用Python,因为它具有强大的数据处理能力。 I don't know if it's worth the hassle, though, of rewriting a lot of code in Python. 但是,我不知道用Python重写很多代码是否值得麻烦。

Could anyone give me some tips on what I should do? 谁能给我一些应该怎么做的提示? I'm really looking to clean up a big mess more than anything, and would like a framework to encourage some solid programming conventions. 我真的很想清理更多的东西,并且想要一个鼓励一些可靠的编程约定的框架。

All of the frameworks that you mentioned are capable. 您提到的所有框架都是有能力的。 Pick one in the language that you know the best and use that. 选择一种您最了解的语言并使用它。

I agree with @gpojd's opinion. 我同意@gpojd的意见。 All of them that you mentioned are fully capable. 您提到的所有功能都很强大。

However, it looks like they are too powerful for your job. 但是,对于您的工作而言,它们似乎太强大了。 Because they are all full-stack MVC-like web frameworks shipped with ORM, Template engine, URL redirections and i18n supports. 因为它们都是ORM,模板引擎,URL重定向和i18n支持随附的全栈MVC式Web框架。

So, I suggest you to use more lighter/thinner frameworks. 因此,我建议您使用更轻/更薄的框架。 and if you don't mind choosing any programming languages, please check out the below frameworks. 如果您不介意选择任何编程语言,请查看以下框架。

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

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