Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6318261B2 - Web server system - Google Patents
[go: Go Back, main page]

JP6318261B2 - Web server system - Google Patents

Web server system Download PDF

Info

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
Application number
JP2016553778A
Other languages
Japanese (ja)
Other versions
JPWO2016059677A1 (en
Inventor
祐介 塩川
祐介 塩川
英子 宮前
英子 宮前
護 清水
護 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nomura Research Institute Ltd
Original Assignee
Nomura Research Institute Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nomura Research Institute Ltd filed Critical Nomura Research Institute Ltd
Publication of JPWO2016059677A1 publication Critical patent/JPWO2016059677A1/en
Application granted granted Critical
Publication of JP6318261B2 publication Critical patent/JP6318261B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection 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.

特開2013−235387号公報JP 2013-235387 A

例えば、特許文献1に記載されたような技術を用いることで、Webアプリケーションの開発に際して、部品(パーツオブジェクト)を再利用可能とするとともに、1つのソースコードでマルチデバイス対応をすることが可能となる。   For example, by using a technique as described in Patent Document 1, it is possible to reuse a part (part object) when developing a Web application and to support multiple devices with one source code. Become.

しかしながら、実際は、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.

本発明の一実施の形態であるWebサーバシステムの構成例について概要を示した図である。It is the figure which showed the outline | summary about the structural example of the Web server system which is one embodiment of this invention. (a)、(b)は、本発明の一実施の形態におけるデバイス毎のレイアウトの相違の例について概要を示した図である。(A), (b) is the figure which showed the outline | summary about the example of the difference in the layout for every device in one embodiment of this invention. (a)、(b)は、本発明の一実施の形態におけるデバイス毎のレイアウトの相違の他の例について概要を示した図である。(A), (b) is the figure which showed the outline | summary about the other example of the difference in the layout for every device in one embodiment of this invention. (a)、(b)は、本発明の一実施の形態におけるデバイス毎のコンポーネント表示の相違の例について概要を示した図である。(A), (b) is the figure which showed the outline | summary about the example of the difference in the component display for every device in one embodiment of this invention. (a)、(b)は、本発明の一実施の形態におけるデバイス毎のコンポーネント表示の相違の他の例について概要を示した図である。(A), (b) is the figure which showed the outline | summary about the other example of the difference in the component display for every device in one embodiment of this invention. 本発明の一実施の形態におけるエディットビューでの指定内容と、これに伴う画面表示時の処理の流れの例について概要を示した図である。It is the figure which showed the outline | summary about the example of the content of the specification at the edit view in one embodiment of this invention, and the process at the time of the screen display accompanying this.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一部には原則として同一の符号を付し、その繰り返しの説明は省略する。   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 server system 100 according to the embodiment of the present invention converts the screen parts into components and has a list of components 190, and the layout 180 includes a layout pattern including one or more screen areas in which the components 190 are arranged. Has a list. Each layout 180 and each component 190 has a template created so as to output a screen optimized for each device, and the Web server system 100 is optimized for each device based on these templates. Automatic screen output.

Webサーバシステム100は、例えば、サーバ機器やクラウドコンピューティングサービス上に構築された仮想サーバからなるサーバシステムであり、例えば、図示しないOS(Operating System)や、Webサーバプログラム110、言語処理系120、フレームワーク130などのミドルウェアや基盤等の上で稼働する、もしくはこれらを利用するソフトウェアとして、MVC(Model View Controller)モデルによって開発、実装されたコントローラ140、モデル150、エディットビュー160、コンポーネントビュー170、レイアウト180およびコンポーネント190などの各部(モジュール)を有する。   The Web server system 100 is a server system composed of, for example, a server device or a virtual server built on a cloud computing service. For example, an OS (Operating System) not shown, a Web server program 110, a language processing system 120, As a software that runs on or uses middleware or infrastructure such as the framework 130, a controller 140, model 150, edit view 160, component view 170, developed and implemented by an MVC (Model View Controller) model, Each unit (module) such as a layout 180 and a component 190 is included.

Webサーバプログラム110としては、例えば、Apache(登録商標) HTTP Serverなど、Webサーバにおいて一般的に用いられているものを適宜用いることができる。また、Webサーバプログラム110上で稼働するアプリケーションシステムの基盤となる言語処理系120およびフレームワーク130としては、例えば、動的なWebページを作成するために用いられるPHPなどのスクリプト言語、およびPHPで実装されたZend Frameworkなどを適宜用いることができる。   As the Web server program 110, for example, an Apache (registered trademark) HTTP Server or the like generally used in a Web server can be used as appropriate. Further, as the language processing system 120 and the framework 130 which are the basis of an application system running on the Web server program 110, for example, a script language such as PHP used for creating a dynamic Web page, and PHP are used. A mounted Zend Framework or the like can be used as appropriate.

コントローラ140は、MVCモデルにおけるコントローラ(C)としての機能を有し、クライアント端末200上の図示しないWebブラウザ等からのリクエストを受けて、モデル150に対してデータの操作要求を行ってデータを取得したり、エディットビュー160に対して画面表示を要求したりする。モデル150は、MVCモデルにおけるモデル(M)としての機能を有し、ビジネスロジックを実行してデータの操作や取得を行う機能を有する。ビジネスロジック(BL)は、例えば、データベースなどを有する他のBLサーバ300に対して要求を行って実行させるようにしてもよい。   The controller 140 has a function as a controller (C) in the MVC model, receives a request from a web browser or the like (not shown) on the client terminal 200, makes a data operation request to the model 150, and acquires data. Or requesting the edit view 160 to display a screen. The model 150 has a function as a model (M) in the MVC model, and has a function of operating and acquiring data by executing business logic. The business logic (BL) may be executed by making a request to another BL server 300 having a database, for example.

エディットビュー160およびコンポーネントビュー170は、MVCモデルにおけるビュー(V)としての機能を有し、モデル150のデータに基づいて画面生成を行って表示する機能を有する。エディットビュー160は、画面の構成を行う機能を有し、後述するように、画面において用いるレイアウト180を指定するとともに、レイアウト180によって表示される領域に配置するコンポーネント190をそれぞれ呼び出して設定を行う。コンポーネントビュー170は、このレイアウト180およびコンポーネント190の情報に基づいてレンダリングを行ってHTML(HyperText Markup Language)データを作成し、クライアント端末200に対して出力する。   The edit view 160 and the component view 170 have a function as a view (V) in the MVC model, and have a function of generating and displaying a screen based on the data of the model 150. The edit view 160 has a function for configuring the screen. As will be described later, the edit view 160 designates a layout 180 to be used on the screen and calls and sets a component 190 arranged in an area displayed by the layout 180. The component view 170 performs rendering based on the information of the layout 180 and the component 190 to create HTML (HyperText Markup Language) data, and outputs the data to the client terminal 200.

このとき、コンポーネントビュー170は、後述するように、クライアント端末200のデバイスに応じてレイアウト180およびコンポーネント190に対して設定されている画面表示のためのWebテンプレートをテンプレートエンジン171により処理することで、対象のデバイスに最適化された画面出力を行う。   At this time, as described later, the component view 170 processes a Web template for screen display set for the layout 180 and the component 190 according to the device of the client terminal 200 by the template engine 171, thereby Perform screen output optimized for the target device.

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 layout 180, respectively, a template (for PC) 181p, a template (for smartphone) 181s, As for the template (for tablet) 181t (which may be collectively referred to as the template 181) and the component 190, template (for PC) 191p, template (for smartphone) 191s, template (for tablet), respectively 191t (these may be collectively referred to as a template 191). In the example of FIG. 1, templates 181 and 191 are prepared separately for PCs, smartphones, and tablet terminals. However, the present invention is not limited to this. The browser may have a different device.

テンプレートエンジン171は、テンプレート181および191などのWebテンプレートに規定されたデザインや外観の内容に基づいて実際の画面を作成する機能を有する。なお、テンプレートエンジン171には、例えば、PHPにおいて主に用いられているSmartyなどの一般的なテンプレートエンジンを適宜用いることができる。   The template engine 171 has a function of creating an actual screen based on the design and appearance content defined in the Web templates such as the templates 181 and 191. As the template engine 171, for example, a general template engine such as Smarty mainly used in PHP can be used as appropriate.

コントローラ140やコンポーネントビュー170は、Webサーバシステム100として汎用的に提供することができる。また、画面部品としてのレイアウト180やコンポーネント190(テンプレート181および191も含む)は、他の開発案件で作成されたものを再利用したり、対象の開発案件において予め作成されたものを用いたりすることができる。また、モデル150についても、対象の開発案件等において別途作成されたものを用いることができる。一方、エディットビュー160は、画面開発者がソースコードとして作成することになるが、デバイス毎の相違は、テンプレート181や191(およびテンプレートエンジン171)が吸収するため、画面開発者がデバイス毎の相違を意識することは不要である。   The controller 140 and the component view 170 can be provided for general use as the Web server system 100. Further, the layout 180 and the component 190 (including the templates 181 and 191) as screen parts are reused those created in other development projects, or those created in advance in the target development project are used. be able to. As the model 150, a model 150 separately created in a target development project or the like can be used. On the other hand, the edit view 160 is created as a source code by the screen developer. However, since the difference for each device is absorbed by the templates 181 and 191 (and the template engine 171), the screen developer has the difference for each device. It is not necessary to be aware of

<レイアウトとコンポーネント>
図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 layout 180 is shown. In addition to the header area (header areas 401 and 411) and the footer area (footer areas 404 and 414), a plurality of items are displayed. A layout having a list area (list areas 402 and 412) for displaying a list of items and a content area (content areas 403 and 413) for displaying detailed contents when a specific item is selected from the list area is shown. Yes.

図示するように、図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 list area 412 while the list area 412 is displayed on the left screen, the screen changes to the right screen and the list area 412 is displayed. Instead, the content area 413 for displaying the selected item is displayed. Such a difference for each device in the same layout 180 is defined in the template 181 (in this case, the template (for tablet) 181t and the template (for smartphone) 181s), as described above, and the template engine 171 of the component view 170 Is reflected on the actual screen.

このように、画面上に表示される部品やコントロールの単位だけではなく、画面全体のレイアウト(画面遷移を伴うものも含む)の単位でも、レイアウト180およびテンプレート181によりデバイス毎の相違を吸収・隠蔽する。これにより、デバイスによっては画面遷移を伴うレイアウトを有しているような場合であっても、エディットビュー160についてはデバイスを意識することなく開発することができる。   In this way, the layout 180 and the template 181 absorb and conceal the differences for each device not only in the parts and control units displayed on the screen, but also in the layout of the entire screen (including those with screen transitions). To do. Thus, even if the device has a layout with screen transition, the edit view 160 can be developed without being aware of the device.

図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 layout 180 is shown. In addition to the header area (header areas 401 and 411) and the footer area (footer areas 404 and 414), A search condition area (search condition area 405, 415) for displaying a part or the like for inputting and specifying a search condition, and a search result area (search result area 406, 416) for displaying a search result based on the search condition A layout having

例えば、図3(a)と図2(a)において各領域の配置が異なるように、エディットビュー160において指定するレイアウト180を変更することで、コンポーネントビュー170のテンプレートエンジン171によって各領域のデザイン、外観を自動的に切り替えることができる。   For example, by changing the layout 180 specified in the edit view 160 so that the arrangement of the areas in FIGS. 3A and 2A is different, the design of each area can be performed by the template engine 171 of the component view 170. The appearance can be switched automatically.

図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” component 190 is displayed in the header areas 401 and 411.

図示するように、図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 header area 401. On the other hand, in the smartphone layout of FIG. 4B, only the icon for displaying the menu is displayed in the header area 411 on the left screen, and when this icon is tapped, the screen transitions to the right screen, and the header area 411 is expanded (header area 411 ′), indicating that menu buttons are displayed vertically in this area. Similar to the layout 180, such a difference for each device in the same component 190 is defined in the template 191 (in this case, the template (for tablet) 191t and the template (for smartphone) 191s). Reflected on the actual screen by the template engine 171.

なお、本実施の形態におけるコンポーネント190は、1つの画面パーツやコントロールからなるものに限らず、図示するように、複数のパーツやコントロール(図4の例では4つのメニューボタン)の集合や組み合わせによって構成してもよい。   The component 190 in the present embodiment is not limited to a single screen part or control. As shown in the figure, the component 190 is a combination or combination of a plurality of parts and controls (four menu buttons in the example of FIG. 4). It may be configured.

図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” component 190 is displayed in the search result areas 406 and 416. As illustrated, in the layout of the tablet terminal in FIG. 5A, a search result list is displayed in the search result area 406 in a table format. On the other hand, the layout of the smartphone in FIG. 5B shows that the search result list is displayed vertically in a list format in the search result area 416 of the screen on the right side after the transition.

<処理の流れ>
図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 edit view 160 and an example of the flow of processing at the time of screen display associated therewith. As described above, the screen developer creates an edit view 160 that performs the following processing as source code. In that, the layout developer 180 specifies the layout 180 and the component 190 without being conscious of the differences between devices. Just place and set. The screen display optimized for each device is dynamically performed by the component view 170 (and the template engine 171) at the time of execution based on the contents defined in the templates 181 and 191.

エディットビュー160では、まず、予め作成されているレイアウト180の一覧の中から、画面表示に用いるレイアウト180を取得する(S01)。この時点ではレイアウト180に設定された各領域にはまだ何も表示すべきコンポーネント190は配置されていない。次に、予め作成されているコンポーネント190の一覧の中から、ステップS01で取得したレイアウト180に配置する1つ以上のコンポーネント190を取得する(S02)。この時点ではまだコンポーネント190には表示すべきデータなどの設定は何もされていない。   In the edit view 160, first, a layout 180 used for screen display is acquired from a list of layouts 180 created in advance (S01). At this point, no component 190 that should display anything has been placed in each area set in the layout 180. Next, one or more components 190 arranged in the layout 180 acquired in step S01 are acquired from the list of components 190 created in advance (S02). At this point, the component 190 has not been set to data to be displayed.

その後、ステップS190で取得した各コンポーネント190に対して、表示すべきデータとして、モデル150から取得したデータを設定する(S03)。なお、モデル150によるデータの取得は、コントローラ140を介した指示により実行される。次に、データを設定した各コンポーネント190を、ステップS01で取得したレイアウト180における適当な領域に配置されるよう位置指定する(S04)。そして、各コンポーネント190の配置位置を指定したレイアウト180をコンポーネントビュー170に渡して画面描画を指示する(S05)。   Thereafter, the data acquired from the model 150 is set as data to be displayed for each component 190 acquired in step S190 (S03). Note that data acquisition by the model 150 is executed by an instruction via the controller 140. Next, each component 190 for which data is set is designated so as to be arranged in an appropriate area in the layout 180 acquired in step S01 (S04). Then, the layout 180 designating the arrangement position of each component 190 is transferred to the component view 170 to instruct screen drawing (S05).

このとき、クライアント端末200のデバイスの種類に係る情報も併せてコンポーネントビュー170に渡す(もしくはコンポーネントビュー170自身がリクエストメッセージの内容から取得する)。デバイスの種類に係る情報は、例えば、クライアント端末200からのリクエストメッセージのUser−Agentヘッダから取得するなど、公知の技術により取得することができる。なお、ここでのデバイスの種類に係る情報には、機器の種別の他に、例えば、OS、Webブラウザやそのバージョン等の情報も含まれるものとする。   At this time, information related to the device type of the client terminal 200 is also passed to the component view 170 (or the component view 170 itself acquires from the content of the request message). Information related to the type of device can be acquired by a known technique such as acquiring from the User-Agent header of the request message from the client terminal 200, for example. Here, it is assumed that the information related to the device type includes, for example, information such as the OS, the Web browser, and its version in addition to the device type.

コンポーネントビュー170では、渡されたレイアウト180および各コンポーネント190について、それぞれ、デバイスの種類に対応したテンプレート181および191を取得して、テンプレートに規定されているデザインに従ってデータを含めた画面描画を行う。例えば、各コンポーネント190については、デバイスの種類(図6の例ではスマートフォン)に対応したテンプレート(スマホ用)191sを取得して、これに規定されているデザインに基づいてデータを含めてコンポーネント190を画面描画する(図6の例では検索結果の一覧表示)。また、レイアウト180については、テンプレート181sを取得して、これに規定されているデザインに基づいて各領域を描画するとともに、指定された領域の位置に画面描画された各コンポーネント190を配置する(図6の例では検索結果領域416に検索結果の一覧表示を配置する)。   In the component view 170, templates 181 and 191 corresponding to the device type are acquired for the passed layout 180 and each component 190, and screen drawing including data is performed according to the design defined in the template. For example, for each component 190, a template (for smartphone) 191s corresponding to the type of device (smartphone in the example of FIG. 6) is acquired, and the component 190 is included by including data based on the design defined therein. Screen drawing is performed (in the example of FIG. 6, a list of search results is displayed). As for the layout 180, the template 181s is acquired, and each area is drawn based on the design defined therein, and each component 190 drawn on the screen is placed at the position of the designated area (see FIG. In the example of FIG. 6, a list display of search results is arranged in the search result area 416).

以上に説明したように、本発明の一実施の形態であるWebサーバシステム100によれば、画面パーツをコンポーネント化するとともに、コンポーネント190が配置される1つ以上の領域からなるレイアウト180のパターンを有している。そして、各レイアウト180および各コンポーネント190は、それぞれ、デバイス毎に最適化された画面出力をするように作成されたテンプレート181、191を有しており、Webサーバシステム100は、これらのテンプレートを処理するテンプレートエンジン171を有するコンポーネントビュー170を備える。   As described above, according to the Web server system 100 according to the embodiment of the present invention, the screen parts are converted into components, and the layout 180 pattern including one or more areas in which the components 190 are arranged is displayed. Have. Each layout 180 and each component 190 have templates 181 and 191 created so as to output screens optimized for each device. The Web server system 100 processes these templates. A component view 170 having a template engine 171 is provided.

これにより、画面のレイアウトおよびコンポーネントが部品化され、エディットビュー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 edit view 160, it is possible to dynamically perform screen display optimized according to the device. That is, the screen developer can create the source code of the edit view 160 without being conscious of the difference between devices. Furthermore, by separating the functions for controlling the processing and behavior of data in the layout 180 and the component 190 from the design (HTML, CSS (Cascading Style Sheets), etc.) defined by the templates 181, 191, the development results by the designer Objects can be easily captured as screen parts.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は上記の実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。例えば、上記の実施の形態は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、上記の実施の形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   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 SYMBOLS 100 ... Web server system, 110 ... Web server program, 120 ... Language processing system, 130 ... Framework, 140 ... Controller, 150 ... Model, 160 ... Edit view, 170 ... Component view, 171 ... Template engine, 180 ... Layout, 181p ... Template (for PC), 181s ... Template (for smartphone), 181t ... Template (for tablet), 190 ... Component, 191p ... Template (for PC), 191s ... Template (for smartphone), 191t ... Template (for tablet) ),
200: Client terminal,
300 ... BL server 401 ... header area 402 ... list area 403 ... content area 404 ... footer area 405 ... search condition area 406 ... search result area 411 411 '... header area 412 ... list area 413 ... content area, 414 ... footer area, 415 ... search condition area, 416 ... search result area







Claims (1)

クライアント端末からのリクエストを受けて、ビジネスロジックを実行し、その処理結果につき、前記クライアント端末のデバイスの種類に応じた処理結果画面を応答するアプリケーションを稼働させるWebサーバシステムであって、
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.
JP2016553778A 2014-10-14 2014-10-14 Web server system Expired - Fee Related JP6318261B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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