开发嵌套应用程序
我们正在考虑将多个数据库应用程序迁移到单个平台 - 可能基于网络。
我们一直在考虑的模型是拥有许多嵌套应用程序,如下所示:
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
基于网络是否意味着浏览器?根据应用程序的类型,编写一个仅使用 Internet 进行通信的传统 Delphi 客户端应用程序可能会更好。这两种方法的一个例子是电子邮件:Outlook 与 Gmail。他们(显然)都使用互联网,但其中一个运行客户端,另一个在“云”中运行。当然,可以说两者在技术上都是在客户端运行。
根据您对计划的描述,仅使用 Native Delphi 实现您的目标的一种非常简单的方法是:
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:
与其查看要开发嵌套应用程序的环境和语言,不如查看使其工作所需的功能单元。尝试在 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.