开发嵌套应用程序

发布于 2024-08-10 07:41:22 字数 293 浏览 3 评论 0原文

我们正在考虑将多个数据库应用程序迁移到单个平台 - 可能基于网络。

我们一直在考虑的模型是拥有许多嵌套应用程序,如下所示:

1)有一个“侧边栏”,用于管理应用程序的基本导航、搜索等

。2)在侧边栏中进行选择在显示屏的主要部分加载适当的应用程序。这些应用程序中的每一个内的链接都可以调用其他应用程序,就像更改网页一样。

然而,环顾四周,我看不到在 IntraWeb(我们的第一选择 - 托管在浏览器中)或 Delphi 中实现这一点的直接方法,除非将其全部编码为单个应用程序。

有什么建议吗?

We're looking at moving our multiple database applications to a single platform - possibly web based.

The Model that we've been thinking of is to have a number of nested applications something like this:

1) Have a "Side bar" which manages the basic navigation of the applications, searching, etc.

2) Making a selection in the sidebar loads the appropriate application in the main portion of the display. Links within each of these applications may call other applications as if changing web pages.

However looking around I can't see a straight forward way of implementing this in either IntraWeb (our first choice - hosted in a browser) or Delphi, short of having coding it all as a single application.

Any advice?

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

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

发布评论

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

评论(2

层林尽染 2024-08-17 07:41:22

基于网络是否意味着浏览器?根据应用程序的类型,编写一个仅使用 Internet 进行通信的传统 Delphi 客户端应用程序可能会更好。这两种方法的一个例子是电子邮件:Outlook 与 Gmail。他们(显然)都使用互联网,但其中一个运行客户端,另一个在“云”中运行。当然,可以说两者在技术上都是在客户端运行。

根据您对计划的描述,仅使用 Native Delphi 实现您的目标的一种非常简单的方法是:

  • 每个应用程序都是一个单独的 EXE
  • 有一个“父”启动器 EXE
  • 启动器列出了可用的应用程序
  • 当应用程序启动时,它是父级的通过(比如说)启动器 EXE 中的 TPanel

Does web-based imply a browser? Depending on the type of application, it may be better to write a conventional Delphi client-side application that simply uses the internet for communication. One example of the two approaches is email: Outlook vs Gmail. They both (obviously) use the internet, but one of them runs client-side, and the other in the "cloud". Of course it can be argued that both are technically running client-side.

Based on your description of your plan, one very easy means of achieving your goal with Native Delphi alone:

  • Each application is a separate EXE
  • There is a "parent" launcher EXE
  • The launcher lists the available applications
  • When an application is launched, it is parented by (say) a TPanel in the launcher EXE
秋心╮凉 2024-08-17 07:41:22

与其查看要开发嵌套应用程序的环境和语言,不如查看使其工作所需的功能单元。尝试在 Delphi 和 Intraweb 中编写该模型。
通常所有应用程序共有的功能部分是菜单、安全性和 UI,将其添加到核心“管理器”中。
将业务逻辑与 UI 分离。

看看 Joomla、Drupal 等 CMS 系统是如何构建的。特别是在管理功能单元方面。随着时间的推移,其中一些已经发展成为完整的程序容器。

创建一个小型 cgi 应用程序,可以加载 dll 并向第一个应用程序添加功能。

Rather than looking at the environment and language you want to develop the nested application in, look at the functional units you need to make it work. Try to write mock-ups of that in Delphi and intraweb.
Functional parts that are normally common to all applications is menus, security and UI, add that to the core "Manager".
Split the Business logic from the UI.

Have a look at how CMS system like Joomla, Drupal and others are built. Especially in managing units of functionality. Overtime some of them have evolved into full program containers.

Create a small cgi app that can load a dll and add functionality to the first app.

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