gpt4 book ai didi

database - Rebol 的 PostgreSQL 驱动程序?

转载 作者:搜寻专家 更新时间:2023-10-30 20:18:28 24 4
gpt4 key购买 nike

我正在考虑使用 Rebol3 和 PostgreSQL 做一些工作并尝试规划我的方法。看起来我有以下选项:

  1. ODBC 访问。

  2. 自己写驱动

  3. 也许已有一个可行的。

ODBC 访问看起来是最简单的方法,但 native PostgreSQL 驱动程序提供了一些我更愿意使用的不可用的功能。这导致我编写自己的驱动程序或尝试使用 2003 年的旧纯 rebol 驱动程序。

很多 rebol 2 代码在 rebol 3 上不起作用,所以我认为 PostgreSQL 驱动程序需要一些努力才能工作,并且需要更多努力才能使用 PostgreSQL 的最新协议(protocol)。我猜这不会太难?

我的目标是创建一些框架,以便快速轻松地将存储过程绑定(bind)到前端,将我其余工作的一些更好的特性带到 Rebol 应用程序中。人们认为这里最好的前进方式是什么?

最佳答案

目前没有 Rebol 3 PostgresSQL 驱动程序。 Rebol 2 驱动程序非常简洁,因此将它迁移到 Rebol 3 可能是一种选择。如果您有兴趣更新 Rebol 2,那么您会发现 Graham Chiu 的这篇教程非常有用:

https://github.com/gchiu/rebol.net/blob/master/docs/Writing_a_Network_Scheme.adoc

@rebolek 也写了一个 Redis 协议(protocol),可以作为一个有用的引用:

https://github.com/rebolek/prot-redis

据我所知,最新的 Rebol 2 版本在这里:

http://softinnov.org/rebol/pgsql.shtml

Rebol 2 PostgresSQL 驱动程序的作者仍然活跃在社区中(现在正在开发 Red 语言),因此他可能能够提供支持和建议。来 Stack Overflow Rebol 和 Red 聊天室访问我们,希望我们能提供进一步的帮助。

https://chat.stackoverflow.com/rooms/291/rebol-and-red

关于database - Rebol 的 PostgreSQL 驱动程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20462058/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com