社交网络app数据库设计_建立自己的社交网络,游戏服务器或知识库! -Sourcehunt

本文介绍了几个开源项目,包括替代Phinx的数据库迁移工具Phoenix,团队知识库应用Opus,以及游戏服务器控制面板Pterodactyl。此外,还提到了PHP模板引擎Soundless和代码质量工具phpmnd。这些项目可以帮助开发者构建社交网络、游戏服务器和提高代码质量。
摘要由CSDN通过智能技术生成

社交网络app数据库设计

It’s time for our monthly hunt for new open source libraries to use and contribute to!

现在该是我们每月一次寻找使用新的开源库并做出贡献的时候了

If you’re new to Sourcehunt, it’s our monthly post for promoting open source projects that seem interesting or promising and could use help in terms of Github stars or pull requests.

如果您是Sourcehunt的新手,这是我们的月度帖子,用于推广看起来有趣或有前途的开源项目,这些项目可以在Github明星或请求请求方面使用帮助。

It’s our way of giving back – promoting projects that we use (or could use) so that they gain enough exposure to attract a wider audience, a powerful community and, possibly, new contributors or sponsors.

这是我们回馈的方式-推广我们使用(或可以使用)的项目,使它们获得足够的曝光度,以吸引更广泛的受众,强大的社区,并可能吸引新的贡献者或赞助者。

Sourcehunt logo


卢尔科/凤凰 [16★] (lulco/phoenix [16 ★])

An alternative to the very popular Phinx, Phoenix is a way to set up easy and automatic database migrations for any application. You may be wondering “why”? Well, why not? Re-inventing the wheel isn’t necessarily a bad thing if the new wheel is stronger, sturdier, and lighter than the one we used before.

Phoenix是非常流行的Phinx的替代产品 ,它是一种为任何应用程序设置简单,自动的数据库迁移的方法。 您可能想知道“为什么”? 好吧,为什么不呢? 如果新车轮比我们以前使用的车轮更坚固,结实和轻便,那么重新发明车轮不一定是一件坏事。

Phoenix is easier to use, has a simpler API, and supports modules, as explained by the author:

正如作者所解释的,Phoenix易于使用,API更简单并且支持模块:

We are creating one application for multiple clients, so we need modules. Each client has different modules installed. With Phinx (in older version) we had to run all migrations, which for example creates also not necessary tables. With Phoenix each module has its own migration folder which is registered to migration config only if module is installed.

我们正在为多个客户端创建一个应用程序,因此我们需要模块。 每个客户端安装了不同的模块。 使用Phinx(在较旧的版本中),我们必须运行所有迁移,例如,它也创建了不必要的表。 使用Phoenix时,每个模块都有自己的迁移文件夹,只有在安装了模

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值