系统管理员发现组件图是有用的,因为他们可以获得将运行于他们系统上的逻辑软件组件的早期视图。
System administrators find component diagrams useful because they get an early view of the logical software components that will be running on their systems.
逻辑层上的动态视图跟踪通过系统主要组件的消息流。
The dynamic view at the logical level traces the message flows through the major components of the system.
然而MVC要求视图组件,比如JSP与逻辑无关。
Yet MVC requires that view components, such as JSPs, be free of logic.
了解了逻辑组件及其集成的概况之后,现在看看更详细的组件模型视图,见图3。
After understanding the logical components and their integration on a high level, now move from the high-level overview into a more detailed component model view, as shown in Figure 3.
但在我们的示例中,因为servlet实际上创建了下行视图,所以我们需要另外的组件来包装控制器和模型逻辑。
But in our case, because the servlet actually creates the downstream view, we need additional components to wrap our controller and model logic.
Bejeck在文章中试图创建混合了继承和组合关系的组件,实施分离关注点,尤其是分离视图和商业逻辑。
In the article Bejeck is trying to create components with a mixture of inheritance and composition, and enforce separation of concerns, especially between view and business logic.
你可以创建一个仅仅包含视图的单独的脚本,而与组件的交互或者绑定都在主类中,在MVC模式中可以更清晰的分离视图与逻辑部分。
You can create a separate script which only contains the view, while the interactions or bindings between components are in the main class, making a clearer separation in the MVC model.
MVC 的目的在于将视图逻辑和UI组件与应用程序逻辑相分离。
MVC aims to separate view logic and UI components from application logic.
一旦逆向工程被成功的完成,我们就能够在我们的模型的逻辑视图和组件视图中发现被命名为asdi 的包(见图4 和5)。
Once the reverse engineering was successfully completed, we found a root package named asdi under Logical View and Component View in our model (see Figures 4 and 5).
一旦逆向工程被成功的完成,我们就能够在我们的模型的逻辑视图和组件视图中发现被命名为asdi 的包(见图4 和5)。
Once the reverse engineering was successfully completed, we found a root package named asdi under Logical View and Component View in our model (see Figures 4 and 5).
应用推荐