将 Delphi/Oracle 应用程序从 2 层更改为 3 层

发布于 2024-09-14 00:03:55 字数 344 浏览 5 评论 0原文

在我的公司,他们最终(大约是时候了......)考虑将我们最畅销的应用程序之一从 2 层架构转换为 3 层架构,无论是逻辑层(表示层、业务层和数据层)还是物理层。我们可能会采用 Delphi-Delphi-Oracle 或 Delphi-Java-Oracle 方法来进行更改。

这是一个相对较旧且大型的应用程序,在我开始在那里工作之前已经创建和修改了很长时间。除非必须更改某些内容,否则通常从不考虑重构。此外,业务逻辑存在于两个实际层中......叹息。

物理上的变化并没有让我太烦恼,但逻辑上的变化将是一种穿越地狱的通道。为了尽可能地平滑它,我想研究哪些 Delphi 组件更适合 3 层模型。

您会考虑使用哪些替代方案?

In my company they are finally (about time...) considering to convert one of our best selling apps from a 2-tier to 3-tier architecture, both on logical (Presentation, Business and Data layers) as well as physical level. Probably we will go for either a Delphi-Delphi-Oracle or a Delphi-Java-Oracle approach for the change.

This is a relatively old and large app that has been created and modified for a long time before I began working there. Refactoring, except for when something had to be changed, was usually never considered. Also, business logic is present in both of the actual tiers... sigh.

The physical change does not bother me much but the logical change will be kind of a passage through Hell. In order to smooth it as much as possible I would like to investigate about which Delphi components suit better for a 3-tier model.

¿Which alternatives would you consider to use?

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

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

发布评论

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

评论(4

眼泪都笑了 2024-09-21 00:03:55

另一个好的n层框架库是来自components4developers的kbmMW:http://components4developers.com/

Another good n-tier framework library is kbmMW from components4developers: http://components4developers.com/

暖树树初阳… 2024-09-21 00:03:55

我们最近使用 RemObjects DataAbstract 将 2 层 Delphi 应用程序转换为 3 层。虽然最初的学习曲线相当陡峭,但我们对结果非常满意。

DataAbstract 让您忘记数据库和网络连接的底层细节,而专注于业务逻辑。它允许您创建一个抽象服务层,为您的服务器客户端提供良好的 API。使用此 API,我们使用 Delphi 和 Delphi Prism ASP.NET 客户端连接到服务器。

We've recently converted our 2 tier Delphi app to 3 tier using RemObjects DataAbstract. While the initial learning curve was quite steep, we are absolutely delighted with the results.

DataAbstract lets you forget about the underlying nuts and bolts of database and network connectivity and concentrate on the business logic. It allows you to create an abstract service layer that provides your server clients with a nice API. Using this API we connect to the server using both a Delphi and a Delphi Prism ASP.NET client.

十二 2024-09-21 00:03:55

我发现 RemObjects 非常有用。他们还在其之上构建了 DataAbstract,但我还没有使用它。

I've found RemObjects pretty usable. They have also DataAbstract built top on it, but I haven't used it.

南街女流氓 2024-09-21 00:03:55

您考虑过 DataSnap XE 吗?

Have you ever considered DataSnap XE?

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