Repository navigation
UserGuide_Index
This is a English page.
Click here for Japanese version of this file.
Updated in July 2026
- Managers, SEs and developers considering application development with Open Touryo
- SEs and developers who develop applications with Open Touryo
This document summarizes the whole picture of Open Touryo (configuration, development procedure, functions and tools, etc.) and the user guides and reference materials that explain each of them.
Company names and product names in this document are trademarks or registered trademarks of their respective companies.
2. Configuration and processing
"Open Touryo" is an application development framework for Microsoft .NET, which adds various functions to a "standardization framework" that provides a frame for standardizing architecture.
-
Runtime framework
Uses the Microsoft .NET runtime and frameworks.- P layer: ASP.NET, ASP.NET MVC, Windows Forms, etc.
- D layer: ADO.NET
-
Full-stack framework
A full-stack framework that has a framework for each of the P, B and D layers. -
Standardization frame (framework)
- Can standardize the application structure across the P, B and D layers.
- Independent of the physical architecture (C/S, Web, WebAPI, handheld, cloud).
- There are some prerequisites on the logical architecture and the development technologies to be used.
-
Various development support functions
- SQL creation support
- Dynamic parameterized query … External SQL definition (XML format) and dynamic SQL editing function.
- Batch SQL creation utility … Generates SQL batches for insert / update from a DataTable.
- Automatic generation tools … Automatic code generation using the schema information of the DBMS
- Automatic generation of the D layer (Dao)
- Automatic generation of data maintenance screens (ASP.NET)
- Communication control function
- Supports ASP.NET Web services and WCF (HTTP, TCP/IP).
- Consists of a client library and a service interface, and automates everything from binary transfer of .NET objects (serialization / deserialization) to calling the B layer.
- This makes it easy to implement physical 3-tier architectures such as 3-tier C/S.
- For cross-platform use (cooperation with other development technologies), general-purpose HTTP and TCP/IP service interfaces are exposed.
- In addition, internationalization support, common components, etc. are provided.
- SQL creation support
-
Addressing the fitting problem of standardization frames (frameworks)
The fitting problem is prevented by introducing the following architecture.- A 3-layer class inheritance structure of base classes 1 and 2 and subclasses is adopted, and a customizable layer (base class 2) allows customization for each PJ.
- Since the design takes versatility into account (object model, method signatures, I/F, externalized parameters, etc.), the fitting problem seen in conventional standardization frames (frameworks) hardly occurs.
-
Support for small projects
Instead of combining a set of APIs from scratch, "Open Touryo" makes it easy to start a project by using templates corresponding to each architecture. This allows easy introduction even in small projects of around 20KS.
The following describes non-standardized applications and their problems.
Figure 1-1 Non-standardized application
Table 1-1 Problems of non-standardized applications and their effects
| No. | Problem | Effect |
|---|---|---|
| 1 | - The common processing method (standard) is not followed - The program structure becomes inconsistent |
Lower productivity and maintainability |
| 2 | The same processing is developed redundantly | Lower productivity |
| 3 | Omissions and mistakes in implementing various checks, exclusive control, etc. | Lower quality |
| 4 | - Mistakes in building SQL - Omissions in measures such as input value sanitizing |
Vulnerability problems |
These problems can be solved by standardizing applications using "Open Touryo" as follows.
Figure 1-2 Application standardized by "Open Touryo"
Table 1-2 Solving the problems by standardizing applications, and the effects
| No. | Solution | Effect |
|---|---|---|
| 1 | - The common processing method (standard) can be followed - The program structure can be unified |
Higher productivity and maintainability |
| 2 | Duplicated processing can be eliminated | Higher productivity |
| 3 | Omissions and mistakes in implementation can be prevented (authentication, blockade, timestamp check) |
Higher quality |
| 4 | Prevents omissions and mistakes in implementation related to security and vulnerabilities (use of custom controls, compliance with the use of parameterized queries, etc.) |
Elimination of vulnerabilities |
"Open Touryo" has the following functions.
| Function category A | Function category B |
|---|---|
|
|
Figure 1-3 Functions of "Open Touryo"
"Open Touryo" works with the following configuration and processing flow.
Figure 2-1 Configuration and processing flow
💡 Note In addition to the "log definition" and "SQL definition file" above, the files used include the "web.config" file, which gathers the ASP.NET configuration, in the case of ASP.NET, and the "app.config" file, which gathers the "Open Touryo" configuration. Depending on the functions used, separate file definitions may also be required.
This section explains the layer structure of "Open Touryo". "Open Touryo" consists of three (horizontal) layers, P, B and D, and each layer further consists of three (vertical) layers: "base classes 1 and 2" and "subclasses". The roles of the vertical layers are described below.
Figure 2-2 Structure of each layer
Table 2-1 Roles of each layer
| No. | Direction | Layer | Role |
|---|---|---|---|
| 1 | Horizontal layers | Logical layers divided by the classification of processing logic. | |
| 1-1 | P layer | Presentation layer. Responsible for the logic of screen display processing. | |
| 1-2 | B layer | Business logic layer. Responsible for the logic of business processing. | |
| 1-3 | D layer | Data access layer. Responsible for the logic of data access processing. | |
| 2 | Vertical layers | In the development model of Open Touryo, development is done by inheriting the provided classes. | |
| 2-1 | Base class 1 | Framework classes related to the application structure and processing method. They define the application structure and provide functions to control the processing flow. | |
| 2-2 | Base class 2 | Inherits "base class 1" and implements domain-specific processing. Domain-specific processing means the common infrastructure processing of each project. In addition, it manages DB connections, transactions and log output. | |
| 2-3 | Subclass | Inherits the above "base class 2" and implements business logic. | |
The roles of the vertical layers are as shown in the table above. Accordingly, the implementers of each layer are as follows.
Table 2-2 Implementers of each layer
| No. | Layer | Implementer |
|---|---|---|
| 1 | Base class 1 | Basically not modified. |
| 2 | Base class 2 | Implemented by the "leader" who understands the processing method. |
| 3 | Subclass | Implemented by the "developer" who implements the business logic. |
The following kinds of processing are implemented in "base class 2".
Figure 2-3 Examples of processing implemented in "base class 2"
The relationship between the "user guides" used in development and their "users" is shown below.
Table 2-3 Relationship between user guides and users
| No. | User guide | Users |
|---|---|---|
| 1 | Common edition | Leaders, developers |
| 2 | Leaders edition | Leaders |
| 3 | Developers edition | Developers |
The user guides use the following official names for classes.
Table 2-4 Class names (official names)
| No. | Vertical layer \ Horizontal layer | Base class 1 | Base class 2 | Subclass |
|---|---|---|---|---|
| 2 | B layer | Business code parent class 1 | Business code parent class 2 | Business code class |
| 3 | D layer | Data access parent class 1 | Data access parent class 2 | Data access class (Dao) |
| 4 | Parameter | Parameter parent class 1 | Parameter parent class 2 | Parameter class |
| 5 | Return value | Return value parent class 1 | Return value parent class 2 | Return value class |
| 6 | Handover information | User information parent class | User information class | - |
The development procedure proceeds by "tailoring and establishing" the following document standards.
Figure 3 Example of a document standardization workflow
"Open Touryo" proposes a reverse process utilizing document generation tools such as "Doxygen" and "A Hot Document". In this case, the key of the design is the "event detail definition" in the figure above, and the "class / method definition" supplements the "event detail definition" and is generated automatically by the document generation tool.
※ Points of document standards - Open Touryo Wiki (Japanese)
"Open Touryo" has the following functions and tools. In addition to functions that can be used like add-ins, the tools provided by the framework can be used together with the Visual Studio designer, which is a RAD tool. This can improve the QCDF of a project.
Figure 4-1 Functions and tools
These functions and tools can be used in the development of each layer. There is no particular restriction on the order of developing the layers. Both the bottom-up approach (D layer → B layer → P layer) and the top-down approach (P layer → B layer → D layer) can be applied.
Figure 4-2 Development procedure and tools
The relationship between the documents used in development and the "functions and tools" is shown below.
Table 4-1 Relationship between user guides and "functions and tools"
| No. | User guide | Functions and tools |
|---|---|---|
| 1 | Dynamic parameterized query edition | - Dynamic parameterized query (function) - Dynamic parameterized query analysis tool |
| 2 | D layer automatic generation edition | D layer automatic generation tool (Sumitsubo) |
| 3 | Individual functions edition | - Shared information - Message acquisition function - Screen transition control function - Transaction control function - Communication control function - Ajax cooperation function |
| 4 | Better use and FAQ edition | - C/S 2-tier application development - ASP.NET Mobile Web development |
| 5 | API reference manual | Class library |
-End-
Copyright © 2007,2017, Hitachi Solutions, Ltd.