Civil Engineer's Forum-FORUM8
Set this page as your homepage QR

Facebook - FORUM8

Twitter - FORUM8

instagram - FORUM8

YouTube - FORUM8

 Sitemap | Terms of Service | Inquiries | English translation site | Japanese | English | Korean | Vietnam | Francais

 Online Seminar: ● Information Technology Course (10)
Supervised by:
Professor Tanada Narimasa
Kanagawa University
Faculty of Information Science
Vol.10 Introduction to Design Patterns

● What are design patterns?
 In software design, it refers to a template that organizes procedures and methods for solving a particular problem in a way that makes it easy to reuse.
 The patterns are described based on object-oriented principles, and consist of basic elements such as pattern name, problem, solution, and result, and are created by combining objects. By utilizing design patterns, it is possible to achieve high reusability and flexible designs. The origin of design patterns lies in the ideas that architect Christopher Alexander formulated as architectural techniques; however, while they did not gain traction in the field of architecture, they have had a significant impact on the field of software development.


● What is object-oriented programming?
 In software development and design, this refers to an approach that emphasizes the objects being processed rather than the functions of the processing itself. It is a method of describing program functionality by grouping it into units called "objects."
 If an object already exists, it can be used simply by defining how to make it function, without needing to know its internal structure, making reuse easy, which is considered its greatest advantage. Programming languages that support object-oriented programming include Java, C++, VB.NET, and Ruby.


● Types of design patterns
 There are several types of design patterns, and among the most famous is the book "Design Patterns: Elements of Reusable Object-Oriented Software" by GoF (a group of 4 authors), which introduces 23 basic patterns suitable for various purposes.

Furthermore, IFC 2x is a standard that complies with ISO international standards/STEP (and has obtained ISO PAS certification).
Patterns related to generation
  Abstract Factory , Builder , Factory Method , Prototype , Singleton
Structural patterns
  Adapter , Bridge , Composite , Decorator , Facade , Flyweight , Proxy
Patterns related to behavior
  Chain of Responsibility , Command , Interpreter , Iterator , Mediator , Memento , Observer , State , Strategy , Template Method ,
  Visitor


● Object interface specifications
 In design patterns, operations on objects are performed through interfaces. Using specific concrete classes reduces flexibility, so the details of the processing should be defined within objects that implement the interface. Interfaces are declared based on their name, type, and return value.


● Utilization of design patterns within CALS-related systems
 In electronic delivery, electronic bidding, and information sharing systems, there are common elements and multiple functionalities.
 For example, this might occur when there are complex requests from users, or when the services and methods of information disclosure vary depending on the municipality. In such cases, if a function is expressed as a class, it becomes difficult to extend or reuse it using common processing. To make it easier to switch or expand functions in these situations, employing "composition" and "inheritance" in system design can lead to various service offerings.

Inheritance:
The goal is to inherit and reuse functionalities from a superclass. While inheriting many necessary parts from existing classes can significantly reduce development effort, it increases the dependency on the superclass. Therefore, when considering flexibility in case of changes to the superclass or modifications to the inherited sections, the following composition approach is recommended.
Composition:
It's an alternative to inheritance, and it's a way to gain new functionality by combining or composing objects.
These are important techniques in design patterns that are created with the purpose of reuse.

 The patterns that appear to be effective for use in CALS-related systems are as follows:

1) Strategy:
This approach focuses on the independence of modules when switching between system configurations. The implementation is defined within a class, and the processing logic is described through an interface. When CAD drawings for electronic submissions vary in format depending on version, applicable standards, and guidelines, it's crucial to have methods for data verification, processing, and reuse. Using the Strategy pattern makes it easier and more effective to switch between different configurations in electronic submission and e-procurement systems where there are frequent changes in processing methods.
2) Chain of Responsibility:
This is a design pattern that connects objects with specific functionalities to handle complex processing requests. For example, in the case of electronic delivery file command rules or checking file formats for prohibited characters, a check system that links together various checks is used. The Chain of Responsibility pattern is particularly useful for functions in electronic delivery and e-procurement systems where tasks are divided among different components.
3) Decorator:
This pattern represents the content and its associated decorations as a single object. In electronic delivery systems, it is often necessary to modify the layout of displayed elements or reuse them. By using the Decorator pattern, it becomes possible to change the display method based on the user, or to use a consistent layout for uniformity. This also enables standardization and reuse in emails, such as signatures and output formats, which require verification.
4) Adapter:
This is a design pattern that converts the interface of one object into another. For example, when adding new features to existing electronic delivery or electronic bidding systems, it is common for the system's interface and the interface used by the user to be different. By using the Adapter pattern, you can add functionality to an operating system with minimal impact, while maintaining the reliability of a tested and existing system.


● Examples of usage within our company
 In FORUM8, the 3D analysis program "UC-win/FRAME(3D)," which focuses on arbitrary shape truss structures, employs design patterns in many areas.
 For example, UC-win/FRAME(3D) has a "copy" function, and it uses the Prototype pattern. The Prototype pattern manages an original instance and creates new instances by copying it.
Specifically, these copies are used for load cases, cross-sections, outlines, M-φ characteristics, hysteresis loops, lateral restraint materials, material properties, spring characteristics, and seismic waves.


Reference: Kensetsu21 CALS/JAPAN Information Technology Course: Introduction to Design Patterns
     


  
Previous page    Index Next page
(Featured in the "Up&Coming" Summer Issue of 2008)
Go back
Up&Coming

FORUM8


Contact information




■ [User Introductions]
sugiko Corporation, Technical Sales Department
Scaffolding Safety Consulting Department

Mie University, Graduate School of Engineering
Seika Digital Image Co., Ltd.
Infranet Co., Ltd.






>> Product comprehensive catalog


>> Premium membership services
>> Financial support

Recently released products
■ Electrical Media Delivery Support Tool Version 19
■ Retaining wall design, 3D reinforcement detailing, Version 26
■ Bridge Maintenance Plan System Version 7
■ Calculation for concrete slab placement (compliant with R7/H29 road standards), Version 2

Campaign in progress
■ Within 2 years of release, enjoy a 30% discount plus 30,000 FPB points back
■ Smart download
■ Design Festival 2026, exclusive for visitors
■ Drone school discount

Seminar and event calendar
Upcoming seminars
11/26  Metavernia F8 VPS experience
11/27  Introduction to Structural Analysis
12/2  Engineer programming
  Introduction to yoga experience
12/3  DesignBuilder experience
12/4  Reinforced concrete foundation

Software/Support Services
VR software(Virtual reality)
《UC-win series》
Road simulator
• Driving simulator
• Micro-simulation
Evacuation analysis and simulation
>> Other VR software
FEM analysis software
・3-dimensional plate dynamic nonlinear analysis
・2-dimensional dynamic nonlinear analysis
・A comprehensive finite element analysis system
>> Other FEM analysis software
Civil engineering, architecture, and design software
《UC-1 Series》
・Structural analysis/cross-section
Bridge superstructure
・Bridge substructure components
Foundation work
Temporary construction
Road construction and earthworks
・Harbors
・Hydraulic engineering
・Subsurface investigation and analysis
・CAD/CIM systems, construction accounting
• Maintenance and management, earthquake risk
Architecture
・Ships/Evacuation
>> Other civil engineering, construction, and design software
Cloud
《Supercomputer Cloud®》
・Supercomputer cloud services
《VR-Cloud®》
・Real-time VR system
Analytical support services/support
・UC-win/Road support system
・Design verification support service
・Engineer's Studio® analysis support
・Ground investigation analysis support services
・EXODUS/SMARTFIRE analysis support
・XPSWMM analysis support services
Building energy simulation
• 3D laser scanning and modeling
・3D modeling services
• 3D report and drawing services
>> Other support services
Various solutions
Seismic resistance assessment/analysis
・Design of steel bridges
・New bridge construction methods
Architectural design
・Local governments
・Medical VR systems
・Parking solutions
・ECO solutions
>> Other solutions