JP6361770B2 - Information processing apparatus, processing method thereof, and program - Google Patents

Information processing apparatus, processing method thereof, and program Download PDF

Info

Publication number
JP6361770B2
JP6361770B2 JP2017067004A JP2017067004A JP6361770B2 JP 6361770 B2 JP6361770 B2 JP 6361770B2 JP 2017067004 A JP2017067004 A JP 2017067004A JP 2017067004 A JP2017067004 A JP 2017067004A JP 6361770 B2 JP6361770 B2 JP 6361770B2
Authority
JP
Japan
Prior art keywords
information
grid
data
definition
display state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017067004A
Other languages
Japanese (ja)
Other versions
JP2018010616A (en
Inventor
勲 上田
勲 上田
文洋 柴本
文洋 柴本
剛 高塚
剛 高塚
鈴木 智子
智子 鈴木
知子 石田
知子 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Publication of JP2018010616A publication Critical patent/JP2018010616A/en
Application granted granted Critical
Publication of JP6361770B2 publication Critical patent/JP6361770B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

プログラム生成する情報処理装置とその処理方法及びプログラムに関する。   The present invention relates to an information processing apparatus that generates a program, a processing method thereof, and a program.

近年、ブラウザで表示する画面においても、表形式での表示(以下グリッドの表示)が求められるようになってきている。
そして、表形式のアプリケーションのようなリッチなグリッド表示を行うための技術としてハンズオンテーブルがある。(非特許文献1)
このハンズオンテーブルを用いることで、表示したグリッドのスタイルの変更がブラウザ上で容易に行うことができる。
In recent years, display in a tabular format (hereinafter referred to as grid display) has also been required for screens displayed by browsers.
There is a hands-on table as a technique for performing rich grid display like a tabular application. (Non-Patent Document 1)
By using this hands-on table, the displayed grid style can be easily changed on the browser.

https://handsontable.com/https: // handstable. com /

しかしながら、ハンズオンテーブルの技術では、スタイルの変更は一時的なものであり、Webアプリケーションサーバと通信がされ、再表示されると、Webアプリケーションの開発時の初期のスタイルが適用され表示されてしまうという問題があった。   However, with the hands-on table technology, the style change is temporary, and when the web application server communicates and redisplays, the initial style at the time of developing the web application is applied and displayed. There was a problem.

そのため、ハンズオンテーブルを単純に用いただけでは、ユーザがグリッドのスタイルを変更しても、別の画面に遷移して戻ってきた場合にはスタイルが維持されず使い勝手が悪いという問題があった。また、グリッドのスタイルやデータの変更を維持させるWebアプリケーションを開発しようとした場合には、Webアプリケーションを開発するユーザが高度な知識を有する必要があるため、Webアプリケーション開発が難しいという問題があった。   Therefore, simply using the hands-on table has a problem that even if the user changes the style of the grid, the style is not maintained when the user changes to another screen and returns, and the usability is poor. Further, when trying to develop a web application that maintains changes in the grid style and data, there is a problem that it is difficult to develop the web application because the user who develops the web application needs to have advanced knowledge. .

そこで、本発明の目的は、設定された記憶タイミングでクライアント装置のストレージへ表示状態の情報を記憶させ、Webシステムで用いる画面を表示する際に、変更された状態で再度オブジェクト表示できるWebシステムで実行するプログラムを容易に開発する仕組みを提供することである。 Therefore, an object of the present invention is a Web system capable of storing display state information in a storage of a client device at a set storage timing and displaying an object again in a changed state when a screen used in the Web system is displayed. To provide a mechanism for easily developing a program to be executed.

本発明の目的を達成するためのWebシステムで実行するプログラムを生成する情報処理装置であって、前記Webシステムで用いるクライアント装置で表示する画面に対応する入出力定義を設定する設定手段と、前記設定手段により設定された入出力定義であって、クライアント装置で表示した画面で状態変更が可能なオブジェクトを示す定義を特定する特定手段と、前記特定手段により特定された前記状態変更が可能なオブジェクトを示す定義に対応するオブジェクトであってクライアント装置で表示した画面のオブジェクトで変更された表示状態の情報を取得し、前記クライアント装置のストレージへ当該表示状態の情報を記憶し、前記オブジェクトの再表示時に前記記憶された表示状態の情報を用いてオブジェクト表示させる制御情報を含むプログラムを生成する生成手段とを備え、前記生成手段は、記オブジェクトに対応して設定された記憶タイミングであって、状態変更されたオブジェクトの表示状態の情報の記憶タイミングで、前記クライアント装置のストレージへ表示状態の情報を記憶する制御情報を生成ることを特徴とする。 An information processing apparatus for generating a program to be executed on a Web system for achieving the object of the present invention, wherein the setting means sets an input / output definition corresponding to a screen displayed on a client apparatus used in the Web system, An input / output definition set by a setting unit, a specifying unit for specifying a definition indicating an object whose state can be changed on a screen displayed on a client device, and an object for which the state change specified by the specifying unit is possible The display state information that has been changed by the object of the screen displayed on the client device is acquired, the display state information is stored in the storage of the client device, and the object is redisplayed. Control information that causes the object to be displayed using the stored display state information at times. And generating means for generating a program including the generation means is a memory timing set in correspondence with the previous SL object, a storage timing of the display state of the state changed object information, wherein the client Control information for storing display state information in the storage of the apparatus is generated.

本発明によれば、設定された記憶タイミングでクライアント装置のストレージへ表示状態の情報を記憶させ、Webシステムで用いる画面を表示する際に、変更された状態で再度オブジェクト表示できるWebシステムで実行するプログラムを容易に開発することができる。 According to the present invention, when the display state information is stored in the storage of the client device at the set storage timing and the screen used in the Web system is displayed, the display is executed by the Web system that can display the object again in the changed state. Programs can be developed easily.

本実施形態におけるシステム構成を示す図である。It is a figure which shows the system configuration | structure in this embodiment. 本実施形態における各装置に適用可能なハードウェア構成を示す図である。It is a figure which shows the hardware constitutions applicable to each apparatus in this embodiment. プログラム開発装置101の処理構成を示す図である。It is a figure which shows the processing structure of the program development apparatus. アプリケーションサーバ105に配置されるWebアプリケーション451の構成を示す図である。2 is a diagram illustrating a configuration of a Web application 451 arranged in an application server 105. FIG. Webアプリケーション生成処理のフローチャートである。It is a flowchart of a Web application generation process. 入出力定義画面の一例を示す図である。It is a figure which shows an example of an input / output definition screen. アプリケーションクライアント104の処理のフローチャートである。5 is a flowchart of processing of an application client 104. デフォルトで表示されたグリッドの表示例を示すイメージ図である。It is an image figure which shows the example of a display of the grid displayed by default. 変更されたスタイル情報で表示されたグリッドの表示例を示すイメージ図である。It is an image figure which shows the example of a display of the grid displayed with the changed style information. データグリッドデフォルトスタイルの記述例を示す図である。It is a figure which shows the example of a description of a data grid default style. データグリッドデータ制御部のソースコードの記述例を示す図である。It is a figure which shows the example of a description of the source code of a data grid data control part. Webストレージからスタイル情報を読み出すソースコードの記述例を示す図である。It is a figure which shows the example of a description of the source code which reads style information from Web storage. Webストレージ491に保存されているスタイル情報を示す図である。It is a figure which shows the style information preserve | saved at the Web storage 491. Webストレージ491にスタイル情報を書き出すソースコードの記述例を示す図である。It is a figure which shows the example of a description of the source code which writes style information in the Web storage 491. 画面レイアウト設定画面の一例を示すイメージ図である。It is an image figure which shows an example of a screen layout setting screen. プログラム開発装置101の機能構成を示す図である。It is a figure which shows the function structure of the program development apparatus. 他の実施形態におけるWebアプリケーション生成のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the web application production | generation in other embodiment. 他の実施形態におけるアプリケーションクライアント104の処理のフローチャートである。It is a flowchart of the process of the application client 104 in other embodiment. 他の実施形態における入出力定義画面の一例を示す図である。It is a figure which shows an example of the input / output definition screen in other embodiment. 「DATAGRID」が設定された場合の画面レイアウト設定画面の一例を示すイメージ図である。It is an image figure which shows an example of a screen layout setting screen when "DATAGRID" is set. 「TABLE」が設定された場合の画面レイアウト設定画面の一例を示すイメージ図である。It is an image figure which shows an example of the screen layout setting screen when "TABLE" is set. 「GRAPH」が設定された場合の画面レイアウト設定画面の一例を示すイメージ図である。It is an image figure which shows an example of a screen layout setting screen when "GRAPH" is set.

以下、本発明の実施の形態を、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明に係わるプログラム開発装置(開発者がWebアプリケーション生成のために使用する情報処理装置)、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント(クライアント装置)、アプリケーションサーバの構成の一例を示すシステム構成図である(情報処理システム)。   FIG. 1 shows an example of the configuration of a program development apparatus (information processing apparatus used by a developer for generating a Web application), a program development server, a database server, an application client (client apparatus), and an application server according to the present invention. It is a system configuration diagram (information processing system).

プログラム開発装置101は、開発者の操作に従って画面レイアウトおよびデータベース検索指示などを定義する。プログラム開発装置101単体では、開発者の入力受付を行い、後述するプログラム開発サーバ102に実際のプログラム生成処理、アプリケーション生成処理をさせてもよいし、プログラム開発装置101単体でプログラム生成、アプリケーション生成まで処理してもよい。   The program development apparatus 101 defines a screen layout, a database search instruction, and the like according to the developer's operation. The program development apparatus 101 alone may accept input from the developer and cause the program development server 102 (to be described later) to perform actual program generation processing and application generation processing. It may be processed.

なお、この実施形態においては、プログラム開発装置101で生成するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用したアプリケーションでなくてもよい。   In this embodiment, the application generated by the program development apparatus 101 is a Web application. However, the application is not limited to this, and an application or embedded software that operates on an information processing apparatus such as a mobile phone, a smartphone, or a tablet. The application does not have to be communication using Web technology.

プログラム開発サーバ102a〜102b(情報処理装置)は、プログラム開発装置101により入力された開発者の指示に従って、プログラムを開発する。プログラム開発サーバ102aはLANなどのネットワーク106内に配置されてもよいし、プログラム開発サーバ102bはインターネット上やクラウド上に配置されてもよい。   The program development servers 102a to 102b (information processing apparatuses) develop a program in accordance with a developer instruction input by the program development apparatus 101. The program development server 102a may be arranged in a network 106 such as a LAN, and the program development server 102b may be arranged on the Internet or the cloud.

データベースサーバ103a〜103b(情報処理装置)は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、開発者が利用するためにデータベースサーバ103は、プログラム開発装置101と同一の装置で構成されていてもよいし、LANなどのネットワーク106内に配置されてもよい(データベースサーバ103a)。またインターネット上やクラウド上に配置されてもよい(データベースサーバ103b)。また、プログラム開発装置101が、プログラム開発サーバ102と協調する場合には、プログラム開発サーバ102とデータベースサーバ103が同一の装置内に構成されていてもよい。   The database servers 103a to 103b (information processing apparatuses) are databases used by the developed application. In the present invention, the database servers 103a to 103b (information processing apparatuses) may be used for operation confirmation during development. For example, the database server 103 may be configured by the same device as the program development device 101 for use by a developer, or may be arranged in a network 106 such as a LAN (database server 103a). Moreover, you may arrange | position on the internet or a cloud (database server 103b). When the program development apparatus 101 cooperates with the program development server 102, the program development server 102 and the database server 103 may be configured in the same apparatus.

アプリケーションサーバ105a〜105b(情報処理装置)は、プログラム開発装置101で開発されたアプリケーションを実行する。LANなどのネットワーク106内に配置されてもよい(アプリケーションサーバ105a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションサーバ105b)。また、ネットワーク106、インターネット、クラウド上のデータベースサーバ103と接続して動作する可能である。   Application servers 105a to 105b (information processing apparatuses) execute applications developed by the program development apparatus 101. It may be arranged in a network 106 such as a LAN (application server 105a), or may be arranged on the Internet or in the cloud (application server 105b). Further, it is possible to operate by connecting to the database server 103 on the network 106, the Internet, or the cloud.

アプリケーションクライアント104a〜104b(情報処理装置)は、アプリケーションサーバ105と協調してプログラム開発装置101で開発したアプリケーションプログラムを動作させる、ユーザの入力端末である。LANなどのネットワーク106内に配置されてもよい(アプリケーションクライアント104a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションクライアント104b)。携帯端末などの情報処理装置であってもよい。   The application clients 104a to 104b (information processing apparatuses) are user input terminals that operate application programs developed by the program development apparatus 101 in cooperation with the application server 105. It may be arranged in a network 106 such as a LAN (application client 104a), or may be arranged on the Internet or in the cloud (application client 104b). An information processing apparatus such as a portable terminal may be used.

図2は、本発明に係わるプログラム開発装置101、プログラム開発サーバ102、データベースサーバ103、アプリケーションクライアント104、アプリケーションサーバ105として適用可能な各ハードウェア構成の一例を示すブロック図である。
図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。
FIG. 2 is a block diagram showing an example of each hardware configuration applicable as the program development apparatus 101, the program development server 102, the database server 103, the application client 104, and the application server 105 according to the present invention.
In FIG. 2, the CPU 201 comprehensively controls each device connected to the system bus 204.

また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。
RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。
The ROM 203 or the external memory 211 stores an operating system (OS) that is a control program of the CPU 201 and programs for realizing various functions described later of the information processing apparatus such as each server, client, and device.
The RAM 202 functions as a main memory, work area, temporary save area, and the like for the CPU 201.

入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。
The input controller 205 controls input from the input unit 209. Examples of the input unit 209 include pointing devices such as a keyboard and a mouse in the information processing apparatus.
The output controller 206 controls the display of the output unit 210. Examples of the output unit 210 include a CRT and a liquid crystal display.

外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。加えて、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。
The external memory controller 207 controls access to the external memory 211 that stores a boot program, various applications, font data, user files, edit files, printer drivers, and the like. In addition, various tables and parameters for realizing various functions of each server, client, and device are stored. Examples of the external memory 211 include a hard disk (HD), a flexible disk (FD), a compact flash (registered trademark) connected to a PCMCIA card slot via an adapter, and smart media.
The communication I / F controller 208 executes communication control processing with an external device via a network.

本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。   A program 212 for realizing the present invention is recorded in the external memory 211 and is executed by the CPU 201 by being loaded into the RAM 202 as necessary.

次に本実施形態における基本の処理について、図3、図4の構成図を用いて説明する。なお、本実施形態における特徴となる処理の詳細については、図5、図7のフローチャートを用いて説明する。   Next, basic processing in this embodiment will be described with reference to the configuration diagrams of FIGS. Details of processing that is a feature of the present embodiment will be described with reference to the flowcharts of FIGS.

図3は、プログラム開発装置101の処理概要を示す構成図である。プログラム開発装置101は、Webアプリケーションを開発する開発者が定義した定義ファイルをもとにWebアプリケーションを自動生成することを目的とした装置である。プログラム開発装置101は、リポジトリ定義部400、アプリケーション生成部410、Webアプリケーションコード生成部420、ソースコードコンパイル部440により構成される。   FIG. 3 is a configuration diagram showing an outline of processing of the program development apparatus 101. The program development apparatus 101 is an apparatus for automatically generating a Web application based on a definition file defined by a developer who develops a Web application. The program development apparatus 101 includes a repository definition unit 400, an application generation unit 410, a Web application code generation unit 420, and a source code compilation unit 440.

リポジトリ定義部400は、データベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を備える。これらのファイルは、Webアプリケーション開発ツールを介して開発者によって入力され、作成される。   The repository definition unit 400 includes a database definition 401, an application definition 402, a data model definition 403, an input / output definition 404, and a business process definition 405. These files are input and created by a developer via a web application development tool.

すなわち、リポジトリ定義部400は、プログラムへ引数として入力される項目を定義する入力定義情報と、プログラムから処理結果として出力する項目を定義する出力定義情報とを入出力定義情報として管理している。   That is, the repository definition unit 400 manages, as input / output definition information, input definition information that defines items input as arguments to the program and output definition information that defines items output as processing results from the program.

次に、Webアプリケーションコード生成部420について説明する。Webアプリケーションコード生成部420で生成された情報は、外部メモリ211に記憶される。   Next, the web application code generation unit 420 will be described. Information generated by the Web application code generation unit 420 is stored in the external memory 211.

リポジトリ定義解析部421は、リポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を読み込み解析する。   The repository definition analysis unit 421 reads and analyzes the database definition 401, the application definition 402, the data model definition 403, the input / output definition 404, and the business process definition 405 from the repository definition unit 400.

Webアプリケーションコード生成部422は、外部メモリ211に記憶されているコード生成ルールと、リポジトリ定義解析部421によって解析された内容とを用いて、ソースコード(JSP)を生成する。このソースコードを取り込みソースコードコンパイル部440でコンパイルされたファイルを生成する。そしてソースコードコンパイル部440がコンパイルされたファイルをアプリケーションサーバへデプロイする。デプロイする際に、図4の471〜484の関連ファイルも合わせてデプロイされる。なお、ソースコード、コンパイルされたファイル、デプロイされたデータを総称してプログラムデータともいう。   The Web application code generation unit 422 generates a source code (JSP) using the code generation rules stored in the external memory 211 and the contents analyzed by the repository definition analysis unit 421. The source code is taken in and a file compiled by the source code compiling unit 440 is generated. Then, the source code compiling unit 440 deploys the compiled file to the application server. When deploying, the related files 471 to 484 in FIG. 4 are also deployed. Note that source code, compiled files, and deployed data are also collectively referred to as program data.

より詳細には、生成されるソースコードは、大きくサーバ用(例えば、サーバ処理部460)とクライアント用(クライアント処理部470)に分かれている。サーバ用のソースコードをコンパイルしコンパイルされたファイルが生成され、クライアント用のソースコードはコンパイルされずファイルとしてプログラム開発装置101上に置く。このファイルを用いてアプリケーションサーバ105にデプロイする。   More specifically, the generated source code is largely divided into a server (for example, server processing unit 460) and a client (client processing unit 470). The server source code is compiled and a compiled file is generated, and the client source code is not compiled but placed on the program development apparatus 101 as a file. Deploy to the application server 105 using this file.

また、サーバ用はJavaプログラム(javaは登録商標)が生成され、生成された直後にコンパイルされてclassファイルになり、そのclassファイルがデプロイされる。クライアント用はJSP/JavaScript/CSSが生成され、それらはコンパイルされず、そのままデプロイされる。   Also, a Java program (java is a registered trademark) is generated for the server, and immediately after the generation, the program is compiled into a class file, and the class file is deployed. JSP / JavaScript / CSS is generated for the client, and they are not compiled and deployed as they are.

デプロイされたモジュールがWebアプリケーションモジュール451である。具体的には、デプロイすると「.war」の拡張子を有するファイルがアプリケーションサーバに配置される。すなわち、Webアプリケーションコード生成部422は、Webアプリケーションに用いられるプログラムを生成するルールを記憶している。例えば、予め決められたルールに従って、図12や図14のソースコードが生成される。特に、図15の画面でデータグリッド(一般にグリッドともいう)が設定され、このデータグリッドの入出力定義が設定されると、481のデータグリッド部品(ハンズオンテーブル)が読み込まれ、このデータグリッド部品を用いたグリッド表示でレイアウト変更(スタイル変更)した際に、Webストレージにスタイル情報を記憶することが可能な図14のソースコードが生成される。   The deployed module is the Web application module 451. Specifically, when deployed, a file having an extension of “.war” is placed on the application server. That is, the web application code generation unit 422 stores a rule for generating a program used for a web application. For example, the source code shown in FIGS. 12 and 14 is generated according to a predetermined rule. In particular, when a data grid (generally also referred to as a grid) is set on the screen of FIG. 15 and an input / output definition of this data grid is set, 481 data grid parts (hands-on table) are read, and this data grid part is displayed. When the layout is changed (style change) in the grid display used, the source code of FIG. 14 is generated that can store style information in the Web storage.

481のデータグリッド部品(ハンズオンテーブル)は、HTML(Web画面)上で、データベースから取得したデータを表形式(グリッドやテーブル)に挿入して表示する部品である。この部品上のセルをクリックして、データを変更したり、表のレイアウト(項目の並び順や列幅など)を変更可能となっている。このデータグリッド部品は、「.js」という拡張子を持つファイルであり、プログラム開発装置101のアプリケーション生成部410で予めセットされている(保持している)。すなわち、グリッド制御部品は、ハードディスク等に記憶している。なお、本実施形態では、グリッド制御部品をオブジェクト制御部品ともいう。
アプリケーションサーバ105は、生成したWebアプリケーション451を配置する、Webアプリケーションサーバである。
A data grid component (hands-on table) 481 is a component that displays data acquired from a database in a table format (grid or table) on HTML (Web screen). By clicking a cell on this part, the data can be changed and the layout of the table (such as the order of items and the column width) can be changed. The data grid component is a file having an extension of “.js” and is set (held) in advance by the application generation unit 410 of the program development apparatus 101. That is, the grid control component is stored in a hard disk or the like. In the present embodiment, the grid control component is also referred to as an object control component.
The application server 105 is a web application server in which the generated web application 451 is arranged.

Webアプリケーション451は、データグリッド機能を含む、Web用のサーバアプリケーションである。このWebアプリケーション451は、図3のWebアプリケーションコード生成部422で生成されたソースコードや各種ファイルをまとめたファイルである。   The Web application 451 is a Web server application including a data grid function. The web application 451 is a file in which source codes and various files generated by the web application code generation unit 422 in FIG. 3 are collected.

Webアプリケーション451はサーバ処理部460とクライアント処理部470に分かれている。サーバ処理部460とクライアント処理部470それぞれについて、図4を用いて説明する。   The Web application 451 is divided into a server processing unit 460 and a client processing unit 470. Each of the server processing unit 460 and the client processing unit 470 will be described with reference to FIG.

図4は、Webアプリケーションコード生成部422で生成されたWebアプリケーション451を説明する構成図である。アプリケーションサーバ105にデプロイした状態の図として説明するが、サーバ処理部460とクライアント処理部470は、プログラム自動生成するプログラム開発装置101で生成してできたファイル群(プログラム開発装置101上に存在するファイル)に置き換えることも可能である。   FIG. 4 is a configuration diagram illustrating the Web application 451 generated by the Web application code generation unit 422. The server processing unit 460 and the client processing unit 470 will be described as a diagram of a state where the application server 105 is deployed. File).

サーバ処理部460は、サーバ側で動作する機能部であり、データ処理部461によりクライアントからの要求を処理する。具体的には、データベースと通信しデータの検索要求や登録要求などに基づき、データの取得や更新を行う。   The server processing unit 460 is a functional unit that operates on the server side, and the data processing unit 461 processes a request from the client. Specifically, data is acquired or updated based on a data search request or registration request by communicating with a database.

クライアント処理部470は、実行時にクライアント(アプリケーションクライアント104)のブラウザを介してダウンロードするものであり、クライアント側の処理を実現させるファイル群(スクリプトが記述されたファイルがインクルードされたHTMLファイル)である。具体的には、クライアントから所定のURLが指定されることにより、データグリッド用JSP471に基づくHTML形式のWeb画面、データグリッド用CSS472、データグリッド部品481、データグリッドデフォルトスタイル482、データグリッドデータ制御部483、データグリッドスタイル制御部484をクライアントに送信する。   The client processing unit 470 is downloaded through the browser of the client (application client 104) at the time of execution, and is a group of files (an HTML file in which a file describing a script is included) that realizes processing on the client side. . Specifically, when a predetermined URL is designated by the client, an HTML-format Web screen based on the data grid JSP 471, a data grid CSS 472, a data grid component 481, a data grid default style 482, a data grid data control unit 483, the data grid style control unit 484 is transmitted to the client.

以下、データグリッド用JSP471、データグリッド用CSS472、データグリッド部品481、データグリッドデフォルトスタイル482、データグリッドデータ制御部483、データグリッドスタイル制御部484について説明する。   The data grid JSP 471, data grid CSS 472, data grid component 481, data grid default style 482, data grid data control unit 483, and data grid style control unit 484 will be described below.

データグリッド用JSP471は、グリッドを表示することが可能なHTMLを含むJSPファイルであり、JSPの実行時に動的にデータをHTMLに含め、クライアントにダウンロードさせ、表示させるものである。データグリッド用JSP471には、グリッドの位置を示す情報や、図15で設定した画面部品の情報が記述される。   The data grid JSP 471 is a JSP file including HTML capable of displaying a grid, and dynamically includes data in the HTML when the JSP is executed, and is downloaded and displayed on the client. In the data grid JSP 471, information indicating the position of the grid and information on the screen components set in FIG. 15 are described.

このデータグリッド用JSP471は、データグリッド用CSS472、データグリッド部品481、データグリッドデフォルトスタイル482、データグリッドデータ制御部483、データグリッドスタイル制御部484をインクルードしたファイルである。
データグリッド用CSS472は、グリッドの色や文字の大きさなどの情報を含んでいるファイルである。
JavaScript(登録商標)ファイル480は、グリッドに関連する制御を行うJavaScript(登録商標)ファイル群である。
The data grid JSP 471 includes a data grid CSS 472, a data grid component 481, a data grid default style 482, a data grid data control unit 483, and a data grid style control unit 484.
The data grid CSS 472 is a file that includes information such as the grid color and character size.
The Java Script (registered trademark) file 480 is a Java Script (registered trademark) file group that performs control related to the grid.

データグリッド部品481は、Webアプリケーション用にJavaScriptで書かれた、一覧表示・編集用のコンポーネントである。例えばハンズオンテーブルと呼ばれるグリッド表示するファイルである。   The data grid component 481 is a component for list display / editing written in JavaScript for a Web application. For example, a file called a hands-on table and displayed in a grid.

データグリッドデフォルトスタイル482は、データグリッドの初期表示用のスタイル情報のファイルである。このスタイル情報は、アプリケーション生成部410がユーザの設定に応じてグリッド表示に適用させる情報であり、アプリケーション生成部410で生成されるファイルである。データグリッドデフォルトスタイルの例が、図10の1000である。各列の項目名と順番が記述されている。図15でグリッドにデータモデルを設定した際に列名に設定された値に従って、アプリケーション生成部410が生成する。   The data grid default style 482 is a style information file for initial display of the data grid. The style information is information that the application generation unit 410 applies to the grid display according to the user settings, and is a file generated by the application generation unit 410. An example of the data grid default style is 1000 in FIG. The item name and order of each column are described. The application generation unit 410 generates the data model according to the value set in the column name when the data model is set in the grid in FIG.

データグリッドデータ制御部483は、グリッド(表形式のセル)へデータを設定したり、グリッドからデータを取得したりする制御を記載したファイルである。データグリッドデータ制御部483は、データグリッド部品に対して、データを渡したり、データをアプリケーションサーバに送信する役割を担うものである。   The data grid data control unit 483 is a file that describes control for setting data in a grid (table format cell) and acquiring data from the grid. The data grid data control unit 483 plays a role of passing data to the data grid component or transmitting data to the application server.

データグリッドスタイル制御部484は、Webストレージ491からスタイル情報を取得して、グリッドのスタイル情報に設定したり、ユーザの操作により変更されたグリッドからスタイル情報を取得し、Webストレージ491へスタイル情報を設定(保存)したりする制御ファイルである。スタイル情報には、「行/列の幅/高さの変更」「ある行/列を固定して、他をスクロール」「行/列の非表示、再表示」「行/列の入れ替え」を制御するための情報が含まれている。   The data grid style control unit 484 acquires the style information from the Web storage 491, sets the style information in the grid, acquires the style information from the grid changed by the user's operation, and sends the style information to the Web storage 491. A control file to be set (saved). Style information includes “Change row / column width / height” “Fix one row / column and scroll other” “Hide / hide row / column” “Replace row / column” Contains information to control.

ブラウザ490は、Webアプリケーションを利用するエンドユーザが利用するアプリケーションであり、クライアント処理部470で渡されるHTMLファイルを表示するアプリケーションである。   The browser 490 is an application used by an end user who uses a Web application, and is an application that displays an HTML file passed by the client processing unit 470.

Webストレージ491は、情報を格納しておくための、ブラウザの機能である。アプリケーションクライアント104のハードディスクにグリッドのスタイル情報を格納している。Webストレージに記憶されている情報の一例を示す図は図13である。Webストレージには、項目名と項目の順番(表示順)なども記憶されている。   The web storage 491 is a browser function for storing information. Grid style information is stored in the hard disk of the application client 104. FIG. 13 shows an example of information stored in the Web storage. The Web storage also stores item names and item order (display order).

図5は、Webアプリケーション生成のフローチャートの一例を示す図である。なお、以下のフローチャートの各ステップは、各装置のCPU201が実行する。   FIG. 5 is a diagram illustrating an example of a flowchart of Web application generation. Each step of the following flowchart is executed by the CPU 201 of each device.

ステップS501において、プログラム開発装置101は、ユーザによるWebアプリケーション生成指示を受け付けると、外部メモリ211に記憶されているリポジトリ定義部400のアプリケーション定義402をRAM202に読み込む。具体的には、開発したWebアプリケーション(プロジェクト)を決定するものである。このWebアプリケーション定義に、データモデル定義、入出力定義、ビジネスプロセス定義を設定する。これらの定義は、Webアプリケーション自動生成する設定画面でユーザが任意に設定するものとするが、予め生成された定義を読み込む構成であってもよい。   In step S <b> 501, upon receiving a Web application generation instruction from the user, the program development apparatus 101 reads the application definition 402 of the repository definition unit 400 stored in the external memory 211 into the RAM 202. Specifically, the developed Web application (project) is determined. In this Web application definition, a data model definition, an input / output definition, and a business process definition are set. These definitions are arbitrarily set by the user on the setting screen for automatically generating a Web application, but may be configured to read a definition generated in advance.

ステップS502において、プログラム開発装置101は、データモデル定義403を生成する。生成されたデータモデル定義403は、リポジトリ定義部400として登録される。具体的には、データモデル設定画面(不図示)でデータベース上の項目をマッピングする。一般的には、1テーブル1データモデルが作成される。データモデル定義の作成はWebアプリケーションの開発において既知の技術であるため説明を省略する。   In step S502, the program development device 101 generates a data model definition 403. The generated data model definition 403 is registered as the repository definition unit 400. Specifically, the items on the database are mapped on the data model setting screen (not shown). Generally, one table and one data model is created. Since the creation of the data model definition is a known technique in the development of Web applications, description thereof is omitted.

ステップS503において、プログラム開発装置101は、入出力定義404を生成する。生成された入出力定義404は、リポジトリ定義部400として登録される。具体的には、図6の入出力定義画面でWeb画面のグリッド定義を行う。   In step S503, the program development apparatus 101 generates an input / output definition 404. The generated input / output definition 404 is registered as the repository definition unit 400. Specifically, the grid definition of the Web screen is performed on the input / output definition screen of FIG.

具体的には、まず、画面レイアウト設定画面(図15)上で、画面エディタ上にグリッドの部品1501をドラッグアンドドロップ操作等により配置する。すなわち、グリッドオブジェクトを配置する配置処理の一例を示すものである。   Specifically, first, on the screen layout setting screen (FIG. 15), the grid component 1501 is arranged on the screen editor by a drag-and-drop operation or the like. That is, an example of an arrangement process for arranging grid objects is shown.

グリッドの部品を配置したタイミングでは、単なる格子状のグリッドが表示されるため、この表にどのデータモデルのどの項目を表示させるかを設定する。この項目の設定も図15の1502からデータモデルをドラッグアンドドロップすることにより設定される。すなわち、配置したグリッドオブジェクトに対して、データモデルを設定するデータモデル設定処理の一例を示すものである。
次に、グリッドが配置された画面の入出力定義を行うため、図6の入出力定義画面に遷移する。
At the timing when the components of the grid are arranged, a simple grid-like grid is displayed. Therefore, which item of which data model is displayed in this table is set. This item is also set by dragging and dropping the data model from 1502 in FIG. That is, an example of data model setting processing for setting a data model for the arranged grid objects is shown.
Next, in order to perform input / output definition of the screen on which the grid is arranged, the screen shifts to the input / output definition screen of FIG.

グリッドが配置された画面の場合、入出力定義画面でグリッドに対応する定義情報601が表示される。項目タイプには「Gグループ」、項目コード「G」、名前「顧客マスタ」などが設定される。名前については、画面レイアウト設定画面でグリッドを配置する際に設定されたデータモデルの名前が設定される。   In the case of a screen on which a grid is arranged, definition information 601 corresponding to the grid is displayed on the input / output definition screen. In the item type, “G group”, item code “G”, name “customer master” and the like are set. As for the name, the name of the data model set when the grid is arranged on the screen layout setting screen is set.

このグリッドで各列の定義情報610が、定義情報601の下に設定される。レベル611によって、定義情報601の配下の定義情報と判定できるようになっている。定義情報601はレベル「1」、定義情報610はレベル「2」。
次に、601の定義情報を選択すると、入出力項目プロパティが表示され、603にはグループタイプ(種別)が「DATAGRID」が設定される。
In this grid, the definition information 610 for each column is set under the definition information 601. Based on the level 611, it can be determined that the definition information is subordinate to the definition information 601. The definition information 601 is level “1”, and the definition information 610 is level “2”.
Next, when the definition information 601 is selected, input / output item properties are displayed, and a group type (type) “DATAGRID” is set in 603.

ここで、グループタイプ(種別)について、より詳細に説明する。
グループタイプ(種別)は、「DATAGRID」のほか、「TABLE」「GRAPH」があり、選択可能となっている。このグループタイプは、入出力定義画面でユーザの操作により変更できる構成となっている。
Here, the group type (type) will be described in more detail.
As the group type (type), there are “TABLEGID”, “TABLE”, and “GRAPH”, which can be selected. This group type can be changed by a user operation on the input / output definition screen.

例えば、図20のように、2000の入出力定義で「DATAGRID」が設定された場合に、画面レイアウト設定画面では、2010のようにデータグリッド形式で表示される。   For example, as shown in FIG. 20, when “DATAGRID” is set in the input / output definition of 2000, it is displayed in the data grid format as 2010 on the screen layout setting screen.

また、図21のように、2100の入出力定義で「TABLE」が設定された場合に、画面レイアウト設定画面では、2110のようにHTMLのテーブルタグで構成される表形式で表示される。   Also, as shown in FIG. 21, when “TABLE” is set in the input / output definition of 2100, the screen layout setting screen is displayed in a table format composed of HTML table tags as shown in 2110.

また、図22のように、2200の入出力定義で「GRAPH」が設定された場合に、画面レイアウト設定画面では、2210のようにグラフ形式で表示される。グラフの縦軸横軸などはデフォルトの設定を用いて、グラフ表示するものとする。   Also, as shown in FIG. 22, when “GRAPH” is set in the input / output definition of 2200, the screen layout setting screen is displayed in a graph format as shown in 2210. The vertical axis and horizontal axis of the graph are displayed in a graph using default settings.

なお、データグリッドは、アプリケーションクライアント104のブラウザ上でレイアウトやデータを変更できる表であり、テーブルは変更できない表である。また、本実施形態ではグラフにおいてもレイアウトやデータを変更できない表となっている。   The data grid is a table in which the layout and data can be changed on the browser of the application client 104, and the table cannot be changed. In the present embodiment, the layout and data cannot be changed even in the graph.

このように、開発者がグループタイプ(種別)によって、レイアウトやデータの変更ができるものとできないものを区別し、Webストレージへの保存(書き込み)や取得(読み出し)を制御するソースコードを生成し、変更後の状態を再表示させるという技術的に困難な制御を容易にすることができる。   In this way, the developer distinguishes what can and cannot change the layout and data depending on the group type (classification), and generates source code that controls saving (writing) and acquisition (reading) to the Web storage. The technically difficult control of redisplaying the changed state can be facilitated.

また、604〜606はユーザが任意に設定可能である。604ではWebストレージへのグリッドのスタイル情報の保存タイミングを設定する。すなわち、グリッドが操作され変更されたグリッドのスタイル情報の記憶タイミングを、グリッドを示す定義情報に設定するタイミング設定処理の一例を示すものである。   Further, 604 to 606 can be arbitrarily set by the user. In 604, the storage timing of grid style information in the Web storage is set. That is, an example of timing setting processing for setting the storage timing of the style information of the grid changed by the operation of the grid to the definition information indicating the grid is shown.

保存タイミングとは、例えば、変更操作があった場合、画面が切り替わった場合などである。また、保存しないという設定も可能である。なお、保存しないと設定した場合に、グリッドのスタイルを変更しても、他の画面に遷移して戻ってくるとデフォルトのスタイルでグリッドが表示されることになる。   The save timing is, for example, when there is a change operation or when the screen is switched. It is also possible to set not to save. Even if the grid style is changed when it is set not to be saved, the grid is displayed in the default style when the screen changes to another screen and returns.

保存するように設定をした場合には、Webストレージに保存する制御を実行するソースコードが出力され、保存しないように設定をした場合には、Webストレージに保存する制御を実行するソースコードが出力されないようにソースコードを生成する。すなわち、記憶タイミングでクライアント装置のWebストレージへスタイル情報を記憶する制御情報を生成する処理の一例を示すものである。   When set to save, the source code for executing control to save to the web storage is output, and when set to not save, the source code to execute control to save to the web storage is output. Generate the source code so that it will not be. That is, an example of processing for generating control information for storing style information in the Web storage of the client device at the storage timing is shown.

これにより、開発者がグリッドのスタイルの変更を維持して表示させるか、変更を維持しないで表示させるかのWebアプリケーション(プログラム)を容易に生成することができる。   Accordingly, it is possible to easily generate a Web application (program) for the developer to display the grid style while maintaining or not displaying the change.

605では、保存単位を設定する。保存単位とは、ブラウザ単位(ログインユーザ単位)、ウィンドウ単位などである。この設定の単位でWebストレージに保存する制御のソースコードが出力される。   In 605, a storage unit is set. The storage unit is a browser unit (logged-in user unit), a window unit, or the like. The control source code stored in the Web storage is output in units of this setting.

606では、破棄タイミングを設定する。破棄タイミングとは、Webストレージに永続的に残す、ブラウザを閉じると破棄する、ウィンドウを閉じると破棄するなどである。ブラウザを閉じると破棄する設定がされた場合には、ブラウザを閉じる操作を検知すると、Webストレージのスタイル情報を削除する制御のソースコードが出力される。
すなわち、Webシステムで用いるクライアント装置で表示する画面の定義である入出力定義を設定する設定処理の一例を示すステップである。
In 606, a discard timing is set. The discard timing includes permanently leaving in the Web storage, discarding when the browser is closed, and discarding when the window is closed. When the browser is set to be discarded, when the browser closing operation is detected, the control source code for deleting the Web storage style information is output.
That is, it is a step showing an example of a setting process for setting an input / output definition that is a definition of a screen displayed on a client device used in the Web system.

これらの各種設定により、データモデルの項目名を含む定義情報と、グリッドオブジェクトに対応する定義情報とが生成される(定義情報生成処理の一例を示す)。   With these various settings, definition information including the item name of the data model and definition information corresponding to the grid object are generated (an example of definition information generation processing is shown).

ステップS504において、プログラム開発装置101は、ビジネスプロセス定義405を生成する。生成されたビジネスプロセス定義405は、リポジトリ定義部400として登録される。具体的には、受け付けたデータの処理の流れを定義したものである。例えば、入力したデータの重複をチェックして、登録するといったロジックを定義したものである。ビジネスプロセル定義についても、Webアプリケーションの開発において既知の技術であるため説明を省略する。   In step S504, the program development device 101 generates a business process definition 405. The generated business process definition 405 is registered as the repository definition unit 400. Specifically, it defines the processing flow of received data. For example, a logic is defined in which duplication of input data is checked and registered. The business process definition is also a well-known technique in the development of Web applications, and the description thereof is omitted.

ステップS505において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のデータベース定義401をRAM202に読み込む。データベース定義401は予め生成されているものとする。   In step S <b> 505, the program development apparatus 101 reads the database definition 401 of the repository definition unit 400 stored in the external memory 211 into the RAM 202. Assume that the database definition 401 is generated in advance.

ステップS506において、プログラム開発装置101は、設定・読み込みしたリポジトリ定義部400の各定義・各ファイルから情報を取得し、サーバ処理部のソースコードを生成する。具体的には、「データモデル定義」「ビジネスプロセス定義」に基づき、サーバ処理部460を生成する。   In step S506, the program development apparatus 101 acquires information from each definition / file of the repository definition unit 400 that has been set / read, and generates a source code of the server processing unit. Specifically, the server processing unit 460 is generated based on “data model definition” and “business process definition”.

ステップS507において、プログラム開発装置101は、設定・読み込みしたリポジトリ定義部400の各定義・各ファイルから情報を取得し、クライアント処理部のソースコードを生成する。具体的には、「入出力定義」に基づき、クライアント処理部を生成する。入出力定義には、後述する図15の画面設定の情報も含むものとする。   In step S507, the program development apparatus 101 acquires information from each definition / file of the repository definition unit 400 that has been set / read, and generates a source code of the client processing unit. Specifically, the client processing unit is generated based on the “input / output definition”. It is assumed that the input / output definition also includes screen setting information shown in FIG.

なお、生成されたソースコードにはプログラミング言語が記載されたファイル(例えば、データグリッド用JSP471)に加え、HTML、JSP、JavaScript(登録商標)等のWebアプリケーションの提供に利用されるファイル(例えば、図4の481〜484)も含まれる。   The generated source code includes files used for providing Web applications such as HTML, JSP, Javascript (registered trademark) in addition to files (for example, JSP471 for data grid) in which a programming language is described. Also included are 481-484) of FIG.

ステップS508において、プログラム開発装置101は、ステップS506にて生成したソースコード(ファイル)をアプリケーションサーバ105に配置(デプロイ)する。これにより、アプリケーションサーバ105上でWebアプリケーションが動作するようになる。デプロイした際のアプリケーションサーバの構成は、図4の460、470である。
次に、ステップS507の処理の詳細な説明をする。
In step S508, the program development apparatus 101 arranges (deploys) the source code (file) generated in step S506 on the application server 105. As a result, the web application operates on the application server 105. The configuration of the application server when deployed is 460 and 470 in FIG.
Next, the process of step S507 will be described in detail.

ステップS510では、ソースコードを生成する基となる入出力定義の定義情報を読み出す。そして、入出力定義の定義情報に入出力項目プロパティに設定されているグループタイプが、DATAGRIDの定義情報(例えば、602のレコード)があるか否かを判定する。すなわち、ソースコードを生成する際に、Web画面にグリッドが含まれるか否かを判定する処理である。(設定された入出力定義にグリッドを示す定義があるか否かを判定する判定処理の一例を示すステップである。)グリッドが含まれるWeb画面に対応するWebアプリケーションのソースコードを生成する場合には、ステップS511へ処理を移す。グリッドが含まれないWeb画面に対応するWebアプリケーションのソースコードを生成する場合には、ステップS517へ処理を移す。
なお、本実施形態では、ソースコード生成時にグリッドを示す定義があるか否かを自動的に判定するようにしているが、ユーザがグリッドを示す定義を手動にて指定して、本実施形態でのソースコード生成処理で生成させ(個々にソースコードを生成し)、このソースコードを結合処理にてまとめてWebアプリケーションを作るようにしてもよい。すなわち、本実施形態の状態変更可能なオブジェクト(例えば、グリッド)の定義の判定は、自動手動のいずれでも定義を特定可能な構成と言い換えることが可能である。
In step S510, the definition information of the input / output definition that is the basis for generating the source code is read. Then, it is determined whether or not the group type set in the input / output item property in the input / output definition definition information includes the DATATAGID definition information (for example, record 602). That is, it is processing for determining whether or not a grid is included in the Web screen when generating source code. (This is a step showing an example of a determination process for determining whether or not a set input / output definition includes a definition indicating a grid.) When generating source code of a Web application corresponding to a Web screen including a grid Moves the process to step S511. If the source code of the Web application corresponding to the Web screen that does not include the grid is generated, the process proceeds to step S517.
In this embodiment, it is automatically determined whether or not there is a definition indicating a grid when generating source code. However, in this embodiment, a user manually specifies a definition indicating a grid. The source code may be generated (individually generated source code), and the source code may be combined by a combining process to create a Web application. That is, the determination of the definition of an object (for example, grid) whose state can be changed according to the present embodiment can be rephrased as a configuration in which the definition can be specified by any of automatic and manual operations.

ステップS511では、データグリッド用JSP471を作成する。具体的には、入出力定義の定義情報に従って、JSPファイルに、HTML画面上でのグリッドを表示するための位置やインクルードするファイルを設定する。また、図15で設定した画面上の他の部品の定義情報(制御情報)も書き込まれる。   In step S511, a data grid JSP 471 is created. Specifically, the position for displaying the grid on the HTML screen and the file to be included are set in the JSP file in accordance with the definition information of the input / output definition. Further, definition information (control information) of other parts on the screen set in FIG. 15 is also written.

ステップS512では、データグリッド用CSS472を作成する。具体的にはグリッドのヘッダー(1行目)の色、フォント情報が記述されている。本実施形態では、アプリケーション生成部410が予め有している固定値を用いるものとするが、ユーザが任意に設定することも可能である。CSSファイル内に記載されている情報について、CSSファイルは既知の技術であるため詳細な説明を省略する。   In step S512, a data grid CSS 472 is created. Specifically, the color and font information of the grid header (first line) are described. In the present embodiment, a fixed value that the application generation unit 410 has in advance is used, but the user can arbitrarily set it. A detailed description of the information described in the CSS file is omitted because the CSS file is a known technology.

ステップS513では、データグリッド部品481を複製する。これは、アプリケーション生成部410が予め有しているデータグリッド部品を用いて、プログラムを生成するためである。なお、他のファイルは、設定された定義情報に基づいて、新たなファイル(例えば、482〜484)を作っているため、ここではデータグリッド部品を複製する。   In step S513, the data grid component 481 is duplicated. This is for generating a program using data grid components that the application generation unit 410 has in advance. Since other files are created as new files (eg, 482 to 484) based on the set definition information, the data grid component is duplicated here.

ステップS514では、データグリッドデフォルトスタイル482を生成する。上述したように、デフォルトスタイルの一例は、図10の1000であり各列の項目名と順番(項目名の並び順が項目名の表示順となる)を示すように記載されている。なお、図15の列名を設定した情報を基にデフォルトスタイルが決定される。グリッドのセルの幅はデータグリッド部品481が自動で決定するものとする。すなわち、データグリッドデフォルトスタイル482を利用した場合には、データグリッド部品481が項目名を表示する際に幅を決定して表示するものとする。   In step S514, a data grid default style 482 is generated. As described above, an example of the default style is 1000 in FIG. 10, and is described so as to indicate the item name and order of each column (the order of the item names is the display order of the item names). Note that the default style is determined based on the information in which the column names in FIG. 15 are set. It is assumed that the grid cell width 481 automatically determines the grid cell width. That is, when the data grid default style 482 is used, when the data grid component 481 displays the item name, the width is determined and displayed.

ステップS515では、データグリッドデータ制御部483を生成する。具体的には、入出力定義の定義情報(601、610)に従って、グリッド(表形式のセル)へデータを設定したり、グリッドからデータを取得したりする制御をするソースコードを生成する。データグリッドデータ制御部483は、データグリッド部品に対して、データを渡したり、データをアプリケーションサーバに送信する役割を担うものである。   In step S515, the data grid data control unit 483 is generated. Specifically, in accordance with the definition information (601, 610) of the input / output definition, source code is generated that controls the setting of data to the grid (table format cells) and the acquisition of data from the grid. The data grid data control unit 483 plays a role of passing data to the data grid component or transmitting data to the application server.

生成されたソースコードの一例を示す図が、図11の1100である。1101は、グリッドに表示されるデータを示すものであり、予めデータベースより取得したすべてのデータを含むソースコードが出力される。   An example of the generated source code is 1100 in FIG. Reference numeral 1101 denotes data displayed on the grid, and source code including all data acquired in advance from the database is output.

1102は、グリッドの実体を生成するための制御のソースコードである。「var _container = $(#g);」によりJSPファイルに記述されたグリッドの位置を取得した後、ハンズオン(データグリッド部品)を呼び出して、グリッドの設定(例えば列の順番など)をする制御のソースコードになっている。   Reference numeral 1102 denotes control source code for generating a grid entity. After acquiring the position of the grid described in the JSP file by “var_container = $ (# g);”, call the hands-on (data grid component) to set the grid (for example, the order of the columns). It is in source code.

1103は、生成したグリッドに1101のデータを表示させるために、ハンズオン(データグリッド部品)に対して1101を読み込むようにする制御のソースコードになっている。   Reference numeral 1103 denotes control source code for reading 1101 with respect to the hands-on (data grid component) in order to display the data 1101 on the generated grid.

ステップS516では、データグリッドスタイル制御部484を生成する。具体的には、Webストレージ491からスタイル情報を取得して、グリッドのスタイル情報に設定したり、ユーザの操作により変更されたグリッドからスタイル情報を取得し、Webストレージ491へスタイル情報を設定(保存)したりする制御のソースコードを出力する。なお、生成されたソースコードは、Webストレージにレイアウト情報が保存されているか否かを判断するソースコードも含まれる。
生成されたソースコードの一例を示す図が、図12の1200、図14の1400である。
In step S516, the data grid style control unit 484 is generated. Specifically, the style information is acquired from the Web storage 491 and set as the style information of the grid, or the style information is acquired from the grid changed by the user's operation, and the style information is set (saved) in the Web storage 491. ) Or output the control source code. Note that the generated source code also includes source code for determining whether layout information is stored in the Web storage.
An example of the generated source code is 1200 in FIG. 12 and 1400 in FIG.

図12の1200は、Webストレージからスタイル情報を読み出し、グリッドにスタイル情報を設定する制御のソースコードを示している。
1201は、Webストレージから操作されたグリッドに対応するスタイル情報(例えば、各列の幅など)を取得する制御のソースコードである。
Reference numeral 1200 in FIG. 12 indicates source code for control for reading style information from the Web storage and setting the style information in the grid.
Reference numeral 1201 denotes control source code for acquiring style information (for example, the width of each column) corresponding to the grid operated from the Web storage.

1202は、1201で取得したスタイル情報をグリッドに設定するため、ハンズオン(データグリッド部品)に対してスタイル情報を設定する(渡す)制御のソースコードである。
1203は、Webストレージを操作する制御の関数であり、ブラウザの関数を用いて、Webストレージの情報の取得要求を行うソースコードである。
Reference numeral 1202 denotes a source code of control for setting (passing) style information for hands-on (data grid component) in order to set the style information acquired in 1201 in the grid.
Reference numeral 1203 denotes a control function for operating the web storage, which is source code for making a web storage information acquisition request using a browser function.

図14の1400は、Webストレージにスタイル情報を書き出すソースコードを示している。Webストレージにスタイル情報を書き出すタイミングは、図6の604で設定されたタイミングである。グリッドへの変更操作があったタイミングでスタイル情報を保存する設定がされた場合には、ハンズオン(データグリッド部品)からイベントを取得して実行される。   Reference numeral 1400 in FIG. 14 indicates source code for writing style information to the Web storage. The timing for writing the style information to the Web storage is the timing set in 604 of FIG. When the setting for saving the style information is made at the timing when the change operation to the grid is performed, an event is acquired from the hands-on (data grid component) and executed.

1401は、設定された保存タイミングで、ハンズオン(データグリッド部品)からグリッドに対応するスタイル情報(例えば、各列の幅など)を取得し、Webストレージに保存する制御のソースコードである。
1402は、Webストレージを操作する制御の関数であり、ブラウザの関数を用いて、Webストレージへ情報を書き込みするソースコードである。
なお、Webストレージのスタイル情報を破棄(削除)する場合のソースコードは、1400に記載されるものとする。
Reference numeral 1401 denotes control source code for acquiring style information (for example, the width of each column) corresponding to the grid from the hands-on (data grid component) at a set storage timing and storing it in the Web storage.
Reference numeral 1402 denotes a control function for operating the web storage, which is source code for writing information to the web storage using a browser function.
The source code for discarding (deleting) the style information of the Web storage is described in 1400.

ステップS511〜ステップS516は、設定された入出力定義にグリッドを示す定義があると判定された場合に、グリッドが操作され変更されたグリッドのスタイル情報を取得し、クライアント装置のWebストレージへスタイル情報を記憶する制御情報を含むプログラムを生成する処理の一例を示すステップである。また、クライアント装置において画面でグリッドを表示する場合に、Webストレージにスタイル情報が記憶されているか否かを判定し、Webストレージにスタイル情報が記憶されていると判定された場合に、当該スタイル情報を用いて、前記グリッドのスタイルを変更制御する制御情報を生成する処理の一例を示すステップである。   Steps S511 to S516, when it is determined that there is a definition indicating a grid in the set input / output definition, acquires the style information of the grid that has been changed by operating the grid, and sends the style information to the Web storage of the client device It is a step which shows an example of the process which produces | generates the program containing the control information which memorize | stores. Further, when displaying a grid on the screen in the client device, it is determined whether or not style information is stored in the Web storage, and when it is determined that the style information is stored in the Web storage, the style information Is a step showing an example of processing for generating control information for changing and controlling the style of the grid.

ステップS517では、通常制御用JSPを生成する。具体的には、グリッドを用いないWebアプリケーションであるため、入出力定義404の定義情報ごとに、JSPファイルに、画面での制御をコントロールするソースコードが出力される。なお、通常制御用JSPには、利用しないJSファイル、例えば、データグリッド部品がインクルードされないようにソースコードを出力することが望ましい。   In step S517, a normal control JSP is generated. Specifically, since the Web application does not use a grid, source code for controlling control on the screen is output to the JSP file for each definition information of the input / output definition 404. Note that it is desirable to output the source code to the normal control JSP so that unused JS files, for example, data grid components, are not included.

ステップS518では、通常制御用CSSを生成する。具体的には、HTMLの画面の装飾をするための情報が記述されている。CSSファイル内に記載されている情報について、CSSファイルは既知の技術であるため詳細な説明を省略する。   In step S518, a normal control CSS is generated. Specifically, information for decorating the HTML screen is described. A detailed description of the information described in the CSS file is omitted because the CSS file is a known technology.

なお、本実施形態では、データグリッドに関するソースコードの出力について詳細に説明したが、データグリッド以外の定義情報に関するソースコードも出力されることは言うまでもない。例えば、検索キー入力領域に入力された値を検索する定義情報が有る場合には、検索ボタンを押下した際に、入力された値でアプリケーションサーバ105へ検索要求をする制御のソースコードが出力される。   Although the output of the source code related to the data grid has been described in detail in the present embodiment, it goes without saying that the source code related to definition information other than the data grid is also output. For example, when there is definition information for searching for an input value in the search key input area, the control source code for making a search request to the application server 105 with the input value is output when the search button is pressed. The

次に図7を用いて、アプリケーションクライアント104のブラウザに、アプリケーションクライアント104で利用するファイルがダウンロードされた際の処理について説明する。なお、以下のフローチャートの各ステップは、アプリケーションクライアント104のCPU201が実行する。   Next, processing when a file used by the application client 104 is downloaded to the browser of the application client 104 will be described with reference to FIG. Note that each step of the following flowchart is executed by the CPU 201 of the application client 104.

まず、ブラウザを介し、ユーザの操作に応じて指定されたURLに基づき、アプリケーションクライアント104は、アプリケーションサーバ105へアクセスする。アプリケーションサーバ105は、クライアント処理部470を取得して、アプリケーションクライアント104へ生成されたHTMLファイルを送信する。具体的には、アプリケーションサーバ105のクライアント処理部470の471のJSPファイルから、ブラウザで表示可能なHTMLファイルを生成して、472、480のファイル群(481〜484)とともにアプリケーションクライアント104へ送信する。このファイル群を受信して、ブラウザで画面を表示する。この画面表示の際に、データグリッド部品481が読み出されてスタイル変更やデータ変更可能なグリッドが表示される。   First, the application client 104 accesses the application server 105 based on a URL specified in accordance with a user operation via a browser. The application server 105 acquires the client processing unit 470 and transmits the generated HTML file to the application client 104. Specifically, an HTML file that can be displayed by the browser is generated from the 471 JSP file of the client processing unit 470 of the application server 105 and transmitted to the application client 104 together with the file groups 482 and 480 (481 to 484). . This file group is received and the screen is displayed on the browser. At the time of this screen display, the data grid component 481 is read out, and a grid in which style change or data change is possible is displayed.

ステップS701では、データグリッドデータ制御部483が、グリッドに配置するデータを取得し、データグリッド部品481に渡すことで、グリッドにデータを設定する。設定するデータは、図11の1101のデータを用いるものとするが、ユーザ操作による検索に応じたデータをデータベースから取得して表示してもよいし、初期表示はデータを表示しないようにしてもよい。   In step S701, the data grid data control unit 483 acquires data to be arranged in the grid and passes the data to the data grid component 481, thereby setting the data in the grid. As the data to be set, the data 1101 in FIG. 11 is used. However, the data corresponding to the search by the user operation may be acquired from the database and displayed, or the initial display may not display the data. Good.

ステップS702では、データグリッドスタイル制御部484が、表示されるグリッドに対応するスタイル情報がWebストレージ491に保存されているか否かを判定する。具体的には、グリッドごとにグリッドの識別情報を有しており、このグリッドの識別情報を基に、Webストレージ491を検索して、対応するスタイル情報を特定する。グリッドの識別情報は、グリッド名やグリッドID、画面名など識別できるものであれば何れであってもよい。   In step S702, the data grid style control unit 484 determines whether style information corresponding to the displayed grid is stored in the Web storage 491. Specifically, each grid has grid identification information, and the web storage 491 is searched based on the grid identification information to identify corresponding style information. The grid identification information may be any information that can identify the grid name, grid ID, screen name, and the like.

Webストレージ491に保存されているスタイル情報の例が図13である。また、1301が、レイアウト情報のうち、列幅に関する情報である。1301の例では、Keyが「_datagridColumnWidth_to_sales_solution_customer_name.normalizedvalue」、Valueが「248」となっている。キーは、画面「to_sales_solution_customer」の「name(名前列)」の「_datagridColumnWidth(列幅)」の情報を示している。   An example of style information stored in the Web storage 491 is shown in FIG. Reference numeral 1301 denotes information related to the column width in the layout information. In the example 1301, Key is “_datagridColumnWidth_to_sales_solution_customer_name.normalized value”, and Value is “248”. The key indicates information of “_datagridColumnWidth (column width)” of “name (name column)” of the screen “to_sales_solution_customer”.

グリッドに対応するスタイル情報が有る場合には、ステップS703へ処理を移す。グリッドに対応するスタイル情報が無い場合には、ステップS705へ処理を移す。
ステップS703では、データグリッドスタイル制御部484が、Webストレージ491から特定(取得した)したスタイル情報を読み込む。
If there is style information corresponding to the grid, the process proceeds to step S703. If there is no style information corresponding to the grid, the process proceeds to step S705.
In step S703, the data grid style control unit 484 reads the style information specified (obtained) from the Web storage 491.

ステップS704では、データグリッドスタイル制御部484は、読み込んだスタイル情報をデータグリッドに設定する。具体的には、データグリッド部品481に取得したスタイル情報を渡し、スタイル情報を変更したグリッドが表示される。変更されたスタイル情報で表示されたグリッドの例が、図9の900である。900は変更後のレイアウト情報を読み出して設定した例であり、具体的には「顧客名」列の幅を広げている。また、「ふりがな」列を先頭に移動している。「顧客ID」列を固定している。「メールアドレス」列を非表示としている。   In step S704, the data grid style control unit 484 sets the read style information in the data grid. Specifically, the acquired style information is passed to the data grid component 481, and a grid with the changed style information is displayed. An example of the grid displayed with the changed style information is 900 in FIG. Reference numeral 900 denotes an example in which the changed layout information is read and set. Specifically, the “customer name” column is expanded. In addition, the “phonetic” column is moved to the top. The “customer ID” column is fixed. The "Email address" column is hidden.

ステップS705では、データグリッドスタイル制御部484が、データグリッドデフォルトスタイル482を取得して、データグリッドデフォルトスタイル482から取得した情報をデータグリッドに設定する。具体的には、データグリッド部品481に設定する情報を渡す。デフォルトで表示されたグリッドの例が、図8の800である。なお、列幅などは、データグリッド部品481が自動で決定するものとする。   In step S705, the data grid style control unit 484 acquires the data grid default style 482, and sets the information acquired from the data grid default style 482 in the data grid. Specifically, information to be set in the data grid component 481 is passed. An example of the grid displayed by default is 800 in FIG. Note that the column width and the like are automatically determined by the data grid component 481.

ステップS706では、Web画面への操作イベント待ちループに入る。ここでは特に、グリッドに対する操作イベント待ちのループとする。検知したい操作イベントは、データグリッド部品481に対して登録することで必要なイベントを取得できる。   In step S706, an operation event waiting loop for the Web screen is entered. Here, in particular, a loop waiting for an operation event for the grid is assumed. The operation event to be detected can be acquired by registering it with the data grid component 481.

ステップS707では、データグリッド部品481が、グリッドへの操作イベント(例えば、列幅の変更、列の非表示、列順の変更など)が発生したことを検知して、データグリッドスタイル制御部484へ渡す。これにより所定の操作イベントが発生したか否かを判定する。グリッドへの操作イベントが発生した場合には、ステップS708へ処理を移す。操作イベントが発生していない場合には、ステップS712へ処理を移す。   In step S707, the data grid component 481 detects that an operation event to the grid (for example, column width change, column non-display, column order change, etc.) has occurred, and the data grid style control unit 484 moves to the data grid style control unit 484. hand over. Thereby, it is determined whether or not a predetermined operation event has occurred. If an operation event for the grid has occurred, the process proceeds to step S708. If no operation event has occurred, the process moves to step S712.

ステップS708では、データグリッドスタイル制御部484が、操作イベントが、保存タイミング604で設定された保存対象のタイミングかどうか判定する。この保存タイミングはデータグリッドスタイル制御部484に保存されている。例えば、ユーザが列の幅を変更した場合、列の幅情報が保存対象で、かつ、保存タイミングが「操作毎」となっていれば、「YES」と判定され、ステップS709へ処理を移す。
なお、本実施形態では、保存タイミングは変更した場合に保存するように説明しているが、一定間隔でデータグリッドのスタイルを取得して保存させる制御であってもよい。この場合、変更されていない場合でもWebストレージに保存されるが、いずれかのタイミングで変更されたスタイルが取得され、Webストレージに保存される構成であるため、一定間隔でスタイルを取得して保存させる制御についても本実施形態における効果を得られることは言うまでもない。
In step S708, the data grid style control unit 484 determines whether the operation event is the timing to be saved set at the save timing 604. This storage timing is stored in the data grid style control unit 484. For example, when the user changes the column width, if the column width information is to be stored and the storage timing is “every operation”, “YES” is determined, and the process proceeds to step S709.
In the present embodiment, it is described that the storage timing is stored when the storage timing is changed. However, the control may be such that the data grid style is acquired and stored at regular intervals. In this case, even if it has not been changed, it is saved in the web storage, but since the style changed at any timing is obtained and saved in the web storage, the style is obtained and saved at regular intervals. It goes without saying that the effect of this embodiment can be obtained with respect to the control to be performed.

ステップS709では、データグリッドスタイル制御部484が、操作により変更されたスタイル情報をデータグリッド部品481から取得し、Webストレージ491へスタイル情報をグリッドの識別情報と対応付けて保存する。保存する際には、保存単位604で設定された保存の単位ごとに保存処理を行う。ブラウザ単位の場合、そのブラウザでのスタイル情報として管理する。   In step S709, the data grid style control unit 484 acquires the style information changed by the operation from the data grid component 481, and stores the style information in the Web storage 491 in association with the grid identification information. When saving, a save process is performed for each save unit set in the save unit 604. In case of browser unit, it is managed as style information in the browser.

ステップS710では、データグリッドスタイル制御部484が、操作イベントが、破棄タイミング606で設定された破棄のタイミングかどうか判定する。この破棄タイミングはデータグリッドスタイル制御部484に保存されている。破棄のタイミングであれば、ステップS711へ処理を移す。破棄のタイミングでなければ、ステップS712へ処理を移す。破棄タイミング606が「NEVER」であれば、破棄しない設定であるため、ステップS712へ処理を移す。   In step S <b> 710, the data grid style control unit 484 determines whether the operation event is the discard timing set in the discard timing 606. This discard timing is stored in the data grid style control unit 484. If it is the timing for discarding, the process proceeds to step S711. If it is not the timing for discarding, the process proceeds to step S712. If the discard timing 606 is “NEVER”, the setting is not discarded, and the process proceeds to step S712.

ステップS711では、グリッドの識別情報に基づき、Webストレージ491から削除する。なおグリッド単位で削除してもよいし、画面単位で削除してもよいし、ブラウザ単位で削除してもよい。   In step S711, the Web storage 491 is deleted based on the grid identification information. In addition, you may delete per grid, you may delete per screen, and you may delete per browser.

ステップS712では、Web画面へのリロードがあったか否かを判定する。Web画面へのリロードがあった場合には、グリッドの再表示がされるため、ステップS701へ処理を戻す。リロードがなかった場合にはイベント待ちルールとなる。なお、リロードは、グリッドへのリロードであってもよい。
イベントが破棄対象でなかった場合や、Webストレージ491への処理が終わった場合は、イベント待ちループに戻る。
In step S712, it is determined whether or not there is a reload on the Web screen. If the web screen is reloaded, the grid is displayed again, and the process returns to step S701. When there is no reload, it becomes an event waiting rule. The reload may be a reload to the grid.
When the event is not a target for discarding or when the processing to the Web storage 491 is completed, the process returns to the event waiting loop.

なお、本実施形態では、Webアプリケーションを生成し構築するシステムとして説明したが、XML形式でやり取りするWebサービスとして動作するシステムであってもよい。   Although the present embodiment has been described as a system that generates and constructs a Web application, a system that operates as a Web service that exchanges in XML format may be used.

次に、図16を用いて、本実施形態における、特徴を示す機能構成の一例について説明する。   Next, an example of a functional configuration showing features in the present embodiment will be described with reference to FIG.

なお、図16の機能構成は、プログラム開発装置101の機能構成であるが、プログラム開発が可能な装置であればサーバであってもよい。すなわち、クラウド環境で開発できるシステムを利用する場合、サーバの機能構成に置き換えることも可能である。すなわち、Webシステムで実行するプログラムを生成する情報処理装置と言い換えることが可能である。
また、スタイルやデータを変更可能なグリッドとして説明するが、状態を変更可能なオブジェクトであればよく、グリッドに限るものではないことは言うまでもない。
設定部1601は、Webシステムで用いるクライアント装置で表示する画面の定義である入出力定義を設定する機能部である。
判定部1602は、設定された入出力定義にグリッドを示す定義があるか否かを判定する機能部である。言い換えると、状態変更可能なオブジェクトに対応する定義を特定する機能部である。
The functional configuration of FIG. 16 is the functional configuration of the program development apparatus 101, but may be a server as long as it is an apparatus capable of program development. In other words, when using a system that can be developed in a cloud environment, it can be replaced with a functional configuration of the server. In other words, it can be paraphrased as an information processing apparatus that generates a program to be executed by a Web system.
Although the grid is described as a grid whose style and data can be changed, it is needless to say that the object is not limited to a grid as long as the object can change its state.
A setting unit 1601 is a functional unit that sets an input / output definition that is a definition of a screen displayed on a client device used in the Web system.
The determination unit 1602 is a functional unit that determines whether there is a definition indicating a grid in the set input / output definition. In other words, it is a functional unit that specifies a definition corresponding to an object whose state can be changed.

生成部1603は、設定された入出力定義にグリッドを示す定義があると判定された場合に、前記グリッドが操作され変更されたグリッドのスタイル情報(変更されたオブジェクトの表示状態の情報)を取得し、前記クライアント装置のWebストレージへ当該スタイル情報を記憶する制御情報を含むプログラムを生成する機能部である。   When it is determined that the set input / output definition includes a definition indicating a grid, the generation unit 1603 acquires grid style information (information about the display state of the changed object) that is changed by operating the grid. And a function unit that generates a program including control information for storing the style information in the Web storage of the client device.

また、クライアント装置において前記画面でグリッドを再表示する場合に、前記Webストレージにスタイル情報(オブジェクトの表示状態の情報)が記憶されているか否かを判定し、Webストレージにスタイル情報(オブジェクトの表示状態の情報)が記憶されていると判定された場合に、当該スタイル情報を用いて、前記グリッドのスタイル(オブジェクトの表示状態)を変更制御する制御情報を生成する機能部である。
また、記憶タイミングで前記クライアント装置のWebストレージへスタイル情報を記憶する制御情報を生成する機能部である。
Further, when the grid is redisplayed on the screen in the client device, it is determined whether or not style information (information on the display state of the object) is stored in the Web storage, and the style information (object display) is stored in the Web storage. When it is determined that state information) is stored, the function unit generates control information for changing and controlling the style of the grid (the display state of the object) using the style information.
Further, the functional unit generates control information for storing style information in the Web storage of the client device at a storage timing.

また、設定された入出力定義にグリッドを示す定義があると判定された場合に、グリッド制御部品(オブジェクト制御部品)を呼び出す制御情報を含め、グリッド制御部品(オブジェクト制御部品)によりグリッドが変更されたことによるスタイル情報(オブジェクトの表示状態の情報)を、グリッド制御部品(オブジェクト制御部品)から取得して、Webストレージに記憶する制御情報を生成する機能部である。
配置部1604は、グリッドオブジェクトを配置する機能部である。
データモデル設定部1605は、配置したグリッドオブジェクトに対して、データモデルを設定する機能部である。
定義情報生成部1606は、設定されたデータモデルの項目名を含む定義情報と、前記グリッドオブジェクトに対応する定義情報とを生成する機能部である。
In addition, when it is determined that there is a definition indicating a grid in the set input / output definition, the grid is changed by the grid control component (object control component) including control information for calling the grid control component (object control component). This is a functional unit that obtains style information (information about the display state of an object) from the grid control component (object control component) and generates control information to be stored in the Web storage.
The arrangement unit 1604 is a functional unit that arranges grid objects.
The data model setting unit 1605 is a functional unit that sets a data model for the arranged grid objects.
The definition information generation unit 1606 is a functional unit that generates definition information including item names of the set data model and definition information corresponding to the grid object.

タイミング設定部1607は、グリッドが操作され変更されたグリッドのスタイル情報の記憶タイミングを、前記グリッドを示す定義情報に設定する機能部である。
記憶部1608は、グリッド制御部品を記憶する機能部である。
以上、本実施形態の詳細な説明を終了する。
The timing setting unit 1607 is a functional unit that sets the storage timing of the style information of the grid, which has been changed by operating the grid, in the definition information indicating the grid.
The storage unit 1608 is a functional unit that stores grid control components.
This is the end of the detailed description of this embodiment.

次にその他の実施形態について説明する。なお、上述の実施形態と同じ説明については省略する。   Next, other embodiments will be described. Note that the same description as in the above embodiment is omitted.

図17を用いて、本実施形態の処理について説明する。図17は、他の実施形態におけるWebアプリケーション生成のフローチャートの一例を示す図である。なお、以下のフローチャートの各ステップは、各装置のCPU201が実行する。   The processing of this embodiment will be described using FIG. FIG. 17 is a diagram illustrating an example of a flowchart of Web application generation according to another embodiment. Each step of the following flowchart is executed by the CPU 201 of each device.

ステップS1701は、ステップS503と同様の処理で、プログラム開発装置101は、入出力定義404を生成する。生成された入出力定義404は、リポジトリ定義部400として登録される。本実施形態では、図19の入出力定義画面でWeb画面のグリッド定義を行う。ここで、1801でデータグリッドにおいて、データが変更され、このデータをWebストレージに保存するか否かを設定することができる。「ON」に設定すると、変更されたデータがWebストレージに保存やWebストレージからデータを取得するソースコードが生成される。   Step S1701 is the same processing as step S503, and the program development apparatus 101 generates an input / output definition 404. The generated input / output definition 404 is registered as the repository definition unit 400. In the present embodiment, the grid definition of the Web screen is performed on the input / output definition screen of FIG. Here, in 1801, data is changed in the data grid, and it can be set whether or not to save this data in the Web storage. When set to “ON”, the source code for saving the changed data in the Web storage and acquiring the data from the Web storage is generated.

「OFF」に設定すると、変更されたデータはWebストレージに保存されず、レイアウトについてWebストレージに保存し、取得するソースコードが生成される。
なお、データの保存タイミングなどは、図6の604の設定と同様とするが、データの保存タイミングは、別に設定させてもよいことは言うまでもない。
When “OFF” is set, the changed data is not saved in the web storage, but the source code for saving and acquiring the layout in the web storage is generated.
The data storage timing is the same as the setting of 604 in FIG. 6, but it goes without saying that the data storage timing may be set separately.

ステップS1702は、ステップS515と同様の処理で、データグリッドデータ制御部483を生成する。具体的には、入出力定義の定義情報(601、610)に従って、グリッド(表形式のセル)へデータを設定したり、グリッドからデータを取得したりする制御をするソースコードを生成する。また、1801が「ON」の場合、ユーザの操作により変更されたグリッドから変更されたデータを取得し、Webストレージ491へデータを設定(保存)したり、Webストレージからデータを取得する制御のソースコードを生成する。データの保存は、変更箇所だけでも、データグリッド全体のデータであってもよい。
なお、不図示であるが、Webストレージにデータが保存されているか否かを判断するソースコードも生成されることは言うまでもない。
In step S1702, the data grid data control unit 483 is generated by the same processing as in step S515. Specifically, in accordance with the definition information (601, 610) of the input / output definition, source code is generated that controls the setting of data to the grid (table format cells) and the acquisition of data from the grid. When 1801 is “ON”, the source of control for acquiring changed data from the grid changed by the user's operation and setting (saving) the data in the Web storage 491 or acquiring the data from the Web storage Generate code. The data may be stored only in the changed part or in the entire data grid.
Although not shown, it goes without saying that source code for determining whether data is stored in the Web storage is also generated.

データグリッドデータ制御部483は、Webストレージへデータを保存する取得する役割のほか、上述の通りデータグリッド部品に対して、データを渡したり、データをアプリケーションサーバに送信する役割を担うものである。   The data grid data control unit 483 plays a role of transferring data to the data grid component and transmitting data to the application server as described above, in addition to the role of acquiring and storing data in the Web storage.

ステップS510で、入出力定義の定義情報に入出力項目プロパティに設定されているグループタイプが、TABLEかGRAPHであると判定された場合(グループが設定されていない場合含む)には、ステップS1703へ処理を移す。   If it is determined in step S510 that the group type set in the input / output item property in the definition information of the input / output definition is TABLE or GRAPH (including the case where no group is set), the process advances to step S1703. Move processing.

ステップS1703では、グループタイプが、TABLEかGRAPHかを判定する。GRAPHの場合、ステップS1704へ処理を移す。TABLEの場合には、ステップS517へ処理を移す。ステップS517では、テーブルタグを用いて表を生成するものとする。   In step S1703, it is determined whether the group type is TABLE or GRAPH. In the case of GRAPH, the process proceeds to step S1704. In the case of TABLE, the process proceeds to step S517. In step S517, a table is generated using a table tag.

ステップS1704では、グラフ用JSPを作成する。具体的には、入出力定義の定義情報に従って、JSPファイルに、HTML画面上でのグラフを表示するための位置やインクルードするファイルを設定する。また、図15で設定した画面上の他の部品の定義情報(制御情報)も書き込まれる。   In step S1704, a graph JSP is created. Specifically, in accordance with the definition information of the input / output definition, the position for displaying the graph on the HTML screen and the file to be included are set in the JSP file. Further, definition information (control information) of other parts on the screen set in FIG. 15 is also written.

ステップS1705では、グラフ用CSSを作成する。具体的には棒グラフの色、軸のフォント情報が記述されている。本実施形態では、アプリケーション生成部410が予め有している固定値を用いるものとするが、ユーザが任意に設定することも可能である。CSSファイル内に記載されている情報について、CSSファイルは既知の技術であるため詳細な説明を省略する。   In step S1705, a graph CSS is created. Specifically, the bar graph color and axis font information are described. In the present embodiment, a fixed value that the application generation unit 410 has in advance is used, but the user can arbitrarily set it. A detailed description of the information described in the CSS file is omitted because the CSS file is a known technology.

ステップS1706では、グラフ部品(不図示)を複製する。これは、アプリケーション生成部410が予め有しているグラフ部品を用いて、プログラムを生成するためである。なお、他のファイルは、設定された定義情報に基づいて、新たなファイル(例えば、482〜484)を作っているため、ここではグラフ部品を複製する。   In step S1706, the graph part (not shown) is duplicated. This is for generating a program using the graph parts that the application generation unit 410 has in advance. Since other files are created as new files (eg, 482 to 484) based on the set definition information, the graph parts are duplicated here.

ステップS1707では、グラフデータ制御部を生成する。具体的には、入出力定義の定義情報に従って、グラフへデータを設定する制御のソースコードを生成する。グラフデータ制御部は、グラフ部品に対して、データを渡したり、グラフの設定(棒グラフ、折れ線グラフ、軸の設定)を渡す役割を担うものである。なお、グラフの設定は入出力定義で設定できるが、デフォルトの設定を用いてもよい。   In step S1707, a graph data control unit is generated. Specifically, control source code for setting data in the graph is generated according to the definition information of the input / output definition. The graph data control unit plays a role of passing data to a graph part or passing graph settings (bar graph, line graph, axis setting). The graph settings can be set in the input / output definition, but default settings may be used.

なお、本実施形態では、データグリッド、グラフ、テーブルを分けて説明したが、入出力定義にデータグリッド、グラフ、テーブルが混在している場合は、それぞれに対するソースコードが生成されることは言うまでもない。   In this embodiment, the data grid, the graph, and the table are described separately. Needless to say, however, when the data grid, the graph, and the table are mixed in the input / output definition, the source code for each is generated. .

次に、図18を用いて、本実施形態の処理について説明する。図18は、他の実施形態におけるアプリケーションクライアント104のブラウザに、アプリケーションクライアント104で利用するファイルがダウンロードされた際の処理について説明する。なお、以下のフローチャートの各ステップは、アプリケーションクライアント104のCPU201が実行する。   Next, processing of the present embodiment will be described with reference to FIG. FIG. 18 illustrates processing when a file used by the application client 104 is downloaded to the browser of the application client 104 according to another embodiment. Note that each step of the following flowchart is executed by the CPU 201 of the application client 104.

ステップS1801では、データグリッドスタイル制御部484又はデータグリッドデータ制御部が、表示されるグリッドに対応するスタイル情報又はデータがWebストレージ491に保存されているか否かを判定する。具体的には、グリッドごとにグリッドの識別情報を有しており、このグリッドの識別情報を基に、Webストレージ491を検索して、対応するスタイル情報を特定する。グリッドの識別情報は、グリッド名やグリッドID、画面名など識別できるものであれば何れであってもよい。   In step S1801, the data grid style control unit 484 or the data grid data control unit determines whether style information or data corresponding to the displayed grid is stored in the Web storage 491. Specifically, each grid has grid identification information, and the web storage 491 is searched based on the grid identification information to identify corresponding style information. The grid identification information may be any information that can identify the grid name, grid ID, screen name, and the like.

グリッドに対応するスタイル情報又はデータが有る場合には、ステップS1802へ処理を移す。グリッドに対応するスタイル情報又はデータが無い場合には、ステップS705へ処理を移す。   If there is style information or data corresponding to the grid, the process proceeds to step S1802. If there is no style information or data corresponding to the grid, the process proceeds to step S705.

ステップS1802では、データグリッドスタイル制御部484又はデータグリッドデータ制御部が、Webストレージ491から特定(取得した)したスタイル情報又はデータを読み込む。   In step S1802, the data grid style control unit 484 or the data grid data control unit reads the style information or data specified (obtained) from the Web storage 491.

ステップS1803では、データグリッドスタイル制御部484は、読み込んだスタイル情報をデータグリッドに設定する。具体的には、データグリッド部品481に取得したスタイル情報を渡し、スタイル情報を変更したグリッドが表示される。変更されたスタイル情報で表示されたグリッドの例が、図9の900である。900は変更後のレイアウト情報を読み出して設定した例であり、具体的には「顧客名」列の幅を広げている。また、「ふりがな」列を先頭に移動している。「顧客ID」列を固定している。「メールアドレス」列を非表示としている。   In step S1803, the data grid style control unit 484 sets the read style information in the data grid. Specifically, the acquired style information is passed to the data grid component 481, and a grid with the changed style information is displayed. An example of the grid displayed with the changed style information is 900 in FIG. Reference numeral 900 denotes an example in which the changed layout information is read and set. Specifically, the “customer name” column is expanded. In addition, the “phonetic” column is moved to the top. The “customer ID” column is fixed. The "Email address" column is hidden.

また、データグリッドデータ制御部は、読み込んだデータをデータグリッドに設定する。Webストレージには、データとデータグリッドの位置を記憶しており、この位置に応じてデータを反映させる要求をデータグリッド部品481にする。   The data grid data control unit sets the read data in the data grid. The Web storage stores data and the position of the data grid, and a request for reflecting the data is made to the data grid component 481 according to this position.

ステップS707、ステップS708、ステップS710の処理における、データグリッドスタイル制御部484は、データグリッドデータ制御部に置き換えるものとし、データの変更については、データグリッドデータ制御部により保存タイミング、破棄タイミングを判定する。   The data grid style control unit 484 in the processing of step S707, step S708, and step S710 is replaced with a data grid data control unit, and the data grid data control unit determines storage timing and discard timing for data change. .

ステップS1804では、データグリッドスタイル制御部484が、操作により変更されたスタイル情報をデータグリッド部品481から取得し、Webストレージ491へスタイル情報をグリッドの識別情報と対応付けて保存する。保存する際には、保存単位604で設定された保存の単位ごとに保存処理を行う。ブラウザ単位の場合、そのブラウザでのスタイル情報として管理する。   In step S1804, the data grid style control unit 484 acquires the style information changed by the operation from the data grid component 481, and stores the style information in the Web storage 491 in association with the grid identification information. When saving, a save process is performed for each save unit set in the save unit 604. In the case of a browser unit, it is managed as style information in the browser.

また、データグリッドデータ制御部が、操作により変更されたデータをデータグリッド部品481から取得し、Webストレージ491へデータとデータグリッドの位置とをグリッドの識別情報と対応付けて保存する。   In addition, the data grid data control unit acquires the data changed by the operation from the data grid component 481, and stores the data and the position of the data grid in the Web storage 491 in association with the grid identification information.

ステップS1805では、グリッドの識別情報に基づき、スタイル情報又はデータをWebストレージ491から削除する。なおグリッド単位で削除してもよいし、画面単位で削除してもよいし、ブラウザ単位で削除してもよい。
なお、破棄タイミングは、アプリケーションクライアント104のブラウザを操作しているユーザにより決定させる形態であってもよい。例えば、データグリッド上で右クリックし、メニューを表示させ、メニューからデータグリッドクリア(初期に戻す)をすると、Webストレージからスタイル情報やデータを削除し、リロードする。
In step S1805, the style information or data is deleted from the web storage 491 based on the grid identification information. In addition, you may delete per grid, you may delete per screen, and you may delete per browser.
Note that the discard timing may be determined by a user operating the browser of the application client 104. For example, by right-clicking on the data grid to display a menu and clearing the data grid from the menu (returning to the initial state), the style information and data are deleted from the web storage and reloaded.

本実施形態では、例えば、Webアプリケーションで用いる画面の定義である入出力定義を設定し、設定された入出力定義にグリッドを示す定義があるか否かを判定する(状態変更が可能なオブジェクトを特定する)。グリッド(状態変更が可能なオブジェクト)を示す定義があると判定された場合に、グリッド部品(状態変更が可能なオブジェクト)を含み、グリッド(状態変更が可能なオブジェクト)が操作された場合に、グリッド部品(状態変更が可能なオブジェクト)により変更されたスタイル情報やデータを取得する。この取得したスタイル情報やデータをWebストレージへスタイル情報を書き込む、読み出す制御情報(例えば、プログラムコード)を埋め込んだWebアプリケーションプログラムを生成する。   In this embodiment, for example, an input / output definition that is a definition of a screen used in a Web application is set, and it is determined whether or not there is a definition indicating a grid in the set input / output definition (an object whose state can be changed). Identify). When it is determined that there is a definition that indicates a grid (an object that can change the state), when a grid part (an object that can change the state) is included and the grid (an object that can change the state) is operated, Acquires style information and data changed by a grid component (an object whose state can be changed). A web application program in which the control information (for example, program code) to be read and written into the web storage is written with the style information and data thus acquired is generated.

また、このWebアプリケーションプログラムを用いてWeb画面でグリッド(状態変更が可能なオブジェクト)を表示する際には、グリッド(状態変更が可能なオブジェクト)に適用するためのスタイル情報やデータがWebストレージにあるか否かを判定し、適用するスタイル情報がない場合には、デフォルトのスタイル情報(CSSファイルとは異なる)を読み出し、Webストレージあるいはアプリケーションサーバから取得したデータを用いてグリッド(状態変更が可能なオブジェクト)を表示する。適用するスタイル情報がある場合には、Webストレージから読み出したスタイル情報を用いてグリッド(状態変更が可能なオブジェクト)を表示するように制御する。   Also, when displaying a grid (an object whose state can be changed) using the Web application program, style information and data to be applied to the grid (an object whose state can be changed) are stored in the Web storage. If there is no style information to apply, the default style information (different from the CSS file) is read, and the grid (state change is possible using data acquired from the web storage or application server) Display). When there is style information to be applied, control is performed to display a grid (an object whose state can be changed) using the style information read from the Web storage.

さらに、Webアプリケーション生成時の設定で、変更されたグリッド(状態変更が可能なオブジェクト)のスタイルやデータを記憶させるか、記憶(保存)するタイミング、破棄するタイミングを設定させ、開発者が容易にグリッドのスタイル関する制御を行うプログラムを生成することが可能となる。   In addition, developers can easily set the timing and data to store, save (save), and discard the changed grid (object whose state can be changed) in the settings when generating the Web application. It is possible to generate a program for controlling the grid style.

すなわち、Web画面を表示する際に、変更された状態(スタイルやデータ)でオブジェクト(グリッド)表示できるWeb画面を利用するWebアプリケーションのプログラムを容易に開発することが可能となる。   That is, when displaying a Web screen, it is possible to easily develop a Web application program that uses a Web screen that can display an object (grid) in a changed state (style or data).

特に、開発者がグループタイプ(種別)によって、レイアウトやデータの変更ができるものとできないものを区別し、Webストレージへの保存(書き込み)や取得(読み出し)を制御するソースコードを生成し、変更後の状態を再表示させるという技術的に困難な制御を実現するWebアプリケーションのプログラムを容易に開発することができる。   In particular, the developer distinguishes whether or not the layout and data can be changed depending on the group type (classification), and generates and changes the source code that controls saving (writing) and acquisition (reading) to the Web storage. It is possible to easily develop a Web application program that realizes technically difficult control of redisplaying a later state.

以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。   As described above, a recording medium that records a program that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.

この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。   In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。   As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.

また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.

上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。   The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.

さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。   Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.

101 プログラム開発装置
102 プログラム開発サーバ
103 データベースサーバ
104 アプリケーションクライアント
105 アプリケーションサーバ
201 CPU
202 RAM
211 外部メモリ
DESCRIPTION OF SYMBOLS 101 Program development apparatus 102 Program development server 103 Database server 104 Application client 105 Application server 201 CPU
202 RAM
211 External memory

Claims (8)

Webシステムで実行するプログラムを生成する情報処理装置であって、
前記Webシステムで用いるクライアント装置で表示する画面に対応する入出力定義を設定する設定手段と、
前記設定手段により設定された入出力定義であって、クライアント装置で表示した画面で状態変更が可能なオブジェクトを示す定義を特定する特定手段と、
前記特定手段により特定された前記状態変更が可能なオブジェクトを示す定義に対応するオブジェクトであってクライアント装置で表示した画面のオブジェクトで変更された表示状態の情報を取得し、前記クライアント装置のストレージへ当該表示状態の情報を記憶し、前記オブジェクトの再表示時に前記記憶された表示状態の情報を用いてオブジェクト表示させる制御情報を含むプログラムを生成する生成手段とを備え、
前記生成手段は、記オブジェクトに対応して設定された記憶タイミングであって、状態変更されたオブジェクトの表示状態の情報の記憶タイミングで、前記クライアント装置のストレージへ表示状態の情報を記憶する制御情報を生成することを特徴とする情報処理装置。
An information processing apparatus for generating a program to be executed on a Web system,
Setting means for setting an input / output definition corresponding to a screen displayed on a client device used in the Web system;
An input / output definition set by the setting means, a specifying means for specifying a definition indicating an object whose state can be changed on a screen displayed on a client device;
The object corresponding to the definition indicating the object whose state can be changed specified by the specifying unit is acquired, and the information of the display state changed by the object of the screen displayed on the client device is acquired and stored in the storage of the client device Generating means for storing information on the display state, and generating a program including control information for displaying the object using the stored display state information when the object is re-displayed,
It said generating means is a memory timing set in correspondence with the previous SL object, a storage timing of the display state of the state changed object information, control for storing the information display state to the storage of the client device An information processing apparatus characterized by generating information.
前記生成手段は、クライアント装置において前記画面でオブジェクトを表示する場合に、前記ストレージに表示状態の情報が記憶されているか否かを判定し、ストレージに表示状態の情報が記憶されていると判定された場合に、当該表示状態の情報を用いて、前記オブジェクトの表示状態を変更制御する制御情報を生成することを特徴とする請求項1に記載の情報処理装置。   The generation unit determines whether or not display state information is stored in the storage when displaying an object on the screen in the client device, and determines that display state information is stored in the storage. 2. The information processing apparatus according to claim 1, wherein control information for changing and controlling the display state of the object is generated using the display state information. 前記オブジェクトを配置する配置手段と、
前記配置したオブジェクトに対して、データモデルを設定するデータモデル設定手段と、
前記データモデル設定手段により設定されたデータモデルの項目名を含む定義と、前記オブジェクトに対応する定義とを生成する定義生成手段と
を更に備えることを特徴とする請求項1又は2に記載の情報処理装置。
Arrangement means for arranging the object;
Data model setting means for setting a data model for the arranged object;
The information according to claim 1, further comprising: a definition generation unit configured to generate a definition including an item name of the data model set by the data model setting unit and a definition corresponding to the object. Processing equipment.
前記状態変更されたオブジェクトの表示状態の情報の記憶タイミングを、前記オブジェクトを示す定義に設定するタイミング設定手段を更に備え、
前記生成手段は、前記タイミング設定手段で設定された記憶タイミングで前記クライアント装置のストレージへ表示状態の情報を記憶する制御情報を生成することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
A timing setting means for setting a storage timing of display state information of the object whose state has been changed to a definition indicating the object;
The said production | generation means produces | generates the control information which memorize | stores the information of a display state in the storage of the said client apparatus at the memory | storage timing set by the said timing setting means, The one of Claim 1 thru | or 3 characterized by the above-mentioned. The information processing apparatus described.
前記オブジェクトを制御するオブジェクト制御部品を記憶する記憶手段を更に備え、
前記生成手段は、前記特定手段により前記状態変更が可能なオブジェクトが特定された場合に、前記オブジェクト制御部品を呼び出す制御情報を含め、
前記オブジェクト制御部品によりオブジェクトが変更されたことによる表示状態の情報を、前記オブジェクト制御部品から取得して、前記オブジェクトの再表示時に読み出し可能に前記ストレージに記憶する制御情報を生成することを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。
A storage means for storing an object control component for controlling the object;
The generation means includes control information for calling the object control component when an object whose state can be changed is specified by the specifying means,
Obtaining display state information from the object control component when the object has been changed by the object control component from the object control component, and generating control information stored in the storage so as to be readable when the object is redisplayed The information processing apparatus according to any one of claims 1 to 4.
前記オブジェクトはデータグリッドであり、前記表示状態の情報は当該データグリッドのスタイル情報であることを特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the object is a data grid, and the display state information is style information of the data grid. Webシステムで実行するプログラムを生成する情報処理装置の処理方法であって、
前記Webシステムで用いるクライアント装置で表示する画面に対応する入出力定義を設定する設定ステップと、
前記設定ステップにより設定された入出力定義であって、クライアント装置で表示した画面で状態変更が可能なオブジェクトを示す定義を特定する特定ステップと、
前記特定ステップにより特定された前記状態変更が可能なオブジェクトを示す定義に対応するオブジェクトであってクライアント装置で表示した画面のオブジェクトで変更された表示状態の情報を取得し、前記クライアント装置のストレージへ当該表示状態の情報を記憶し、前記オブジェクトの再表示時に前記記憶された表示状態の情報を用いてオブジェクト表示させる制御情報を含むプログラムを生成する生成ステップとを含み、
前記生成ステップは、記オブジェクトに対応して設定された記憶タイミングであって、状態変更されたオブジェクトの表示状態の情報の記憶タイミングで、前記クライアント装置のストレージへ表示状態の情報を記憶する制御情報を生成することを特徴とする処理方法。
A processing method of an information processing apparatus for generating a program to be executed on a Web system,
A setting step for setting an input / output definition corresponding to a screen displayed on a client device used in the Web system;
A specific step of identifying an input / output definition set by the setting step, the definition indicating an object whose state can be changed on a screen displayed on a client device;
Information on the display state changed by the object on the screen displayed on the client device corresponding to the definition indicating the object that can be changed in the state specified by the specifying step is acquired and stored in the storage of the client device Generating the program including control information for storing the information on the display state and displaying the object using the stored information on the display state when the object is displayed again;
It said generating step is a storage timing set in correspondence with the previous SL object, a storage timing of the display state of the state changed object information, control for storing the information display state to the storage of the client device A processing method characterized by generating information.
Webシステムで実行するプログラムデータを生成する情報処理装置のプログラムであって、
前記情報処理装置を、
前記Webシステムで用いるクライアント装置で表示する画面に対応する入出力定義を設定する設定手段と、
前記設定手段により設定された入出力定義であって、クライアント装置で表示した画面で状態変更が可能なオブジェクトを示す定義を特定する特定手段と、
前記特定手段により特定された前記状態変更が可能なオブジェクトを示す定義に対応するオブジェクトであってクライアント装置で表示した画面のオブジェクトで変更された表示状態の情報を取得し、前記クライアント装置のストレージへ当該表示状態の情報を記憶し、前記オブジェクトの再表示時に前記記憶された表示状態の情報を用いてオブジェクト表示させる制御情報を含むプログラムデータを生成する生成手段と
として機能させ、
前記生成手段は、記オブジェクトに対応して設定された記憶タイミングであって、状態変更されたオブジェクトの表示状態の情報の記憶タイミングで、前記クライアント装置のストレージへ表示状態の情報を記憶する制御情報を生成することを特徴とするプログラム。
A program for an information processing apparatus that generates program data to be executed by a Web system,
The information processing apparatus;
Setting means for setting an input / output definition corresponding to a screen displayed on a client device used in the Web system;
An input / output definition set by the setting means, a specifying means for specifying a definition indicating an object whose state can be changed on a screen displayed on a client device;
The object corresponding to the definition indicating the object whose state can be changed specified by the specifying unit is acquired, and the information of the display state changed by the object of the screen displayed on the client device is acquired and stored in the storage of the client device Storing the information of the display state, and functioning as a generation unit that generates program data including control information for displaying the object using the stored display state information when the object is redisplayed;
It said generating means is a memory timing set in correspondence with the previous SL object, a storage timing of the display state of the state changed object information, control for storing the information display state to the storage of the client device A program characterized by generating information.
JP2017067004A 2016-06-30 2017-03-30 Information processing apparatus, processing method thereof, and program Active JP6361770B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016130889 2016-06-30
JP2016130889 2016-06-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017225369A Division JP6845437B2 (en) 2016-06-30 2017-11-24 Information processing device and its processing method and program

Publications (2)

Publication Number Publication Date
JP2018010616A JP2018010616A (en) 2018-01-18
JP6361770B2 true JP6361770B2 (en) 2018-07-25

Family

ID=60994432

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2017067004A Active JP6361770B2 (en) 2016-06-30 2017-03-30 Information processing apparatus, processing method thereof, and program
JP2017225369A Active JP6845437B2 (en) 2016-06-30 2017-11-24 Information processing device and its processing method and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2017225369A Active JP6845437B2 (en) 2016-06-30 2017-11-24 Information processing device and its processing method and program

Country Status (1)

Country Link
JP (2) JP6361770B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310605A (en) * 2007-06-14 2008-12-25 Canon Software Inc Information processor, information processing method, program, and recording medium
JP2012008735A (en) * 2010-06-23 2012-01-12 Canon It Solutions Inc Information processor, information processing method and program
JP5418539B2 (en) * 2011-04-28 2014-02-19 キヤノンマーケティングジャパン株式会社 Information processing system, information processing method thereof, program thereof, information processing apparatus, information processing method thereof, program thereof, developer terminal, information processing method thereof, program thereof
JP5727413B2 (en) * 2012-05-08 2015-06-03 株式会社野村総合研究所 Application development support system and application development support program
JP2016009423A (en) * 2014-06-26 2016-01-18 キヤノンマーケティングジャパン株式会社 Information processing device, method for controlling information processing device, and program
JP2016033709A (en) * 2014-07-31 2016-03-10 キヤノンマーケティングジャパン株式会社 Information processor, control method and program of the same
JP2016091244A (en) * 2014-10-31 2016-05-23 富士通エフ・アイ・ピー株式会社 Information processing device and program

Also Published As

Publication number Publication date
JP6845437B2 (en) 2021-03-17
JP2018010616A (en) 2018-01-18
JP2018028948A (en) 2018-02-22

Similar Documents

Publication Publication Date Title
US9575950B2 (en) Systems and methods for managing spreadsheet models
JP5984215B2 (en) Dynamic manual creation device and method, and computer program
CN103098005A (en) Visualizing expressions for dynamic analytics
JP2022022451A (en) Server, information processing apparatus, processing method, and program
JP6558358B2 (en) Server, information processing apparatus, processing method, and program
JP6361770B2 (en) Information processing apparatus, processing method thereof, and program
JP6795767B2 (en) Information processing device and its processing method and program
US10310958B2 (en) Recording medium recording analysis program, analysis method, and analysis apparatus
JP6304433B2 (en) Information processing apparatus, server, processing method thereof, and program
JP2008140190A (en) Program, apparatus and method for automatically generating screen configurations
JP6836077B2 (en) Information processing device and its processing method and program
US10354008B2 (en) System and method for providing a visual scroll representation of production data
JP6795766B2 (en) Information processing device and its processing method and program
JP6338935B2 (en) Web page providing system, web page providing method, program, and communication apparatus
Campos-López et al. Towards automating the construction of augmented reality interfaces for information systems
JP2018147511A (en) Web page providing system, web page providing method, program, communication apparatus, and web page display method
JP5954309B2 (en) Program generation support apparatus, program generation support method, and program
JP6989769B2 (en) Information processing systems, information processing system control methods, and programs
JP6700559B2 (en) Information processing apparatus, processing method thereof, and program
JP6756967B2 (en) Information processing device and its processing method and program
JP2017010101A (en) Page recording and task management device and object management device
JP6056689B2 (en) Information processing apparatus, processing method thereof, and program
JP2021015645A (en) Information processing apparatus, processing method thereof, and program
JP2023181435A (en) Information processing apparatus, information processing method, and program
JP2015069247A (en) Information processing apparatus, control method for information processing apparatus, and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180320

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180516

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180529

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180611

R150 Certificate of patent or registration of utility model

Ref document number: 6361770

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250