JP6361770B2 - Information processing apparatus, processing method thereof, and program - Google Patents
Information processing apparatus, processing method thereof, and program Download PDFInfo
- 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
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.
しかしながら、ハンズオンテーブルの技術では、スタイルの変更は一時的なものであり、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.
以下、本発明の実施の形態を、図面を参照して詳細に説明する。 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
なお、この実施形態においては、プログラム開発装置101で生成するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用したアプリケーションでなくてもよい。
In this embodiment, the application generated by the
プログラム開発サーバ102a〜102b(情報処理装置)は、プログラム開発装置101により入力された開発者の指示に従って、プログラムを開発する。プログラム開発サーバ102aはLANなどのネットワーク106内に配置されてもよいし、プログラム開発サーバ102bはインターネット上やクラウド上に配置されてもよい。
The
データベースサーバ103a〜103b(情報処理装置)は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、開発者が利用するためにデータベースサーバ103は、プログラム開発装置101と同一の装置で構成されていてもよいし、LANなどのネットワーク106内に配置されてもよい(データベースサーバ103a)。またインターネット上やクラウド上に配置されてもよい(データベースサーバ103b)。また、プログラム開発装置101が、プログラム開発サーバ102と協調する場合には、プログラム開発サーバ102とデータベースサーバ103が同一の装置内に構成されていてもよい。
The
アプリケーションサーバ105a〜105b(情報処理装置)は、プログラム開発装置101で開発されたアプリケーションを実行する。LANなどのネットワーク106内に配置されてもよい(アプリケーションサーバ105a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションサーバ105b)。また、ネットワーク106、インターネット、クラウド上のデータベースサーバ103と接続して動作する可能である。
アプリケーションクライアント104a〜104b(情報処理装置)は、アプリケーションサーバ105と協調してプログラム開発装置101で開発したアプリケーションプログラムを動作させる、ユーザの入力端末である。LANなどのネットワーク106内に配置されてもよい(アプリケーションクライアント104a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションクライアント104b)。携帯端末などの情報処理装置であってもよい。
The
図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
In FIG. 2, the
また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。
RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。
The
The
入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。
The
The
外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。加えて、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。
The
The communication I /
本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
A
次に本実施形態における基本の処理について、図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
リポジトリ定義部400は、データベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を備える。これらのファイルは、Webアプリケーション開発ツールを介して開発者によって入力され、作成される。
The
すなわち、リポジトリ定義部400は、プログラムへ引数として入力される項目を定義する入力定義情報と、プログラムから処理結果として出力する項目を定義する出力定義情報とを入出力定義情報として管理している。
That is, the
次に、Webアプリケーションコード生成部420について説明する。Webアプリケーションコード生成部420で生成された情報は、外部メモリ211に記憶される。
Next, the web application
リポジトリ定義解析部421は、リポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を読み込み解析する。
The repository
Webアプリケーションコード生成部422は、外部メモリ211に記憶されているコード生成ルールと、リポジトリ定義解析部421によって解析された内容とを用いて、ソースコード(JSP)を生成する。このソースコードを取り込みソースコードコンパイル部440でコンパイルされたファイルを生成する。そしてソースコードコンパイル部440がコンパイルされたファイルをアプリケーションサーバへデプロイする。デプロイする際に、図4の471〜484の関連ファイルも合わせてデプロイされる。なお、ソースコード、コンパイルされたファイル、デプロイされたデータを総称してプログラムデータともいう。
The Web application
より詳細には、生成されるソースコードは、大きくサーバ用(例えば、サーバ処理部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
また、サーバ用は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
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
The
Webアプリケーション451は、データグリッド機能を含む、Web用のサーバアプリケーションである。このWebアプリケーション451は、図3のWebアプリケーションコード生成部422で生成されたソースコードや各種ファイルをまとめたファイルである。
The
Webアプリケーション451はサーバ処理部460とクライアント処理部470に分かれている。サーバ処理部460とクライアント処理部470それぞれについて、図4を用いて説明する。
The
図4は、Webアプリケーションコード生成部422で生成されたWebアプリケーション451を説明する構成図である。アプリケーションサーバ105にデプロイした状態の図として説明するが、サーバ処理部460とクライアント処理部470は、プログラム自動生成するプログラム開発装置101で生成してできたファイル群(プログラム開発装置101上に存在するファイル)に置き換えることも可能である。
FIG. 4 is a configuration diagram illustrating the
サーバ処理部460は、サーバ側で動作する機能部であり、データ処理部461によりクライアントからの要求を処理する。具体的には、データベースと通信しデータの検索要求や登録要求などに基づき、データの取得や更新を行う。
The server processing unit 460 is a functional unit that operates on the server side, and the
クライアント処理部470は、実行時にクライアント(アプリケーションクライアント104)のブラウザを介してダウンロードするものであり、クライアント側の処理を実現させるファイル群(スクリプトが記述されたファイルがインクルードされたHTMLファイル)である。具体的には、クライアントから所定のURLが指定されることにより、データグリッド用JSP471に基づくHTML形式のWeb画面、データグリッド用CSS472、データグリッド部品481、データグリッドデフォルトスタイル482、データグリッドデータ制御部483、データグリッドスタイル制御部484をクライアントに送信する。
The
以下、データグリッド用JSP471、データグリッド用CSS472、データグリッド部品481、データグリッドデフォルトスタイル482、データグリッドデータ制御部483、データグリッドスタイル制御部484について説明する。
The
データグリッド用JSP471は、グリッドを表示することが可能なHTMLを含むJSPファイルであり、JSPの実行時に動的にデータをHTMLに含め、クライアントにダウンロードさせ、表示させるものである。データグリッド用JSP471には、グリッドの位置を示す情報や、図15で設定した画面部品の情報が記述される。
The
このデータグリッド用JSP471は、データグリッド用CSS472、データグリッド部品481、データグリッドデフォルトスタイル482、データグリッドデータ制御部483、データグリッドスタイル制御部484をインクルードしたファイルである。
データグリッド用CSS472は、グリッドの色や文字の大きさなどの情報を含んでいるファイルである。
JavaScript(登録商標)ファイル480は、グリッドに関連する制御を行うJavaScript(登録商標)ファイル群である。
The
The
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
データグリッドデフォルトスタイル482は、データグリッドの初期表示用のスタイル情報のファイルである。このスタイル情報は、アプリケーション生成部410がユーザの設定に応じてグリッド表示に適用させる情報であり、アプリケーション生成部410で生成されるファイルである。データグリッドデフォルトスタイルの例が、図10の1000である。各列の項目名と順番が記述されている。図15でグリッドにデータモデルを設定した際に列名に設定された値に従って、アプリケーション生成部410が生成する。
The data
データグリッドデータ制御部483は、グリッド(表形式のセル)へデータを設定したり、グリッドからデータを取得したりする制御を記載したファイルである。データグリッドデータ制御部483は、データグリッド部品に対して、データを渡したり、データをアプリケーションサーバに送信する役割を担うものである。
The data grid
データグリッドスタイル制御部484は、Webストレージ491からスタイル情報を取得して、グリッドのスタイル情報に設定したり、ユーザの操作により変更されたグリッドからスタイル情報を取得し、Webストレージ491へスタイル情報を設定(保存)したりする制御ファイルである。スタイル情報には、「行/列の幅/高さの変更」「ある行/列を固定して、他をスクロール」「行/列の非表示、再表示」「行/列の入れ替え」を制御するための情報が含まれている。
The data grid
ブラウザ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
Webストレージ491は、情報を格納しておくための、ブラウザの機能である。アプリケーションクライアント104のハードディスクにグリッドのスタイル情報を格納している。Webストレージに記憶されている情報の一例を示す図は図13である。Webストレージには、項目名と項目の順番(表示順)なども記憶されている。
The
図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
ステップ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
ステップS502において、プログラム開発装置101は、データモデル定義403を生成する。生成されたデータモデル定義403は、リポジトリ定義部400として登録される。具体的には、データモデル設定画面(不図示)でデータベース上の項目をマッピングする。一般的には、1テーブル1データモデルが作成される。データモデル定義の作成はWebアプリケーションの開発において既知の技術であるため説明を省略する。
In step S502, the
ステップS503において、プログラム開発装置101は、入出力定義404を生成する。生成された入出力定義404は、リポジトリ定義部400として登録される。具体的には、図6の入出力定義画面でWeb画面のグリッド定義を行う。
In step S503, the
具体的には、まず、画面レイアウト設定画面(図15)上で、画面エディタ上にグリッドの部品1501をドラッグアンドドロップ操作等により配置する。すなわち、グリッドオブジェクトを配置する配置処理の一例を示すものである。
Specifically, first, on the screen layout setting screen (FIG. 15), the
グリッドの部品を配置したタイミングでは、単なる格子状のグリッドが表示されるため、この表にどのデータモデルのどの項目を表示させるかを設定する。この項目の設定も図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,
このグリッドで各列の定義情報610が、定義情報601の下に設定される。レベル611によって、定義情報601の配下の定義情報と判定できるようになっている。定義情報601はレベル「1」、定義情報610はレベル「2」。
次に、601の定義情報を選択すると、入出力項目プロパティが表示され、603にはグループタイプ(種別)が「DATAGRID」が設定される。
In this grid, the
Next, when the
ここで、グループタイプ(種別)について、より詳細に説明する。
グループタイプ(種別)は、「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
ステップS505において、プログラム開発装置101は、外部メモリ211に記憶されているリポジトリ定義部400のデータベース定義401をRAM202に読み込む。データベース定義401は予め生成されているものとする。
In step S <b> 505, the
ステップS506において、プログラム開発装置101は、設定・読み込みしたリポジトリ定義部400の各定義・各ファイルから情報を取得し、サーバ処理部のソースコードを生成する。具体的には、「データモデル定義」「ビジネスプロセス定義」に基づき、サーバ処理部460を生成する。
In step S506, the
ステップS507において、プログラム開発装置101は、設定・読み込みしたリポジトリ定義部400の各定義・各ファイルから情報を取得し、クライアント処理部のソースコードを生成する。具体的には、「入出力定義」に基づき、クライアント処理部を生成する。入出力定義には、後述する図15の画面設定の情報も含むものとする。
In step S507, the
なお、生成されたソースコードにはプログラミング言語が記載されたファイル(例えば、データグリッド用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
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
ステップS512では、データグリッド用CSS472を作成する。具体的にはグリッドのヘッダー(1行目)の色、フォント情報が記述されている。本実施形態では、アプリケーション生成部410が予め有している固定値を用いるものとするが、ユーザが任意に設定することも可能である。CSSファイル内に記載されている情報について、CSSファイルは既知の技術であるため詳細な説明を省略する。
In step S512, a
ステップS513では、データグリッド部品481を複製する。これは、アプリケーション生成部410が予め有しているデータグリッド部品を用いて、プログラムを生成するためである。なお、他のファイルは、設定された定義情報に基づいて、新たなファイル(例えば、482〜484)を作っているため、ここではデータグリッド部品を複製する。
In step S513, the
ステップS514では、データグリッドデフォルトスタイル482を生成する。上述したように、デフォルトスタイルの一例は、図10の1000であり各列の項目名と順番(項目名の並び順が項目名の表示順となる)を示すように記載されている。なお、図15の列名を設定した情報を基にデフォルトスタイルが決定される。グリッドのセルの幅はデータグリッド部品481が自動で決定するものとする。すなわち、データグリッドデフォルトスタイル482を利用した場合には、データグリッド部品481が項目名を表示する際に幅を決定して表示するものとする。
In step S514, a data
ステップS515では、データグリッドデータ制御部483を生成する。具体的には、入出力定義の定義情報(601、610)に従って、グリッド(表形式のセル)へデータを設定したり、グリッドからデータを取得したりする制御をするソースコードを生成する。データグリッドデータ制御部483は、データグリッド部品に対して、データを渡したり、データをアプリケーションサーバに送信する役割を担うものである。
In step S515, the data grid
生成されたソースコードの一例を示す図が、図11の1100である。1101は、グリッドに表示されるデータを示すものであり、予めデータベースより取得したすべてのデータを含むソースコードが出力される。
An example of the generated source code is 1100 in FIG.
1102は、グリッドの実体を生成するための制御のソースコードである。「var _container = $(#g);」によりJSPファイルに記述されたグリッドの位置を取得した後、ハンズオン(データグリッド部品)を呼び出して、グリッドの設定(例えば列の順番など)をする制御のソースコードになっている。
1103は、生成したグリッドに1101のデータを表示させるために、ハンズオン(データグリッド部品)に対して1101を読み込むようにする制御のソースコードになっている。
ステップS516では、データグリッドスタイル制御部484を生成する。具体的には、Webストレージ491からスタイル情報を取得して、グリッドのスタイル情報に設定したり、ユーザの操作により変更されたグリッドからスタイル情報を取得し、Webストレージ491へスタイル情報を設定(保存)したりする制御のソースコードを出力する。なお、生成されたソースコードは、Webストレージにレイアウト情報が保存されているか否かを判断するソースコードも含まれる。
生成されたソースコードの一例を示す図が、図12の1200、図14の1400である。
In step S516, the data grid
An example of the generated source code is 1200 in FIG. 12 and 1400 in FIG.
図12の1200は、Webストレージからスタイル情報を読み出し、グリッドにスタイル情報を設定する制御のソースコードを示している。
1201は、Webストレージから操作されたグリッドに対応するスタイル情報(例えば、各列の幅など)を取得する制御のソースコードである。
1202は、1201で取得したスタイル情報をグリッドに設定するため、ハンズオン(データグリッド部品)に対してスタイル情報を設定する(渡す)制御のソースコードである。
1203は、Webストレージを操作する制御の関数であり、ブラウザの関数を用いて、Webストレージの情報の取得要求を行うソースコードである。
図14の1400は、Webストレージにスタイル情報を書き出すソースコードを示している。Webストレージにスタイル情報を書き出すタイミングは、図6の604で設定されたタイミングである。グリッドへの変更操作があったタイミングでスタイル情報を保存する設定がされた場合には、ハンズオン(データグリッド部品)からイベントを取得して実行される。
1401は、設定された保存タイミングで、ハンズオン(データグリッド部品)からグリッドに対応するスタイル情報(例えば、各列の幅など)を取得し、Webストレージに保存する制御のソースコードである。
1402は、Webストレージを操作する制御の関数であり、ブラウザの関数を用いて、Webストレージへ情報を書き込みするソースコードである。
なお、Webストレージのスタイル情報を破棄(削除)する場合のソースコードは、1400に記載されるものとする。
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 /
ステップ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
次に図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
まず、ブラウザを介し、ユーザの操作に応じて指定された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
ステップS701では、データグリッドデータ制御部483が、グリッドに配置するデータを取得し、データグリッド部品481に渡すことで、グリッドにデータを設定する。設定するデータは、図11の1101のデータを用いるものとするが、ユーザ操作による検索に応じたデータをデータベースから取得して表示してもよいし、初期表示はデータを表示しないようにしてもよい。
In step S701, the data grid
ステップS702では、データグリッドスタイル制御部484が、表示されるグリッドに対応するスタイル情報がWebストレージ491に保存されているか否かを判定する。具体的には、グリッドごとにグリッドの識別情報を有しており、このグリッドの識別情報を基に、Webストレージ491を検索して、対応するスタイル情報を特定する。グリッドの識別情報は、グリッド名やグリッドID、画面名など識別できるものであれば何れであってもよい。
In step S702, the data grid
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
グリッドに対応するスタイル情報が有る場合には、ステップ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
ステップS704では、データグリッドスタイル制御部484は、読み込んだスタイル情報をデータグリッドに設定する。具体的には、データグリッド部品481に取得したスタイル情報を渡し、スタイル情報を変更したグリッドが表示される。変更されたスタイル情報で表示されたグリッドの例が、図9の900である。900は変更後のレイアウト情報を読み出して設定した例であり、具体的には「顧客名」列の幅を広げている。また、「ふりがな」列を先頭に移動している。「顧客ID」列を固定している。「メールアドレス」列を非表示としている。
In step S704, the data grid
ステップS705では、データグリッドスタイル制御部484が、データグリッドデフォルトスタイル482を取得して、データグリッドデフォルトスタイル482から取得した情報をデータグリッドに設定する。具体的には、データグリッド部品481に設定する情報を渡す。デフォルトで表示されたグリッドの例が、図8の800である。なお、列幅などは、データグリッド部品481が自動で決定するものとする。
In step S705, the data grid
ステップ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
ステップS707では、データグリッド部品481が、グリッドへの操作イベント(例えば、列幅の変更、列の非表示、列順の変更など)が発生したことを検知して、データグリッドスタイル制御部484へ渡す。これにより所定の操作イベントが発生したか否かを判定する。グリッドへの操作イベントが発生した場合には、ステップS708へ処理を移す。操作イベントが発生していない場合には、ステップS712へ処理を移す。
In step S707, the
ステップS708では、データグリッドスタイル制御部484が、操作イベントが、保存タイミング604で設定された保存対象のタイミングかどうか判定する。この保存タイミングはデータグリッドスタイル制御部484に保存されている。例えば、ユーザが列の幅を変更した場合、列の幅情報が保存対象で、かつ、保存タイミングが「操作毎」となっていれば、「YES」と判定され、ステップS709へ処理を移す。
なお、本実施形態では、保存タイミングは変更した場合に保存するように説明しているが、一定間隔でデータグリッドのスタイルを取得して保存させる制御であってもよい。この場合、変更されていない場合でもWebストレージに保存されるが、いずれかのタイミングで変更されたスタイルが取得され、Webストレージに保存される構成であるため、一定間隔でスタイルを取得して保存させる制御についても本実施形態における効果を得られることは言うまでもない。
In step S708, the data grid
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
ステップS710では、データグリッドスタイル制御部484が、操作イベントが、破棄タイミング606で設定された破棄のタイミングかどうか判定する。この破棄タイミングはデータグリッドスタイル制御部484に保存されている。破棄のタイミングであれば、ステップS711へ処理を移す。破棄のタイミングでなければ、ステップS712へ処理を移す。破棄タイミング606が「NEVER」であれば、破棄しない設定であるため、ステップS712へ処理を移す。
In step S <b> 710, the data grid
ステップS711では、グリッドの識別情報に基づき、Webストレージ491から削除する。なおグリッド単位で削除してもよいし、画面単位で削除してもよいし、ブラウザ単位で削除してもよい。
In step S711, the
ステップ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アプリケーションを生成し構築するシステムとして説明したが、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
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
The
生成部1603は、設定された入出力定義にグリッドを示す定義があると判定された場合に、前記グリッドが操作され変更されたグリッドのスタイル情報(変更されたオブジェクトの表示状態の情報)を取得し、前記クライアント装置のWebストレージへ当該スタイル情報を記憶する制御情報を含むプログラムを生成する機能部である。
When it is determined that the set input / output definition includes a definition indicating a grid, the
また、クライアント装置において前記画面でグリッドを再表示する場合に、前記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
The data
The definition
タイミング設定部1607は、グリッドが操作され変更されたグリッドのスタイル情報の記憶タイミングを、前記グリッドを示す定義情報に設定する機能部である。
記憶部1608は、グリッド制御部品を記憶する機能部である。
以上、本実施形態の詳細な説明を終了する。
The
The
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
ステップS1701は、ステップS503と同様の処理で、プログラム開発装置101は、入出力定義404を生成する。生成された入出力定義404は、リポジトリ定義部400として登録される。本実施形態では、図19の入出力定義画面でWeb画面のグリッド定義を行う。ここで、1801でデータグリッドにおいて、データが変更され、このデータをWebストレージに保存するか否かを設定することができる。「ON」に設定すると、変更されたデータがWebストレージに保存やWebストレージからデータを取得するソースコードが生成される。
Step S1701 is the same processing as step S503, and the
「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
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
ステップ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
ステップ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
ステップ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
ステップS1801では、データグリッドスタイル制御部484又はデータグリッドデータ制御部が、表示されるグリッドに対応するスタイル情報又はデータがWebストレージ491に保存されているか否かを判定する。具体的には、グリッドごとにグリッドの識別情報を有しており、このグリッドの識別情報を基に、Webストレージ491を検索して、対応するスタイル情報を特定する。グリッドの識別情報は、グリッド名やグリッドID、画面名など識別できるものであれば何れであってもよい。
In step S1801, the data grid
グリッドに対応するスタイル情報又はデータが有る場合には、ステップ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
ステップS1803では、データグリッドスタイル制御部484は、読み込んだスタイル情報をデータグリッドに設定する。具体的には、データグリッド部品481に取得したスタイル情報を渡し、スタイル情報を変更したグリッドが表示される。変更されたスタイル情報で表示されたグリッドの例が、図9の900である。900は変更後のレイアウト情報を読み出して設定した例であり、具体的には「顧客名」列の幅を広げている。また、「ふりがな」列を先頭に移動している。「顧客ID」列を固定している。「メールアドレス」列を非表示としている。
In step S1803, the data grid
また、データグリッドデータ制御部は、読み込んだデータをデータグリッドに設定する。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
ステップS707、ステップS708、ステップS710の処理における、データグリッドスタイル制御部484は、データグリッドデータ制御部に置き換えるものとし、データの変更については、データグリッドデータ制御部により保存タイミング、破棄タイミングを判定する。
The data grid
ステップS1804では、データグリッドスタイル制御部484が、操作により変更されたスタイル情報をデータグリッド部品481から取得し、Webストレージ491へスタイル情報をグリッドの識別情報と対応付けて保存する。保存する際には、保存単位604で設定された保存の単位ごとに保存処理を行う。ブラウザ単位の場合、そのブラウザでのスタイル情報として管理する。
In step S1804, the data grid
また、データグリッドデータ制御部が、操作により変更されたデータをデータグリッド部品481から取得し、Webストレージ491へデータとデータグリッドの位置とをグリッドの識別情報と対応付けて保存する。
In addition, the data grid data control unit acquires the data changed by the operation from the
ステップS1805では、グリッドの識別情報に基づき、スタイル情報又はデータをWebストレージ491から削除する。なおグリッド単位で削除してもよいし、画面単位で削除してもよいし、ブラウザ単位で削除してもよい。
なお、破棄タイミングは、アプリケーションクライアント104のブラウザを操作しているユーザにより決定させる形態であってもよい。例えば、データグリッド上で右クリックし、メニューを表示させ、メニューからデータグリッドクリア(初期に戻す)をすると、Webストレージからスタイル情報やデータを削除し、リロードする。
In step S1805, the style information or data is deleted from the
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
202 RAM
211 External memory
Claims (8)
前記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又は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.
前記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システムで用いるクライアント装置で表示する画面に対応する入出力定義を設定する設定手段と、
前記設定手段により設定された入出力定義であって、クライアント装置で表示した画面で状態変更が可能なオブジェクトを示す定義を特定する特定手段と、
前記特定手段により特定された前記状態変更が可能なオブジェクトを示す定義に対応するオブジェクトであってクライアント装置で表示した画面のオブジェクトで変更された表示状態の情報を取得し、前記クライアント装置のストレージへ当該表示状態の情報を記憶し、前記オブジェクトの再表示時に前記記憶された表示状態の情報を用いてオブジェクト表示させる制御情報を含むプログラムデータを生成する生成手段と
として機能させ、
前記生成手段は、前記オブジェクトに対応して設定された記憶タイミングであって、状態変更されたオブジェクトの表示状態の情報の記憶タイミングで、前記クライアント装置のストレージへ表示状態の情報を記憶する制御情報を生成することを特徴とするプログラム。 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.
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)
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 |
-
2017
- 2017-03-30 JP JP2017067004A patent/JP6361770B2/en active Active
- 2017-11-24 JP JP2017225369A patent/JP6845437B2/en active Active
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 |