gpt4 book ai didi

javascript - Angular 4 - 一个通用 Web UI 中的多个 Web 应用程序

转载 作者:行者123 更新时间:2023-11-28 02:30:52 26 4
gpt4 key购买 nike

目前,我有 30 个 Web 应用程序(比方说),我正在尝试将它们的界面包含在一个通用的 Web 用户界面中。例如,我在左侧有一个包含所有应用程序的菜单,单击其中一个后,我可以在中间框架中看到它的 UI。

这里的问题是这些应用程序具有可以标准化的服务,即在涉及权限时,可以构建一个公共(public)服务,所有应用程序都将调用该服务。

我正在考虑在不按组件分解每个应用程序的情况下执行此操作。我希望在应用程序方面完成最少的工作。

有没有人试过这样做?您对方法有什么建议吗?我在考虑使用 Angular。

最佳答案

Currently, I have 30 web applications (say) and I am trying to include their interfaces in a common web ui. For example, I have a menu on the left with all applications and once I click one, I can see its UI in a middle frame.

每个应用程序都可以有一个模块,每个应用程序都有自己的路由,这些模块可以配置为延迟加载。

The catch here is that these applications have services that can be standardised i.e. when it comes to permissions, a common service can be built which will be called by all applications.

您可以在根级别提供通用服务,并在每个模块中提供特定于应用的服务。

I am looking into doing this without decomposing each application by components. I would like to have minimal work done on the application side.

不确定你的意思。

关于javascript - Angular 4 - 一个通用 Web UI 中的多个 Web 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47713212/

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