JP6318261B2 - Web server system - Google Patents
Web server system Download PDFInfo
- Publication number
- JP6318261B2 JP6318261B2 JP2016553778A JP2016553778A JP6318261B2 JP 6318261 B2 JP6318261 B2 JP 6318261B2 JP 2016553778 A JP2016553778 A JP 2016553778A JP 2016553778 A JP2016553778 A JP 2016553778A JP 6318261 B2 JP6318261 B2 JP 6318261B2
- Authority
- JP
- Japan
- Prior art keywords
- layout
- screen
- component
- template
- area
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Description
本発明は、Webアプリケーションの開発技術に関し、特に、マルチデバイスに対応した画面表示を行うWebアプリケーションを実行するWebサーバシステムに適用して有効な技術に関するものである。 The present invention relates to a web application development technique, and more particularly to a technique that is effective when applied to a web server system that executes a web application that displays a screen corresponding to a multi-device.
近年、例えば、タブレット端末やスマートフォンなどのいわゆるスマートデバイスの業務活用が本格化しており、企業の基幹システムと連携するような中・大規模なシステムの開発案件も増える傾向にある。このような状況で、ユーザ企業の要件は複雑となり、ITベンダー等の開発者にとって開発難易度も高くなってきていることから、開発の効率化を図って生産性を向上させることが重要となる。 In recent years, for example, business utilization of so-called smart devices such as tablet terminals and smartphones has become full-fledged, and there is a tendency to increase the number of medium- and large-scale system development projects that are linked with a company's core system. Under these circumstances, the requirements of user companies have become complex, and the level of development difficulty has become higher for developers such as IT vendors. Therefore, it is important to improve the efficiency of development and improve productivity. .
この点につき、例えば、ソースコードなどの開発成果物における共通部分・汎用部分の部品化や、開発時の部品の再利用を推進することが効果的である。さらに、マルチデバイスやマルチプラットフォーム(以下では単に「マルチデバイス」と総称する場合がある)対応を行うことで、デバイスやプラットフォーム毎の個別の開発部分を低減させることも有効である。 In this regard, for example, it is effective to promote common parts / general parts in development products such as source code and reuse of parts during development. Furthermore, it is also effective to reduce individual development portions for each device and platform by supporting multi-devices and multi-platforms (hereinafter sometimes simply referred to as “multi-devices”).
これに関連して、例えば、特開2013−235387号公報(特許文献1)には、入出力項目を表示するためのコントロールの外観や属性、制御処理などを含むユーザインタフェースを、デバイスに応じてソースコードを変更することなく動的に変更するWebサーバシステムが記載されている。当該システムは、例えば、クライアント端末からの要求に基づいて、クライアント端末のデバイスの種類に係る情報を取得するデバイス取得部と、ソースコードに含まれるパーツオブジェクトについて、デバイス取得部により取得したクライアント端末のデバイスの種類に応じた、パーツオブジェクトの承継元の上位クラスに実装された、コントロールを表示する際の調整内容に基づいて、クライアント端末の画面上に対応するコントロールを表示させるHTMLデータを生成する応答処理部とを有する。 In relation to this, for example, Japanese Patent Laid-Open No. 2013-235387 (Patent Document 1) discloses a user interface including the appearance and attributes of controls for displaying input / output items, control processing, and the like according to the device. A Web server system that dynamically changes without changing the source code is described. The system includes, for example, a device acquisition unit that acquires information related to a device type of the client terminal based on a request from the client terminal, and a client terminal acquired by the device acquisition unit for a part object included in the source code. Response that generates HTML data to display the corresponding control on the screen of the client terminal, based on the adjustment contents when displaying the control, implemented in the upper class of the inheritance source of the part object according to the device type And a processing unit.
例えば、特許文献1に記載されたような技術を用いることで、Webアプリケーションの開発に際して、部品(パーツオブジェクト)を再利用可能とするとともに、1つのソースコードでマルチデバイス対応をすることが可能となる。
For example, by using a technique as described in
しかしながら、実際は、1つのソースコードによるマルチデバイス対応といっても、例えば、ソースコード中でif文などによりデバイス毎に処理を書き分けることが必要となる場合もある。また、新たにデバイスが追加された場合にソースコードに処理を追記しなければならないなど、画面開発者にとって1つのソースコードによって完全なマルチデバイス対応をすることは困難である。 However, in fact, even if it is said that multiple devices are supported by one source code, it may be necessary to write processing for each device by using, for example, an if statement in the source code. In addition, when a new device is added, it is difficult for a screen developer to fully support multiple devices with a single source code, such as having to add processing to the source code.
また、マルチデバイス対応として、例えば、デバイスの画面サイズに応じてユーザインタフェースを切り替えることができる場合でも、実際は、ある画面において表示されるコントロールやパーツなどの大きさや表示形式、配置などを変更できるのみであり、複数画面の遷移を伴った変更を行うことは困難である。 Also, as a multi-device support, for example, even when the user interface can be switched according to the screen size of the device, the size, display format, arrangement, etc. of controls and parts displayed on a screen can actually be changed Therefore, it is difficult to make a change with a transition of a plurality of screens.
例えば、PC(Personal Computer)やタブレット端末に比べてスマートフォンの画面サイズは小さく、表示できる情報量に制約がある。そのため、例えば、メニューなどの一覧表示について、PCやタブレット端末では1つの画面に常時全て展開した状態で一覧表示するのに対し、スマートフォンでは、通常時はメニュー表示を指示するアイコン等のみを表示しておき、当該アイコン等を介してメニュー表示が指示された際に別画面としてメニュー一覧を表示する、というようなインタフェースが採用される場合がある。従来技術ではこれらの場合に1つのソースコードで各パターンに対応できるようにすることは困難である。 For example, the screen size of a smartphone is smaller than that of a PC (Personal Computer) or tablet terminal, and the amount of information that can be displayed is limited. Therefore, for example, with respect to list display of menus and the like, a list display is always performed on a single screen on a PC or tablet terminal, whereas a smartphone normally displays only icons or the like for instructing menu display. In some cases, an interface may be employed in which a menu list is displayed as a separate screen when a menu display is instructed via the icon or the like. In these cases, it is difficult for the conventional technology to deal with each pattern with one source code.
そこで本発明の目的は、Webアプリケーションの開発の際に、部品化された要素を再利用することで画面開発できるようにするとともに、デバイスによっては画面遷移を伴う場合でも、1つのソースコードによってマルチデバイス対応を可能とするWebサーバシステムを提供することにある。 Therefore, an object of the present invention is to enable screen development by reusing componentized components when developing a Web application, and depending on a device, even if screen transition is involved, a single source code can An object of the present invention is to provide a Web server system that enables device compatibility.
本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。 The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.
本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、以下のとおりである。 Of the inventions disclosed in this application, the outline of typical ones will be briefly described as follows.
本発明の代表的な実施の形態によるWebサーバシステムは、クライアント端末からのリクエストを受けて、ビジネスロジックを実行し、前記クライアント端末のデバイスの種類に応じた処理結果画面を応答するWebサーバシステムであって、以下の特徴を有するものである。 A Web server system according to a typical embodiment of the present invention is a Web server system that receives a request from a client terminal, executes business logic, and responds with a processing result screen corresponding to the type of device of the client terminal. Therefore, it has the following characteristics.
すなわち、Webサーバシステムは、1つ以上の画面パーツの組み合わせからなり、前記各画面パーツが画面表示される際の外観を前記デバイスの種類毎に規定した第1のテンプレートを有するコンポーネントと、前記処理結果画面上において前記コンポーネントが配置される1つ以上の領域の配置パターンからなり、前記各領域が画面表示される際の外観を前記デバイスの種類毎に規定した第2のテンプレートを有するレイアウトと、を有する。 That is, the Web server system is composed of a combination of one or more screen parts, the component having the first template that defines the appearance when each screen part is displayed on the screen for each type of device, and the processing A layout having a second template that defines an appearance when each of the areas is displayed on the screen, for each type of the device, including an arrangement pattern of one or more areas in which the components are arranged on the result screen; Have
さらに、前記処理結果画面に適用する前記レイアウトと、前記レイアウトに配置する前記コンポーネントを取得し、取得した前記コンポーネントに対して前記ビジネスロジックの実行により得られるデータを設定して、取得した前記レイアウトの所定の前記領域に配置されるよう位置指定するエディットビューを有する。また、前記エディットビューにより取得された前記レイアウトおよび前記コンポーネントの内容に基づいて、前記クライアント端末の前記デバイスの種類に対応した前記第2のテンプレートおよび前記第1のテンプレートによって規定される外観により前記処理結果画面を作成するコンポーネントビューを有する。 Further, the layout to be applied to the processing result screen and the component to be arranged in the layout are acquired, data obtained by executing the business logic is set for the acquired component, and the layout of the acquired layout It has an edit view for specifying a position so as to be arranged in a predetermined area. Further, based on the layout acquired by the edit view and the content of the component, the processing is performed according to the appearance defined by the second template and the first template corresponding to the device type of the client terminal. It has a component view that creates a result screen.
本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば以下のとおりである。 Among the inventions disclosed in the present application, effects obtained by typical ones will be briefly described as follows.
すなわち、本発明の代表的な実施の形態によれば、Webアプリケーションの開発の際に、部品化された要素を再利用することで画面開発できるようにするとともに、デバイスによっては画面遷移を伴う場合でも、1つのソースコードによってマルチデバイス対応をすることが可能となる。これにより、Webアプリケーションの画面開発の生産性や保守の効率性を大幅に向上させることが可能となる。 In other words, according to a typical embodiment of the present invention, when developing a Web application, it is possible to develop a screen by reusing componentized components, and depending on a device, a screen transition is involved. However, it is possible to support multiple devices with a single source code. As a result, it is possible to greatly improve the productivity of web application screen development and the efficiency of maintenance.
以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一部には原則として同一の符号を付し、その繰り返しの説明は省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.
<システム構成>
図1は、本発明の一実施の形態であるWebサーバシステムの構成例について概要を示した図である。本発明の一実施の形態であるWebサーバシステム100は、画面パーツをコンポーネント化してコンポーネント190の一覧として有するとともに、コンポーネント190が配置される1つ以上の画面領域からなるレイアウトのパターンとしてレイアウト180の一覧を有している。そして、各レイアウト180および各コンポーネント190は、それぞれ、デバイス毎に最適化された画面出力をするように作成されたテンプレートを有しており、Webサーバシステム100は、これらに基づいてデバイス毎に最適化された画面出力を自動的に行う。<System configuration>
FIG. 1 is a diagram showing an outline of a configuration example of a Web server system according to an embodiment of the present invention. The
Webサーバシステム100は、例えば、サーバ機器やクラウドコンピューティングサービス上に構築された仮想サーバからなるサーバシステムであり、例えば、図示しないOS(Operating System)や、Webサーバプログラム110、言語処理系120、フレームワーク130などのミドルウェアや基盤等の上で稼働する、もしくはこれらを利用するソフトウェアとして、MVC(Model View Controller)モデルによって開発、実装されたコントローラ140、モデル150、エディットビュー160、コンポーネントビュー170、レイアウト180およびコンポーネント190などの各部(モジュール)を有する。
The
Webサーバプログラム110としては、例えば、Apache(登録商標) HTTP Serverなど、Webサーバにおいて一般的に用いられているものを適宜用いることができる。また、Webサーバプログラム110上で稼働するアプリケーションシステムの基盤となる言語処理系120およびフレームワーク130としては、例えば、動的なWebページを作成するために用いられるPHPなどのスクリプト言語、およびPHPで実装されたZend Frameworkなどを適宜用いることができる。
As the
コントローラ140は、MVCモデルにおけるコントローラ(C)としての機能を有し、クライアント端末200上の図示しないWebブラウザ等からのリクエストを受けて、モデル150に対してデータの操作要求を行ってデータを取得したり、エディットビュー160に対して画面表示を要求したりする。モデル150は、MVCモデルにおけるモデル(M)としての機能を有し、ビジネスロジックを実行してデータの操作や取得を行う機能を有する。ビジネスロジック(BL)は、例えば、データベースなどを有する他のBLサーバ300に対して要求を行って実行させるようにしてもよい。
The
エディットビュー160およびコンポーネントビュー170は、MVCモデルにおけるビュー(V)としての機能を有し、モデル150のデータに基づいて画面生成を行って表示する機能を有する。エディットビュー160は、画面の構成を行う機能を有し、後述するように、画面において用いるレイアウト180を指定するとともに、レイアウト180によって表示される領域に配置するコンポーネント190をそれぞれ呼び出して設定を行う。コンポーネントビュー170は、このレイアウト180およびコンポーネント190の情報に基づいてレンダリングを行ってHTML(HyperText Markup Language)データを作成し、クライアント端末200に対して出力する。
The
このとき、コンポーネントビュー170は、後述するように、クライアント端末200のデバイスに応じてレイアウト180およびコンポーネント190に対して設定されている画面表示のためのWebテンプレートをテンプレートエンジン171により処理することで、対象のデバイスに最適化された画面出力を行う。
At this time, as described later, the
Webテンプレートは、図示するように、クライアント端末200の種別(PC、スマートフォン(スマホ)、タブレット端末)毎に、レイアウト180に対するものとして、それぞれ、テンプレート(PC用)181p、テンプレート(スマホ用)181s、テンプレート(タブレット用)181t(これらを総称してテンプレート181と記載する場合がある)、およびコンポーネント190に対するものとして、それぞれ、テンプレート(PC用)191p、テンプレート(スマホ用)191s、テンプレート(タブレット用)191t(これらを総称してテンプレート191と記載する場合がある)を有する。図1の例では、PC、スマートフォン、およびタブレット端末の別にテンプレート181および191を用意しているが、これに限らず、他のデバイスのものや、同じ種類でも画面サイズが異なったり、OSやWebブラウザが異なるデバイスのものを有していてもよい。
As shown in the figure, for each type of client terminal 200 (PC, smartphone (smartphone), tablet terminal), the web templates are for the
テンプレートエンジン171は、テンプレート181および191などのWebテンプレートに規定されたデザインや外観の内容に基づいて実際の画面を作成する機能を有する。なお、テンプレートエンジン171には、例えば、PHPにおいて主に用いられているSmartyなどの一般的なテンプレートエンジンを適宜用いることができる。
The
コントローラ140やコンポーネントビュー170は、Webサーバシステム100として汎用的に提供することができる。また、画面部品としてのレイアウト180やコンポーネント190(テンプレート181および191も含む)は、他の開発案件で作成されたものを再利用したり、対象の開発案件において予め作成されたものを用いたりすることができる。また、モデル150についても、対象の開発案件等において別途作成されたものを用いることができる。一方、エディットビュー160は、画面開発者がソースコードとして作成することになるが、デバイス毎の相違は、テンプレート181や191(およびテンプレートエンジン171)が吸収するため、画面開発者がデバイス毎の相違を意識することは不要である。
The
<レイアウトとコンポーネント>
図2は、本実施の形態におけるデバイス毎のレイアウトの相違の例について概要を示した図である。レイアウトとは、画面全体を1つ以上の領域に区分し、その領域の配置のパターンを指すものであり、図2(a)では、タブレット端末でのレイアウト、図2(b)では、スマートフォンでのレイアウトの例をそれぞれ示している。<Layout and components>
FIG. 2 is a diagram showing an outline of an example of a layout difference for each device in the present embodiment. The layout refers to the layout pattern of the entire screen divided into one or more areas. In FIG. 2A, the layout on the tablet terminal, and in FIG. 2B, the smartphone. Each of the layout examples is shown.
図2の例では、レイアウト180として「一覧、明細型レイアウト」を選択した場合を示しており、ヘッダ領域(ヘッダ領域401、411)およびフッタ領域(フッタ領域404、414)の他に、複数の項目を一覧表示する一覧領域(一覧領域402、412)と、その中から特定の項目を選択した際にその詳細な内容を表示するコンテンツ領域(コンテンツ領域403、413)とを有するレイアウトについて示している。
In the example of FIG. 2, a case where “list, detailed layout” is selected as the
図示するように、図2(a)のレイアウトでは、1つの画面内に4つの領域が全て配置されている。一方、図2(b)のレイアウトでは、左側の画面において一覧領域412が表示されている状態で、一覧領域412の中から特定の項目を選択すると、右側の画面に遷移して、一覧領域412に代って、選択された項目を表示するためのコンテンツ領域413が表示されることを示している。同一のレイアウト180におけるこのようなデバイス毎の相違は、上述したように、テンプレート181(この場合はテンプレート(タブレット用)181tおよびテンプレート(スマホ用)181s)に規定され、コンポーネントビュー170のテンプレートエンジン171によって実際の画面に反映される。
As shown in the figure, in the layout of FIG. 2A, all four areas are arranged in one screen. On the other hand, in the layout of FIG. 2B, when a specific item is selected from the
このように、画面上に表示される部品やコントロールの単位だけではなく、画面全体のレイアウト(画面遷移を伴うものも含む)の単位でも、レイアウト180およびテンプレート181によりデバイス毎の相違を吸収・隠蔽する。これにより、デバイスによっては画面遷移を伴うレイアウトを有しているような場合であっても、エディットビュー160についてはデバイスを意識することなく開発することができる。
In this way, the
図3は、本実施の形態におけるデバイス毎のレイアウトの相違の他の例について概要を示した図である。図2と同様に、図3(a)では、タブレット端末でのレイアウト、図3(b)では、スマートフォンでのレイアウトの例をそれぞれ示している。図3の例では、レイアウト180として「検索条件、結果表示型レイアウト」を選択した場合を示しており、ヘッダ領域(ヘッダ領域401、411)およびフッタ領域(フッタ領域404、414)の他に、検索の際の条件を入力、指定するパーツ等を表示する検索条件領域(検索条件領域405、415)と、その検索条件に基づく検索結果を表示する検索結果領域(検索結果領域406、416)とを有するレイアウトについて示している。
FIG. 3 is a diagram showing an outline of another example of a layout difference for each device in the present embodiment. Similar to FIG. 2, FIG. 3A shows an example of a layout on a tablet terminal, and FIG. 3B shows an example of a layout on a smartphone. In the example of FIG. 3, a case where “search condition, result display type layout” is selected as the
例えば、図3(a)と図2(a)において各領域の配置が異なるように、エディットビュー160において指定するレイアウト180を変更することで、コンポーネントビュー170のテンプレートエンジン171によって各領域のデザイン、外観を自動的に切り替えることができる。
For example, by changing the
図4は、本実施の形態におけるデバイス毎のコンポーネント表示の相違の例について概要を示した図である。図2と同様に、図4(a)では、タブレット端末でのレイアウト、図4(b)では、スマートフォンでのレイアウトの例を示しており、それぞれ、図2の例で示した「一覧、明細型レイアウト」において「メニュー」のコンポーネント190をヘッダ領域401、411に表示させた場合を示している。
FIG. 4 is a diagram showing an outline of an example of a difference in component display for each device in the present embodiment. As in FIG. 2, FIG. 4A shows an example of a layout on a tablet terminal, and FIG. 4B shows an example of a layout on a smartphone. The “list, details” shown in the example of FIG. In the “type layout”, the “menu”
図示するように、図4(a)のタブレット端末でのレイアウトでは、ヘッダ領域401に4つのメニューボタンが横並びに表示されている。一方、図4(b)のスマートフォンのレイアウトでは、左側の画面において、ヘッダ領域411にはメニューを表示させるアイコンのみが表示されており、このアイコンをタップすると右側の画面に遷移して、ヘッダ領域411が拡張され(ヘッダ領域411’)、この領域にメニューボタンが縦並びに表示されることを示している。同一のコンポーネント190におけるこのようなデバイス毎の相違は、レイアウト180の場合と同様に、テンプレート191(この場合はテンプレート(タブレット用)191tおよびテンプレート(スマホ用)191s)に規定され、コンポーネントビュー170のテンプレートエンジン171によって実際の画面に反映される。
As shown in the figure, in the layout of the tablet terminal of FIG. 4A, four menu buttons are displayed side by side in the
なお、本実施の形態におけるコンポーネント190は、1つの画面パーツやコントロールからなるものに限らず、図示するように、複数のパーツやコントロール(図4の例では4つのメニューボタン)の集合や組み合わせによって構成してもよい。
The
図5は、本実施の形態におけるデバイス毎のコンポーネント表示の相違の他の例について概要を示した図である。図3と同様に、図5(a)では、タブレット端末でのレイアウト、図5(b)では、スマートフォンでのレイアウトの例を示しており、それぞれ、図3の例で示した「検索条件、結果表示型レイアウト」において「検索結果一覧」のコンポーネント190を検索結果領域406、416に表示させた場合を示している。図示するように、図5(a)のタブレット端末でのレイアウトでは、検索結果領域406に検索結果一覧が表形式で表示されている。一方、図5(b)のスマートフォンのレイアウトでは、遷移した右側の画面の検索結果領域416に検索結果一覧がリスト形式で縦並びに表示されることを示している。
FIG. 5 is a diagram showing an outline of another example of the difference in component display for each device in the present embodiment. Similar to FIG. 3, FIG. 5A shows an example of layout on a tablet terminal, and FIG. 5B shows an example of layout on a smartphone. In the “result display type layout”, the “search result list”
<処理の流れ>
図6は、エディットビュー160での指定内容と、これに伴う画面表示時の処理の流れの例について概要を示した図である。上述したように、画面開発者は、ソースコードとして以下の処理を行うようなエディットビュー160を作成するが、その中では、デバイス毎の相違を意識することなくレイアウト180およびコンポーネント190を指定して配置、設定するだけでよい。デバイス毎に最適化された画面表示は、テンプレート181や191に規定された内容に基づいてコンポーネントビュー170(およびテンプレートエンジン171)が実行時に動的に行う。<Process flow>
FIG. 6 is a diagram showing an overview of the specification content in the
エディットビュー160では、まず、予め作成されているレイアウト180の一覧の中から、画面表示に用いるレイアウト180を取得する(S01)。この時点ではレイアウト180に設定された各領域にはまだ何も表示すべきコンポーネント190は配置されていない。次に、予め作成されているコンポーネント190の一覧の中から、ステップS01で取得したレイアウト180に配置する1つ以上のコンポーネント190を取得する(S02)。この時点ではまだコンポーネント190には表示すべきデータなどの設定は何もされていない。
In the
その後、ステップS190で取得した各コンポーネント190に対して、表示すべきデータとして、モデル150から取得したデータを設定する(S03)。なお、モデル150によるデータの取得は、コントローラ140を介した指示により実行される。次に、データを設定した各コンポーネント190を、ステップS01で取得したレイアウト180における適当な領域に配置されるよう位置指定する(S04)。そして、各コンポーネント190の配置位置を指定したレイアウト180をコンポーネントビュー170に渡して画面描画を指示する(S05)。
Thereafter, the data acquired from the
このとき、クライアント端末200のデバイスの種類に係る情報も併せてコンポーネントビュー170に渡す(もしくはコンポーネントビュー170自身がリクエストメッセージの内容から取得する)。デバイスの種類に係る情報は、例えば、クライアント端末200からのリクエストメッセージのUser−Agentヘッダから取得するなど、公知の技術により取得することができる。なお、ここでのデバイスの種類に係る情報には、機器の種別の他に、例えば、OS、Webブラウザやそのバージョン等の情報も含まれるものとする。
At this time, information related to the device type of the
コンポーネントビュー170では、渡されたレイアウト180および各コンポーネント190について、それぞれ、デバイスの種類に対応したテンプレート181および191を取得して、テンプレートに規定されているデザインに従ってデータを含めた画面描画を行う。例えば、各コンポーネント190については、デバイスの種類(図6の例ではスマートフォン)に対応したテンプレート(スマホ用)191sを取得して、これに規定されているデザインに基づいてデータを含めてコンポーネント190を画面描画する(図6の例では検索結果の一覧表示)。また、レイアウト180については、テンプレート181sを取得して、これに規定されているデザインに基づいて各領域を描画するとともに、指定された領域の位置に画面描画された各コンポーネント190を配置する(図6の例では検索結果領域416に検索結果の一覧表示を配置する)。
In the
以上に説明したように、本発明の一実施の形態であるWebサーバシステム100によれば、画面パーツをコンポーネント化するとともに、コンポーネント190が配置される1つ以上の領域からなるレイアウト180のパターンを有している。そして、各レイアウト180および各コンポーネント190は、それぞれ、デバイス毎に最適化された画面出力をするように作成されたテンプレート181、191を有しており、Webサーバシステム100は、これらのテンプレートを処理するテンプレートエンジン171を有するコンポーネントビュー170を備える。
As described above, according to the
これにより、画面のレイアウトおよびコンポーネントが部品化され、エディットビュー160のソースコードにおいてこれらを呼び出すことにより、デバイスに応じて最適化された画面表示を動的に行うことが可能となる。すなわち、画面開発者は、デバイス毎の相違を意識することなくエディットビュー160のソースコードを作成することができる。さらに、レイアウト180やコンポーネント190におけるデータの処理や振る舞いを制御する機能と、テンプレート181、191によって規定されるデザイン(HTMLやCSS(Cascading Style Sheets)など)とを分離することで、デザイナーによる開発成果物を画面パーツとして容易に取り込むことが可能となる。
As a result, the screen layout and components are converted into parts, and by calling these in the source code of the
以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は上記の実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。例えば、上記の実施の形態は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、上記の実施の形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。 As mentioned above, the invention made by the present inventor has been specifically described based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say. For example, the above-described embodiment has been described in detail for easy understanding of the present invention, and is not necessarily limited to the one having all the configurations described. In addition, it is possible to add, delete, and replace other configurations for a part of the configuration of the above-described embodiment.
本発明は、マルチデバイスに対応した画面表示を行うWebアプリケーションを実行するWebサーバシステムに利用可能である。 The present invention is applicable to a Web server system that executes a Web application that displays a screen corresponding to a multi-device.
100…Webサーバシステム、110…Webサーバプログラム、120…言語処理系、130…フレームワーク、140…コントローラ、150…モデル、160…エディットビュー、170…コンポーネントビュー、171…テンプレートエンジン、180…レイアウト、181p…テンプレート(PC用)、181s…テンプレート(スマホ用)、181t…テンプレート(タブレット用)、190…コンポーネント、191p…テンプレート(PC用)、191s…テンプレート(スマホ用)、191t…テンプレート(タブレット用)、
200…クライアント端末、
300…BLサーバ
401…ヘッダ領域、402…一覧領域、403…コンテンツ領域、404…フッタ領域、405…検索条件領域、406…検索結果領域、411、411’…ヘッダ領域、412…一覧領域、413…コンテンツ領域、414…フッタ領域、415…検索条件領域、416…検索結果領域
DESCRIPTION OF
200: Client terminal,
300 ...
Claims (1)
1つ以上の画面パーツの組み合わせからなり、前記各画面パーツが画面表示される際の外観を前記デバイスの種類毎に規定した第1のテンプレートを有する、他のアプリケーションにおいて再利用可能なコンポーネントと、
前記処理結果画面上において前記コンポーネントが配置される1つ以上の領域の配置パターンからなり、前記各領域が画面表示される際の外観を前記デバイスの種類毎に規定した第2のテンプレートを有する、他のアプリケーションにおいて再利用可能なレイアウトと、
前記処理結果画面に適用する前記レイアウトと、前記レイアウト上の前記各領域に配置する前記コンポーネントを取得し、取得した前記コンポーネントに対して前記ビジネスロジックの実行により得られるデータを設定して、取得した前記レイアウトの所定の前記領域に配置されるよう位置指定するエディットビューと、
前記エディットビューにより取得された前記レイアウトおよび前記コンポーネントの内容に基づいて、前記クライアント端末の前記デバイスの種類に対応した前記第2のテンプレートおよび前記第1のテンプレートによって規定される外観により前記処理結果画面を作成するコンポーネントビューと、を有し、
前記レイアウトには、異なる複数の前記処理結果のそれぞれに対応した画面からなる複数の画面の遷移にわたる前記領域の配置パターンを含む、Webサーバシステム。 A Web server system that receives a request from a client terminal, executes business logic, and operates an application that responds to a processing result screen corresponding to the type of device of the client terminal for the processing result,
A component that is composed of a combination of one or more screen parts and has a first template that defines the appearance when each screen part is displayed on the screen for each type of device, and can be reused in other applications;
Comprising a layout pattern of one or more areas in which the components are arranged on the processing result screen, and having a second template that defines the appearance when each area is displayed on the screen for each type of device, Layout that can be reused in other applications,
Acquired the layout to be applied to the processing result screen and the component to be arranged in each area on the layout, and set the data obtained by the execution of the business logic for the acquired component An edit view for specifying a position to be arranged in the predetermined area of the layout;
Based on the layout acquired by the edit view and the content of the component, the processing result screen has an appearance defined by the second template and the first template corresponding to the device type of the client terminal. Component view to create, and
The web server system, wherein the layout includes an arrangement pattern of the area over a plurality of screen transitions including screens corresponding to each of a plurality of different processing results.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2014/077363 WO2016059677A1 (en) | 2014-10-14 | 2014-10-14 | Web server system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2016059677A1 JPWO2016059677A1 (en) | 2017-05-18 |
| JP6318261B2 true JP6318261B2 (en) | 2018-04-25 |
Family
ID=55746247
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016553778A Expired - Fee Related JP6318261B2 (en) | 2014-10-14 | 2014-10-14 | Web server system |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6318261B2 (en) |
| WO (1) | WO2016059677A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE112017006542T5 (en) * | 2016-12-26 | 2019-09-12 | Panasonic Intellectual Property Management Co., Ltd. | display system |
| JP6464408B1 (en) * | 2017-11-02 | 2019-02-06 | 株式会社リクルート | Order management system |
| JP7626923B2 (en) * | 2020-12-25 | 2025-02-05 | キヤノンマーケティングジャパン株式会社 | Information processing system, information processing method, and program |
| JP7639448B2 (en) * | 2021-03-26 | 2025-03-05 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and program |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002259283A (en) * | 2001-03-01 | 2002-09-13 | Sanyo Electric Co Ltd | Device and method for providing data and program therefor |
| JP2003186794A (en) * | 2001-12-13 | 2003-07-04 | Fujitsu Ltd | Information providing program, computer-readable recording medium storing information providing program, and information providing apparatus |
| JP2005064755A (en) * | 2003-08-08 | 2005-03-10 | Canon Inc | Remote control system, remote control device, remote control terminal, controlled device, remote control method and program |
| JP4854260B2 (en) * | 2005-10-18 | 2012-01-18 | キヤノン株式会社 | Remote operation terminal device |
| JP5238851B2 (en) * | 2011-05-26 | 2013-07-17 | 株式会社日立製作所 | Screen generation system, screen generation method, and screen generation program |
-
2014
- 2014-10-14 JP JP2016553778A patent/JP6318261B2/en not_active Expired - Fee Related
- 2014-10-14 WO PCT/JP2014/077363 patent/WO2016059677A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| WO2016059677A1 (en) | 2016-04-21 |
| JPWO2016059677A1 (en) | 2017-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6263282B2 (en) | Development support system | |
| US10185819B2 (en) | Extension configuration and interaction | |
| CN112214214A (en) | Low code development system, device and medium for android native APP | |
| KR101456505B1 (en) | A user interface framework for developing web applications | |
| KR101416104B1 (en) | A dynamic loading apparatus and method of java script code performing native functions of hybrid web applications | |
| CN108664242B (en) | Method and device for generating visual interface, electronic equipment and readable storage medium | |
| US9460230B1 (en) | Method and system for visual styling of visual elements for applications | |
| JP6318261B2 (en) | Web server system | |
| CN101276275A (en) | Software development visualizing editing method aiming at set top box | |
| CN105824616A (en) | Development method and frame for equipment control system program | |
| JP7536248B1 (en) | Method and program for setting grid layout for responsive pages for multiple devices | |
| KR20140027341A (en) | Application activation framework | |
| JP6212657B2 (en) | Development support system | |
| US20210271458A1 (en) | Managing an app method and system | |
| WO2023143746A1 (en) | System and method for managing artifacts related to apps | |
| CN112579144B (en) | Data processing method and device | |
| CN104156209B (en) | Cross-platform interface modeling method and device | |
| US10331774B2 (en) | System and methods for designing artifacts associated with a webpage | |
| CN106325658A (en) | Android-based dynamic layout method and system | |
| CN119234209A (en) | Page rendering method, device, equipment and storage medium | |
| KR102385381B1 (en) | Method and system for generating script forcamera effect | |
| US20180024817A1 (en) | Development Environment for Real-Time Application Development | |
| CN113448583A (en) | Configuration development method and device based on Internet of things, terminal equipment and medium | |
| Duszyński | Unlocking. NET MAUI’s Potential | |
| Pham | REACT CONCURRENT MODE: MECHANISMS, PATTERNS AND APPLICATION |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A524 | Written submission of copy of amendment under article 19 pct |
Free format text: JAPANESE INTERMEDIATE CODE: A527 Effective date: 20170130 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170130 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170905 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171027 |
|
| 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: 20180206 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20180306 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180402 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6318261 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| 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 |
|
| LAPS | Cancellation because of no payment of annual fees |