[go: up one dir, main page]

TW202427184A - Method for supporting front-end development and system thereof - Google Patents

Method for supporting front-end development and system thereof Download PDF

Info

Publication number
TW202427184A
TW202427184A TW112147370A TW112147370A TW202427184A TW 202427184 A TW202427184 A TW 202427184A TW 112147370 A TW112147370 A TW 112147370A TW 112147370 A TW112147370 A TW 112147370A TW 202427184 A TW202427184 A TW 202427184A
Authority
TW
Taiwan
Prior art keywords
description code
web page
code
entity
development support
Prior art date
Application number
TW112147370A
Other languages
Chinese (zh)
Other versions
TWI889050B (en
Inventor
顧斌
李磊
李翔
鄧寧
Original Assignee
韓商韓領有限公司
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 韓商韓領有限公司 filed Critical 韓商韓領有限公司
Publication of TW202427184A publication Critical patent/TW202427184A/en
Application granted granted Critical
Publication of TWI889050B publication Critical patent/TWI889050B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Primary Health Care (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Computer Security & Cryptography (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)
  • Document Processing Apparatus (AREA)

Abstract

There are provided a method for supporting front-end development and a system thereof. The method for supporting front-end development may include obtaining a description code written by a predefined description language and including a definition code of target data, generating a web page handling the target data based on the description code, and reflecting an update of the description code on the generated web page when the update of the description code is sensed. According to such a method, convenience and efficiency of front-end development and maintenance may be significantly improved.

Description

支援前端開發的方法及其系統Method and system for supporting front-end development

本披露內容揭示支援前端開發的方法及其系統,更具體地,揭示一種在開發位於前端的網頁時可提高開發便利性與效率性的支援方法及執行該方法的系統。The present disclosure discloses a method and system for supporting front-end development, and more specifically, discloses a supporting method and a system for executing the method that can improve the convenience and efficiency of development when developing web pages located at the front end.

和業務流程(舉例來說,訂單採購(PO)、產品入庫(GR)、產品出庫(GI)等)相關的網頁通常處理龐大的資料並且各個網頁處理及管理互不相同的實體的資料。例如,訂單採購相關網頁處理結構複雜的訂單採購資料(舉例來說,由諸如ID、供應商名稱、採購項、採購金額、貨幣單位、運輸工具等複數個欄位構成的訂單採購實體的資料),產品入庫相關網頁則處理產品入庫資料。Web pages related to business processes (e.g., purchase order (PO), product receipt (GR), product delivery (GI), etc.) usually process large amounts of data and each web page processes and manages data of different entities. For example, pages related to purchase order process complex order purchase data (e.g., data of order purchase entity consisting of multiple fields such as ID, supplier name, purchase item, purchase amount, currency unit, transportation means, etc.), and pages related to product receipt process product receipt data.

這些網頁由於業務流程的特性而互相關聯,因此必須進行資料(即,欄位值)的有效性檢驗(因為一部分欄位值的錯誤會影響到其它業務流程的資料)。而且,這些網頁雖然處理互不相同的實體的資料,但是外觀設計或功能卻相似。These web pages are interrelated due to the characteristics of the business process, so the validity of data (i.e., field values) must be checked (because errors in some field values will affect the data of other business processes). Moreover, although these web pages process data of different entities, their appearance and design or functions are similar.

另一方面,前端開發人員為了開發(實現)所述複數個網頁而進行逐頁(page-by-page)編碼。然而,該開發方式無法避免重複開發複數個網頁的一部分功能而使得開發效率性降低。不僅如此,鑒於業務流程的特性,會頻繁地發生流程變更(舉例來說,添加新的流程、刪除現有流程等)及實體變更等,每當此時,該開發方式都需要前端開發人員直接修改相關網頁,這就造成了很大的負擔。On the other hand, the front-end developers perform page-by-page coding to develop (implement) the plurality of web pages. However, this development method cannot avoid repeatedly developing some functions of the plurality of web pages, which reduces the development efficiency. Moreover, in view of the characteristics of the business process, process changes (for example, adding new processes, deleting existing processes, etc.) and entity changes will occur frequently. At this time, this development method requires the front-end developers to directly modify the relevant web pages, which creates a great burden.

現有技術文獻Prior art literature

專利文獻Patent Literature

韓國授權專利第10-1884648號(2018.08.02公告)Korean Patent No. 10-1884648 (Announced on August 2, 2018)

本披露內容的若干實施例擬解決的技術課題是提供一種可提高前端開發的便利性與效率性的開發支援方法及執行該方法的系統。The technical problem to be solved by some embodiments of the present disclosure is to provide a development support method and a system for executing the method that can improve the convenience and efficiency of front-end development.

本披露內容的若干實施例擬解決的另一個技術課題是提供一種可提高前端維護保養(管理)的便利性與效率性的開發支援方法及執行該方法的系統。Another technical problem that several embodiments of the present disclosure are intended to solve is to provide a development support method and a system for executing the method that can improve the convenience and efficiency of front-end maintenance (management).

本披露內容的若干實施例擬解決的再一個技術課題是提供一種能快速正確地開發出處理複雜龐大資料的複數個業務流程相關網頁並予以管理的方法及執行該方法的系統。Another technical problem that several embodiments of the present disclosure are intended to solve is to provide a method for quickly and correctly developing and managing multiple business process-related web pages that process complex and large data, and a system for executing the method.

本披露內容擬解決的技術課題不限於前面所提到的技術課題,本披露內容所屬領域中具備一般知識者可以在下面的記載中明確地了解到前面沒有提到的其它課題。The technical issues that the present disclosure is intended to solve are not limited to the technical issues mentioned above. A person with general knowledge in the field to which the present disclosure belongs can clearly understand other issues not mentioned above from the following description.

用於解決所述技術課題的本披露內容的若干實施例的前端開發支援方法是由至少一個計算裝置執行的方法,可包括下列步驟:獲取由預定義的規範語言編寫的描述(description)代碼(所述描述代碼包括定義目標資料的欄位的代碼);以所述描述代碼為基礎生成處理所述目標資料的網頁;及,對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的網頁。The front-end development support method of several embodiments of the present disclosure for solving the technical problem is a method executed by at least one computing device, and may include the following steps: obtaining a description code written in a predefined specification language (the description code includes a code defining a field of target data); generating a web page for processing the target data based on the description code; and responding to the perception of an update to the description code by reflecting the update to the generated web page.

在若干實施例中,所述規範語言可以是特定領域語言(DSL:Domain Specific Language)。In some embodiments, the specification language may be a domain specific language (DSL).

在若干實施例中,所述描述代碼可包括定義所述目標資料的複數個欄位中至少一部分欄位的屬性的代碼。In some embodiments, the description code may include a code defining the properties of at least a portion of the plurality of fields of the target data.

在若干實施例中,所述描述代碼包含針對所述目標資料的複數個欄位中至少一部分欄位的值的有效性檢驗邏輯進行定義的代碼,所述生成的網頁則可針對所述至少一部分欄位的值的輸入進行響應而執行依據所述有效性檢驗邏輯的檢驗。In some embodiments, the description code includes a code defining a validity check logic for values of at least a portion of the multiple fields of the target data, and the generated web page can perform a check based on the validity check logic in response to input of values of at least a portion of the fields.

在若干實施例中,還可包括下列步驟,即,以所述描述代碼為基礎生成針對所述目標資料的資料管理檔案。In some embodiments, the following step may also be included, namely, generating a data management file for the target data based on the description code.

在若干實施例中,所述資料管理檔案可以是試算表(Spreadsheet)形式的檔案。In some embodiments, the data management file may be a file in the form of a spreadsheet.

在若干實施例中,還可包括下列步驟,即,對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的資料管理檔案。In some embodiments, the following step may also be included, namely, responding to the perceived update of the description code and reflecting the update to the generated data management file.

在若干實施例中,反映所述更新的步驟可包括下列步驟:接收針對所述更新了的描述代碼的提交(commit)請求;及,針對所述提交請求進行響應而把所述更新了的描述代碼反映到所述生成的網頁。In some embodiments, the step of reflecting the update may include the following steps: receiving a commit request for the updated description code; and, responding to the commit request to reflect the updated description code to the generated web page.

在若干實施例中,所述獲取的描述代碼包括定義第一實體的複數個欄位、第二實體的複數個欄位及所述第一實體與所述第二實體的關系的代碼,所述第一實體與所述第二實體具有一對多關系或上下位關系,所述網頁生成步驟可包括下列步驟:生成處理所述第一實體的資料的第一網頁;及,生成包含處理所述第二實體的資料的UI元件並且和所述第一網頁連接的第二網頁。此時,所述UI元件可以是可插入複數個資料的元件。In some embodiments, the obtained description code includes a code defining a plurality of fields of a first entity, a plurality of fields of a second entity, and a relationship between the first entity and the second entity, the first entity and the second entity have a one-to-many relationship or a hierarchical relationship, and the webpage generation step may include the following steps: generating a first webpage for processing data of the first entity; and generating a second webpage including a UI element for processing data of the second entity and connected to the first webpage. In this case, the UI element may be an element into which a plurality of data can be inserted.

在若干實施例中,所述目標資料是預定義的業務流程結構內的特定業務流程中使用的資料,所述網頁生成步驟可包括下列步驟:把所述特定業務流程對映到所述描述代碼;及,以所述描述代碼為基礎生成所述特定業務流程的網頁。In some embodiments, the target data is data used in a specific business process within a predefined business process structure, and the web page generation step may include the following steps: mapping the specific business process to the description code; and generating a web page for the specific business process based on the description code.

用於解決所述技術課題的本披露內容的若干實施例的開發支援系統包括一個以上的處理器及儲存複數個指令的存儲器,所述一個以上的處理器執行所述儲存的複數個指令而可進行下列動作:獲取由預定義的規範語言編寫的描述(description)代碼(所述描述代碼包括定義目標資料的欄位的代碼);以所述描述代碼為基礎生成處理所述目標資料的網頁;及,對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的網頁。A development support system of several embodiments of the present disclosure for solving the technical problem includes one or more processors and a memory storing a plurality of instructions. The one or more processors execute the stored plurality of instructions to perform the following actions: obtain description code written in a predefined specification language (the description code includes a code defining fields of target data); generate a web page for processing the target data based on the description code; and, respond to the perception of an update to the description code by reflecting the update to the generated web page.

用於解決所述技術課題的本披露內容的若干實施例的電腦程式可儲存在電腦可讀存儲裝置以便和計算裝置結合並執行下列步驟,獲取由預定義的規範語言編寫的描述(description)代碼(所述描述代碼包括定義目標資料的欄位的代碼);以所述描述代碼為基礎生成處理所述目標資料的網頁;及,對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的網頁。The computer programs of several embodiments of the present disclosure for solving the technical problems can be stored in a computer-readable storage device so as to be combined with a computing device and execute the following steps: obtaining a description code written in a predefined specification language (the description code includes a code defining a field of target data); generating a web page for processing the target data based on the description code; and responding to the perceived update of the description code and reflecting the update to the generated web page.

依據本披露內容的若干實施例,能以包含資料(舉例來說,實體的資料)的欄位定義代碼的描述(description)代碼為基礎自動生成處理該資料的網頁。憑此,前端開發人員能以僅僅局部修改描述代碼的方式開發複數個網頁,從而能大幅提高前端開發的便利性與效率性。According to some embodiments of the present disclosure, a web page for processing data (for example, entity data) can be automatically generated based on a description code containing a field definition code of the data. Thus, front-end developers can develop multiple web pages by only partially modifying the description code, thereby greatly improving the convenience and efficiency of front-end development.

而且,每當描述代碼更新時,能自動更新相關的網頁。憑此,前端開發人員不必逐一修改網頁的原始碼,從而能大幅提高前端維護保養的便利性與效率性。Moreover, whenever the description code is updated, the related web pages can be automatically updated. Therefore, front-end developers do not have to modify the source code of the web pages one by one, which can greatly improve the convenience and efficiency of front-end maintenance.

而且,能以描述代碼為基礎一起生成額外的資料管理檔案,從而能進一步提高資料管理的便利性。Furthermore, additional data management files can be generated based on the description code, which can further improve the convenience of data management.

而且,把實體之間的關係定義到描述代碼而能夠輕易開發出處理關係複雜的資料的網頁。譬如,還能夠輕易開發出處理關係複雜的業務資料的網頁。Furthermore, by defining the relationships between entities in description codes, it is possible to easily develop web pages that process data with complex relationships. For example, it is possible to easily develop web pages that process business data with complex relationships.

而且,以描述代碼為基礎生成網頁而能夠輕易開發出具有相似功能與特性的業務流程相關網頁。Moreover, by generating web pages based on the description code, it is easy to develop business process-related web pages with similar functions and features.

本披露內容的技術精神所帶來的效果不限於前面所提到的效果,一般技術人員可以在下面的記載中明確地了解到前面沒有提到的其它效果。The effects brought about by the technical spirit of the present disclosure are not limited to the effects mentioned above, and a person skilled in the art can clearly understand other effects not mentioned above from the following description.

下面結合圖式詳細說明本披露內容的優選實施例。為了使本披露內容的優點與特徵及其實現方法能更明顯,下面結合圖式及後述的實施例進行詳細說明。但,這些實施例不能限定本披露內容的技術精神,本披露內容可以透過各式各樣的形態實現,這些實施例的目的是更清楚地闡述本披露內容的技術精神,讓本披露內容所屬技術領域中具有一般知識者完全了解本披露內容的範疇,而本披露內容的技術精神只能由申請專利範圍定義。The following is a detailed description of the preferred embodiments of the present disclosure in conjunction with the drawings. In order to make the advantages and features of the present disclosure and its implementation method more obvious, the following is a detailed description in conjunction with the drawings and the embodiments described below. However, these embodiments cannot limit the technical spirit of the present disclosure. The present disclosure can be implemented in a variety of forms. The purpose of these embodiments is to more clearly explain the technical spirit of the present disclosure so that people with general knowledge in the technical field to which the present disclosure belongs can fully understand the scope of the present disclosure. The technical spirit of the present disclosure can only be defined by the scope of the patent application.

在說明本披露內容時,如果認為對於公知結構或功能的相關說明可能混淆本披露內容的主旨,將省略其詳細說明。When explaining the contents of this disclosure, if it is considered that the relevant description of the known structure or function may confuse the main purpose of the contents of this disclosure, its detailed description will be omitted.

除非另外給予不同的定義,否則下列實施例所使用的一切術語(包括技術或科學術語)所表示的意義和本披露內容所屬技術領域中具有一般知識的人們通常了解的意義相同,但是可能會根據從事於相關領域的技術人員的意圖或慣例或新技術的出現之類的因素而有所變化。本披露內容中使用的術語僅為說明實施例,不得因此局限本披露內容的範疇。Unless otherwise defined, all terms (including technical or scientific terms) used in the following embodiments have the same meanings as those generally understood by people with general knowledge in the technical field to which the present disclosure belongs, but may vary according to factors such as the intention or convention of technicians engaged in the relevant field or the emergence of new technologies. The terms used in the present disclosure are only for illustrating the embodiments and shall not limit the scope of the present disclosure.

除非在句子的脈理中可以明顯地加以區分,否則下列實施例中使用的單數表現方式包括“複數”概念。而且,除非在句子的脈理中可以明顯地加以區分,否則複數表現方式也包括“單數”概念。Unless it can be clearly distinguished in the context of the sentence, the singular expressions used in the following embodiments include the concept of "plurality". Moreover, unless it can be clearly distinguished in the context of the sentence, the plural expressions also include the concept of "singularity".

而且,下列實施例中使用的第一、第二、A、B、(a)、(b)之類的術語僅僅是用來將某一部件和其它部件予以區分,該術語並不限定該部件的本質或順序或次序等。Furthermore, terms such as first, second, A, B, (a), (b) and the like used in the following embodiments are merely used to distinguish a certain component from other components, and the terms do not limit the nature, sequence or order of the components.

下面結合圖式說明本披露內容的各種實施例。Various embodiments of the present disclosure are described below with reference to the drawings.

第一圖用於概略說明本披露內容的若干實施例的開發支援系統10的動作的例示性圖形。FIG. 1 is an illustrative diagram for schematically illustrating the operation of the development support system 10 according to some embodiments of the present disclosure.

如第一圖所示,實施例的開發支援系統10可以是具有針對位於前端的網頁(12)等的開發支援功能的裝置/系統/平台。譬如,開發支援系統10能以描述(description)代碼(11)為基礎自動生成網頁(12)。憑此,可提高前端開發的效率性與便利性。根據情況,開發支援系統10也可以命名為“開發支援裝置/平台”、“開發裝置/平台/系統”、“網頁開發裝置/平台/系統”、“前端開發裝置/平台/系統”等。As shown in the first figure, the development support system 10 of the embodiment can be a device/system/platform having a development support function for a web page (12) located at the front end. For example, the development support system 10 can automatically generate a web page (12) based on a description code (11). In this way, the efficiency and convenience of front-end development can be improved. Depending on the circumstances, the development support system 10 can also be named "development support device/platform", "development device/platform/system", "web development device/platform/system", "front-end development device/platform/system", etc.

更具體地,開發支援系統10接收定義了特定資料的複數個欄位的描述代碼(11)的輸入並且針對所輸入的描述代碼(11)執行語法分析(parsing)、渲染(rendering)之類的作業而得以生成網頁(12)。在此,渲染作業可意味着把可實現網頁(12)的原始碼(舉例來說,HTML碼)予以動態生成的作業,根據情況,把所生成的原始碼予以解釋後轉換成可顯示到畫面的形態的資料也可包含在渲染作業的範圍。而且,生成網頁(12)也可意味着透過前者的渲染作業生成網頁(12)的原始碼(source code),也可意味着進一步執行後者的渲染作業。More specifically, the development support system 10 receives an input of a description code (11) having a plurality of fields defining specific data and performs operations such as parsing and rendering on the input description code (11) to generate a web page (12). Here, the rendering operation may mean an operation of dynamically generating source code (for example, HTML code) that can realize the web page (12). Depending on the circumstances, the rendering operation may also include interpreting and converting the generated source code into data in a form that can be displayed on a screen. Furthermore, generating the web page (12) may also mean generating the source code of the web page (12) through the former rendering operation, or may further mean performing the latter rendering operation.

描述代碼(11)可意味着對網頁(12)的資料、功能、外觀設計等進行定義/設定/說明的代碼。例如,描述代碼(11)可包括定義網頁(12)所處理的資料(即,特定實體的資料)的複數個欄位的代碼。該代碼可舉例如下,可以是定義複數個欄位的屬性(舉例來說,ID、值的形式、可編輯與否、欄位的樣式(舉例來說,下拉形式等)、顯示名、與顯示相關的屬性(舉例來說,大小、顏色、相關UI客體/元件的樣式等))、欄位值的有效性檢驗邏輯(舉例來說,檢驗值的形式、範圍等的邏輯)等的代碼,但本披露內容的範圍並不局限於此。作為另一例,描述代碼(11)還可包括定義網頁(12)的功能(舉例來說,事件處理功能等)的代碼。The description code (11) may mean a code that defines/sets/describes the data, function, appearance design, etc. of the web page (12). For example, the description code (11) may include a code that defines a plurality of fields of data (i.e., data of a specific entity) processed by the web page (12). The code may be, for example, a code that defines properties of a plurality of fields (for example, ID, value format, editability, field style (for example, drop-down format, etc.), display name, display-related properties (for example, size, color, style of related UI objects/components, etc.)), field value validity check logic (for example, logic for checking value format, range, etc.), etc., but the scope of the present disclosure is not limited to this. As another example, the description code (11) may also include a code that defines the functions of the web page (12) (for example, event handling functions, etc.).

而且,描述代碼(11)能由預定義的規範語言編寫,舉例而言,規範語言可以是特定領域語言(DSL:Domain Specific Language)。在此,特定領域語言(DSL)是一種區別於通用語言(舉例來說,C語言等)的語言,可意味着為了達到該域的目的(即,有限的目的)而設計/定義的語言(舉例來說,SQL是為了DB搜索之類的目的而設計的特定領域語言(DSL))。只要是該技術領域的從業人士就應該對特定領域語言(DSL)的概念熟悉,因此下面將省略其詳細說明。Furthermore, the description code (11) can be written in a predefined specification language, for example, the specification language can be a domain specific language (DSL). Here, a domain specific language (DSL) is a language different from a general language (for example, C language, etc.), and can mean a language designed/defined to achieve the purpose of the domain (i.e., a limited purpose) (for example, SQL is a domain specific language (DSL) designed for purposes such as DB search). Anyone who is a practitioner in this technical field should be familiar with the concept of a domain specific language (DSL), so its detailed description will be omitted below.

而且,作為一例,描述代碼(11)可以是以JSON(JavaScript Object Notation)形式編寫的代碼。但是本披露內容的範圍並不局限於此。關於描述代碼(11)的實例,請參閱第五圖。Moreover, as an example, the description code (11) may be a code written in JSON (JavaScript Object Notation) format. However, the scope of the present disclosure is not limited thereto. For an example of the description code (11), please refer to FIG. 5.

根據情況,描述代碼(11)也能命名為“設定(configuration or setting)代碼”、“設定資訊”、“模式(schema)代碼/資訊“之類的術語。Depending on the circumstances, the description code (11) may also be referred to as "configuration or setting code", "configuration information", "schema code/information" and the like.

在若干實施例中,開發支援系統10還能以描述代碼(11)為基礎生成對描述代碼(11)所定義的資料進行管理的檔案(13)。作為一例。資料管理檔案(13)可以是特化於資料管理(舉例來說,插入、刪除、修改)的試算表(spreadsheet)形式的檔案(舉例來說,Excel檔案),但本披露內容的範圍並不局限於此。譬如,開發支援系統10能利用實現了Excel檔案生成功能的渲染模組(舉例來說,以爪哇等實現的模組)從描述代碼(11)生成Excel檔案(13)。但本披露內容的範圍並不局限於此。依據複數個本實施例,進一步生成額外的資料管理檔案(13)而能夠進一步提高資料管理的便利性。In some embodiments, the development support system 10 can also generate a file (13) for managing the data defined by the description code (11) based on the description code (11). As an example. The data management file (13) can be a spreadsheet-style file (for example, an Excel file) specialized for data management (for example, insertion, deletion, and modification), but the scope of the present disclosure is not limited to this. For example, the development support system 10 can generate an Excel file (13) from the description code (11) using a rendering module that implements the Excel file generation function (for example, a module implemented in Java, etc.). However, the scope of the present disclosure is not limited to this. According to a plurality of embodiments of the present invention, additional data management files (13) are further generated to further improve the convenience of data management.

而且,在若干實施例中,如第二圖所示,開發支援系統10對於描述代碼(21)的更新的被感知進行響應而能把該更新自動反映到相關的網頁(22)與資料管理檔案(23)。憑此,能大幅減少用於網頁(22)維護保養的成本,前端開發人員能免於逐一修改網頁(22)的負擔。對於複數個本實施例,後面將結合第四圖以下的圖式更詳細地予以說明。Furthermore, in some embodiments, as shown in FIG. 2, the development support system 10 responds to the perceived update of the description code (21) and can automatically reflect the update to the related web page (22) and the data management file (23). This can greatly reduce the cost of maintaining the web page (22), and the front-end developer can be freed from the burden of modifying the web page (22) one by one. A plurality of embodiments of the present invention will be described in more detail later in conjunction with the diagrams from FIG. 4 onwards.

而且,在若干實施例中,如第三圖所示,開發支援系統10能對於資料管理檔案(33)的更新(舉例來說,資料的添加、欄位的添加等)的被感知進行響應而把該更新反映到相關的網頁(32)。或者,開發支援系統10也能對於網頁(32)的更新(舉例來說,資料的添加、欄位的添加等)的被感知進行響應而把該更新反映到相關的資料管理檔案(33)。或者,開發支援系統10也能對於資料管理檔案(33)的更新(舉例來說,欄位的添加等)的被感知進行響應而把該更新反映到相關的描述代碼(31)。憑此,能大幅減少用於前端維護保養的成本。對於複數個所述實施例,後面將結合第十圖予以補充說明。Furthermore, in some embodiments, as shown in FIG. 3 , the development support system 10 can respond to the perceived update of the data management file (33) (for example, the addition of data, the addition of a field, etc.) and reflect the update to the relevant web page (32). Alternatively, the development support system 10 can also respond to the perceived update of the web page (32) (for example, the addition of data, the addition of a field, etc.) and reflect the update to the relevant data management file (33). Alternatively, the development support system 10 can also respond to the perceived update of the data management file (33) (for example, the addition of a field, etc.) and reflect the update to the relevant description code (31). This can significantly reduce the cost of front-end maintenance. A plurality of the above-mentioned embodiments will be further described below in conjunction with FIG. 10 .

關於開發支援系統10的細節動作/功能等,後面將結合第四圖以下的圖式更詳細地予以說明。The detailed operations and functions of the development support system 10 will be described in more detail later with reference to the fourth and subsequent figures.

所述開發支援系統10能由至少一個計算裝置實現。例如,開發支援系統10的一切功能能在一個計算裝置實現,也可以讓開發支援系統10的第一功能在第一計算裝置實現而第二功能則在第二計算裝置實現。或者,開發支援系統10的特定功能也能在複數個計算裝置實現。The development support system 10 can be implemented by at least one computing device. For example, all functions of the development support system 10 can be implemented on one computing device, or a first function of the development support system 10 can be implemented on a first computing device and a second function can be implemented on a second computing device. Alternatively, a specific function of the development support system 10 can also be implemented on multiple computing devices.

計算裝置可包括具有計算功能的任意裝置,關於該裝置的一例示,請參閱第十二圖。計算裝置是各種要素(舉例來說,存儲器、處理器等)相互作用的集合體,因此也可以根據情況而命名為“計算系統”。當然,術語“計算系統”也可包含複數個計算裝置相互作用的集合體意義。The computing device may include any device with computing functions. For an example of such a device, please refer to FIG. 12. The computing device is a collection of various elements (for example, memory, processor, etc.) interacting with each other, so it may also be named as a "computing system" according to the circumstances. Of course, the term "computing system" may also include the meaning of a collection of multiple computing devices interacting with each other.

前文結合第一圖至第三圖概略說明了本披露內容的若干實施例的開發支援系統10的動作。下面將結合第四圖以下的圖式說明能在所述開發支援系統10執行的各種方法。The above text has briefly described the operation of the development support system 10 of several embodiments of the present disclosure in conjunction with the first to third figures. Various methods that can be executed in the development support system 10 will be described below in conjunction with the fourth figure and subsequent figures.

下面為了便於理解而假設後述的方法的一切步驟/動作在所述開發支援系統10執行後進行說明。因此,如果特定步驟/動作的主體被省略的話,可以理解為在開發支援系統10執行。然而,在實際環境下後述的方法的特定步驟/動作也能在其它計算裝置執行。For ease of understanding, the following description assumes that all steps/actions of the method described below are executed by the development support system 10. Therefore, if the main body of a specific step/action is omitted, it can be understood that it is executed by the development support system 10. However, in an actual environment, the specific steps/actions of the method described below can also be executed by other computing devices.

第四圖是示出本披露內容的若干實施例的前端開發支援方法的例示性流程圖。但其僅僅是達到本披露內容的目的的優選實施例而已,可以根據需要而添加或刪除一些步驟。FIG. 4 is an illustrative flow chart of a front-end development support method for several embodiments of the present disclosure. However, it is only a preferred embodiment for achieving the purpose of the present disclosure, and some steps may be added or deleted as needed.

如第四圖所示,實施例的方法能在獲取由預定義的規範語言編寫的描述代碼的步驟S41開始。譬如,開發支援系統10能從前端開發人員接收由特定領域語言(DSL)編寫的描述代碼的輸入。所輸入的描述代碼能儲存到開發支援系統10或登記在開發支援系統10。如前所述,描述代碼可包括定義網頁所處理的資料(即,特定實體的資料)的複數個欄位的屬性(舉例來說,ID、值的形式、可編輯與否、顯示名、與顯示相關的屬性(舉例來說,大小、顏色、相關UI客體/元件等))、欄位值的有效性檢驗邏輯(舉例來說,檢驗值的形式、範圍等的邏輯)等的代碼。As shown in FIG. 4 , the method of the embodiment can start at step S41 of obtaining description codes written in a predefined specification language. For example, the development support system 10 can receive input of description codes written in a domain-specific language (DSL) from a front-end developer. The input description codes can be stored in the development support system 10 or registered in the development support system 10. As mentioned above, the description code may include code that defines the properties of multiple fields of the data processed by the web page (i.e., data of a specific entity) (for example, ID, value form, editable or not, display name, display-related properties (for example, size, color, related UI objects/components, etc.)), field value validity check logic (for example, logic for checking the value form, range, etc.), etc.

第五圖示出了描述代碼的實例。第五圖以描述代碼(51)按照JSON形式編寫的情形為例示出。Figure 5 shows an example of a description code. Figure 5 shows an example of a description code (51) written in JSON format.

如第五圖所示,描述代碼(51)可包括把構成特定實體的複數個欄位(舉例來說,“partnered”、“SKU ID”等)予以定義的代碼。具體地,描述代碼(51)可包括定義ID(請參閱“id”)、值的形式(請參閱“type”)、顯示名(請參閱“displayName”)之類的欄位屬性和欄位值的有效性檢驗邏輯(“validations”)的代碼。前端開發人員利用特定領域語言(DSL)把網頁處理的資料、網頁的功能、網頁的外觀設計等予以編碼而得以生成描述代碼(51)。憑此,處理結構/形式複雜的資料(舉例來說,欄位數量較多的實體的資料)的網頁也能輕易生成。As shown in the fifth figure, the description code (51) may include codes that define multiple fields that constitute a specific entity (for example, "partnered", "SKU ID", etc.). Specifically, the description code (51) may include codes that define field attributes such as ID (please see "id"), value format (please see "type"), display name (please see "displayName"), and field value validity check logic ("validations"). Front-end developers use domain-specific languages (DSL) to encode the data processed by the web page, the functions of the web page, the appearance design of the web page, etc. to generate the description code (51). Based on this, web pages that process data with complex structure/format (for example, data of entities with a large number of fields) can also be easily generated.

再結合第四圖進行說明。The following is explained with reference to the fourth figure.

在步驟S42,能以描述代碼為基礎生成網頁。譬如,開發支援系統10能透過實現了網頁生成功能的渲染模組(或生成模組)從描述代碼生成網頁的原始碼(文檔)。在此,渲染模組能以把由特定領域語言(DSL)編寫的描述代碼予以解釋後自動生成網頁的原始碼(舉例來說,HTML碼)的方式實現,但以任何形態實現都無妨。In step S42, a web page can be generated based on the description code. For example, the development support system 10 can generate the source code (document) of the web page from the description code through a rendering module (or generation module) that implements the web page generation function. Here, the rendering module can be implemented in a manner that the description code written in a specific domain language (DSL) is interpreted and the source code (for example, HTML code) of the web page is automatically generated, but it can be implemented in any form.

開發支援系統10能以一個描述代碼為基礎生成一個網頁,也能生成複數個網頁(舉例來說,一個描述代碼包含着和複數個網頁有關的代碼的情形)。The development support system 10 can generate one web page based on one description code, or can generate multiple web pages (for example, one description code includes codes related to multiple web pages).

第六圖示出了所生成的網頁的實例。第六圖為了便於理解而例示了由第五圖的描述代碼(51)生成的網頁原始碼的最終渲染結果。The sixth figure shows an example of a generated web page. The sixth figure illustrates the final rendering result of the web page source code generated by the description code (51) of the fifth figure for ease of understanding.

如第六圖所示,所生成的網頁(61)可包括處理描述代碼(51)所定義的複數個欄位的UI元件(62)(即,UI元件62的原始碼被包含在網頁62的原始碼)。譬如,網頁(61)能以包含用於接收或顯示描述代碼(51)所定義的複數個欄位(即,實體)的值的UI元件(62,舉例來說,列表元件)的方式生成。此時,描述代碼(51)所定義的欄位名、欄位值的可編輯與否、有效性檢驗邏輯、UI元件(62)的樣式等也能在生成網頁(61)時原樣不變地反映(舉例來說,網頁61在每當欄位值被輸入時執行有效性檢驗邏輯)。譬如,描述代碼(51)中特定欄位的有關編輯的屬性(舉例來說,請參閱第五圖的“editable”)被設定為“可編輯”時,能以針對該欄位設定了可進行值的輸入及修改的型態生成網頁(61)。如果是與此相反的情形,能以該欄位的值只能被顯示的形態生成網頁(61)。As shown in FIG. 6 , the generated web page (61) may include a UI element (62) for processing a plurality of fields defined by the description code (51) (i.e., the source code of the UI element 62 is included in the source code of the web page 62). For example, the web page (61) may be generated in a manner including a UI element (62, for example, a list element) for receiving or displaying the values of a plurality of fields (i.e., entities) defined by the description code (51). At this time, the field name defined by the description code (51), whether the field value is editable, the validity check logic, the style of the UI element (62), etc. can also be reflected as is when the web page (61) is generated (for example, the web page 61 executes the validity check logic each time a field value is entered). For example, when the editing attribute of a specific field in the description code (51) (for example, see "editable" in FIG. 5) is set to "editable", the web page (61) can be generated in a form in which the value of the field can be input and modified. If it is the opposite, the web page (61) can be generated in a form in which the value of the field can only be displayed.

根據情況,所生成的網頁(61)還可包括用於生成資料管理檔案的按鍵元件(63)。在這種情形下,透過按鍵元件(63)收到了用戶的輸入的話,開發支援系統10能參考描述代碼(51)生成用於更加便利地管理網頁(61)資料的檔案(舉例來說,試算表形式的檔案)。關於此點,將在後面予以補充說明。Depending on the situation, the generated web page (61) may also include a key element (63) for generating a data management file. In this case, if the user's input is received through the key element (63), the development support system 10 can refer to the description code (51) to generate a file (for example, a spreadsheet file) for more conveniently managing the web page (61) data. This point will be further explained later.

接着,再結合第四圖進行說明。Next, we will explain it with reference to the fourth figure.

在步驟S43,能以描述代碼為基礎生成額外的資料管理檔案。譬如,開發支援系統10能以描述代碼為基礎生成試算表形式的資料管理檔案。此時,開發支援系統10也能參考從該描述代碼所生成的網頁把輸入到網頁的資料(即,複數個資料實例或記錄)添加到資料管理檔案。In step S43, additional data management files can be generated based on the description code. For example, the development support system 10 can generate a data management file in the form of a spreadsheet based on the description code. At this time, the development support system 10 can also add the data input to the web page (i.e., a plurality of data instances or records) to the data management file with reference to the web page generated from the description code.

做為更具體的例子,開發支援系統10能透過實現了Excel檔案生成功能(舉例來說,Excel export功能)的渲染模組(或生成模組)從描述代碼生成Excel檔案。此時,描述代碼所定義的複數個欄位能以Excel檔案的欄位(舉例來說,欄項)生成,描述代碼所定義的複數個欄位的屬性、有效性檢驗邏輯等也能反映到Excel檔案。作為一例,渲染模組能以爪哇之類的語言實現,但本披露內容的範圍並不局限於此,以任何方式實現都無妨。As a more specific example, the development support system 10 can generate an Excel file from the description code through a rendering module (or generation module) that implements an Excel file generation function (for example, an Excel export function). At this time, the multiple fields defined by the description code can be generated as fields (for example, columns) of the Excel file, and the properties and validity check logic of the multiple fields defined by the description code can also be reflected in the Excel file. As an example, the rendering module can be implemented in a language such as Java, but the scope of the present disclosure is not limited to this, and it can be implemented in any way.

第七圖示出了所生成的資料管理檔案的實例。第七圖為了便於理解而例示了從第五圖的描述代碼(51)生成Excel檔案(71)的情形。Figure 7 shows an example of the generated data management file. Figure 7 shows an example of generating an Excel file (71) from the description code (51) of Figure 5 for easy understanding.

如第七圖所示,所生成的資料管理檔案(71)可包括描述代碼(51)所定義的複數個欄位(72),描述代碼(51)所定義的各欄位的顯示名可做為資料管理檔案(71)的欄位名(項名)使用。此時,描述代碼(51)所定義的有效性檢驗邏輯等也能原樣不變地反映到資料管理檔案(71)(舉例來說,每當輸入欄位值時資料管理檔案71執行有效性檢驗邏輯。不僅如此,描述代碼(51)所定義的欄位的屬性值也能在生成資料管理檔案(71)時原樣不變地反映。譬如,描述代碼(51)中特定欄位的有關編輯的屬性(舉例來說,請參閱第五圖的“editable”)被設定成“不可編輯”時,能以針對該欄位設定了不許編輯的狀態生成資料管理檔案(71)(舉例來說,能在Excel檔案71設定該欄位的單元格(CELL)不許編輯並且以灰色顯示)。As shown in FIG. 7 , the generated data management file (71) may include a plurality of fields (72) defined by the description code (51), and the display name of each field defined by the description code (51) may be used as the field name (item name) of the data management file (71). At this time, the validity check logic defined by the description code (51) can also be reflected in the data management file (71) unchanged (for example, the data management file 71 executes the validity check logic every time a field value is entered. Not only that, the attribute value of the field defined by the description code (51) can also be reflected unchanged when the data management file (71) is generated. For example, the description code When the editing attribute of a specific field in the code (51) (for example, see "editable" in the fifth figure) is set to "non-editable", a data management file (71) can be generated with the field set to a non-editable state (for example, the cell (CELL) of the field can be set in Excel file 71 to not be editable and displayed in gray).

接着,再結合第四圖進行說明。Next, we will explain it with reference to the fourth figure.

在步驟S44,對於描述代碼的更新的被感知進行響應而能把該更新自動反映到相關的複數個網頁與資料管理檔案。憑此,能大幅提高前端開發及維護保養的效率性與便利性。例如,前端開發人員不必在修改事項發生時每次都逐一查找網頁原始碼後予以修改,從而能大幅提高前端開發的便利性並大幅降低前端維護保養成本。In step S44, the update of the description code is sensed and automatically reflected to the related multiple web pages and data management files. This can greatly improve the efficiency and convenience of front-end development and maintenance. For example, front-end developers do not need to search for web page source codes one by one and modify them every time a modification occurs, which can greatly improve the convenience of front-end development and greatly reduce the cost of front-end maintenance.

具體舉例如下,開發支援系統10能針對更新事件的發生進行響應而把該更新反映到相關的複數個網頁與資料管理檔案(即,更新現有的網頁與資料管理檔案)。該更新事件也許會被預設成每當更新描述代碼時就發生。開發支援系統10能以更新的描述代碼為基礎重新生成網頁與資料管理檔案,但本披露內容的範圍並不局限於此,可以視情況而改變更新反映方式。For example, the development support system 10 can respond to the occurrence of an update event and reflect the update to multiple related web pages and data management files (i.e., update the existing web pages and data management files). The update event may be preset to occur whenever the description code is updated. The development support system 10 can regenerate the web pages and data management files based on the updated description code, but the scope of the present disclosure is not limited to this, and the update reflection method can be changed according to the situation.

而且,如果和描述代碼相關的網頁是複數個的話,開發支援系統10能把描述代碼的更新一律反映到複數個網頁。Furthermore, if there are a plurality of web pages associated with the description code, the development support system 10 can uniformly reflect the update of the description code on the plurality of web pages.

更新的形態可以諸如欄位的添加/刪除/修改、欄位屬性的添加/刪除/修改、有效性驗證邏輯的添加/刪除/修改等地多樣化,但任何形態都無妨。The form of the update can be varied, such as adding/deleting/modifying fields, adding/deleting/modifying field attributes, adding/deleting/modifying validation logic, etc., but any form is acceptable.

在若干實施例中,開發支援系統10能針對已登記的描述代碼進行版本管理。在這種情形下,開發支援系統10對於所收到的針對更新的描述代碼的提交(commit)請求進行響應而能夠執行所述動作。具體地,開發支援系統10能根據提交請求更新該描述代碼的版本並且把描述代碼的更新事項自動反映到相關的網頁與資料管理檔案。In some embodiments, the development support system 10 can perform version management for the registered description code. In this case, the development support system 10 can perform the above actions in response to a received commit request for the updated description code. Specifically, the development support system 10 can update the version of the description code according to the commit request and automatically reflect the update of the description code to the relevant web pages and data management files.

前文結合第四圖至第七圖說明了本披露內容的若干實施例的前端開發支援方法。依據前文所述內容,能以包含資料(舉例來說,實體的資料)的欄位定義代碼的描述代碼為基礎自動生成處理該資料的網頁。憑此,前端開發人員能以僅僅局部修改描述代碼的方式開發複數個網頁,從而能大幅提高前端開發的便利性與效率性。而且,每當描述代碼更新時,能自動更新相關的網頁。憑此,前端開發人員不必逐一修改網頁的原始碼,從而能大幅提高前端維護保養的便利性與效率性。The foregoing text, in conjunction with Figures 4 to 7, illustrates a front-end development support method for several embodiments of the present disclosure. According to the foregoing content, a web page for processing the data can be automatically generated based on a description code containing a field definition code of the data (for example, entity data). Accordingly, a front-end developer can develop multiple web pages by only partially modifying the description code, thereby greatly improving the convenience and efficiency of front-end development. Moreover, whenever the description code is updated, the related web pages can be automatically updated. Accordingly, the front-end developer does not have to modify the source code of the web page one by one, thereby greatly improving the convenience and efficiency of front-end maintenance.

下面說明依據本披露內容的若干實施例的處理具有一對多(或上下位)關係的複數個實體的資料的網頁的生成方法。The following describes a method for generating a web page for processing data of multiple entities having a one-to-many (or hierarchical) relationship according to several embodiments of the present disclosure.

在開發處理具有複雜結構的實體資料的網頁時,常常會發生複數個實體具有一對多或上下位關係的情形。例如,開發和業務流程相關的網頁時,預定義的業務流程結構內的上位流程(舉例來說,訂單採購(PO)流程)所處理的實體資料(舉例來說,訂單採購實體)和下位流程(舉例來說,訂單採購(PO)SKU流程)所處理的實體資料(舉例來說,訂單採購SKU實體)通常具有一對多或上下位關係。When developing web pages that process entity data with complex structures, it is common for multiple entities to have a one-to-many or hierarchical relationship. For example, when developing web pages related to business processes, the entity data (for example, the Order Purchase (PO) entity) processed by the upper process (for example, the Order Purchase (PO) process) in the predefined business process structure and the entity data (for example, the Order Purchase (PO) SKU entity) processed by the lower process (for example, the Order Purchase (PO) SKU process) usually have a one-to-many or hierarchical relationship.

在如前所述的情形下,在描述代碼上添加定義實體之間的關係的代碼而能夠輕易開發出處理具有複雜結構的實體資料的複數個網頁。下面結合第八圖與第九圖給予進一步說明。In the above-mentioned situation, by adding codes that define the relationship between entities to the description code, it is possible to easily develop multiple web pages that process entity data with complex structures. The following is a further explanation in conjunction with Figures 8 and 9.

如第八圖所示,假設在第一描述代碼(81)定義了第一實體的複數個欄位而在第二描述代碼(82)定義了第二實體的複數個欄位,而且,假設在第一描述代碼(81)及/或第二描述代碼(82)還定義了兩個實體之間的關系(即,一對多或上下位關係)。As shown in FIG. 8 , it is assumed that a plurality of fields of a first entity are defined in a first description code (81) and a plurality of fields of a second entity are defined in a second description code (82), and further, it is assumed that a relationship between the two entities (i.e., a one-to-many or a hierarchical relationship) is also defined in the first description code (81) and/or the second description code (82).

在此,第一描述代碼(81)與第二描述代碼(82)可意味着一個代碼文檔內的互不相同的代碼,也可意味着互不相同的代碼文檔。而且,在描述代碼上定義了複數個實體的關系可意味着定義關係的代碼的存在,也可意味着第一描述代碼的樣式被預設為第一實體的用途而第二描述代碼的樣式則被預設為第二實體的用途(舉例來說,父母-子女特定領域語言(DSL))。Here, the first description code (81) and the second description code (82) may mean different codes in one code document or different code documents. Furthermore, defining a relationship between a plurality of entities in a description code may mean the existence of a code defining the relationship or may mean that the pattern of the first description code is preset to the purpose of the first entity and the pattern of the second description code is preset to the purpose of the second entity (for example, a parent-child domain specific language (DSL)).

在這種情形下,開發支援系統10能以第一描述代碼(81)為基礎生成包含處理第一實體的資料的第一UI元件(84)的第一網頁(83)而以第二描述代碼(82)為基礎生成包含處理第二實體的資料的UI元件(86)的第二網頁(85)。此時,第一網頁(83)與第二網頁(85)能單向連接或相互連接。即,第一網頁(83)可內置能向第二網頁(85)移動的連結(link)。而且,第二UI元件(86)可以是能處理勢(cardinality)為“N”的第二實體的資料的元件。例如,可插入/顯示複數個資料(即,資料實例或記錄)的列表元件(請參閱86)等能做為第二UI元件(86)使用。In this case, the development support system 10 can generate a first web page (83) including a first UI element (84) for processing data of a first entity based on a first description code (81) and a second web page (85) including a UI element (86) for processing data of a second entity based on a second description code (82). At this time, the first web page (83) and the second web page (85) can be connected unidirectionally or mutually. That is, the first web page (83) can have a built-in link that can move to the second web page (85). Moreover, the second UI element (86) can be an element that can process data of a second entity with a cardinality of "N". For example, a list element (see 86) that can insert/display multiple data (i.e., data instances or records) can be used as the second UI element (86).

或者,開發支援系統10也能以兩個描述代碼(81、82)為基礎生成包含處理第一實體的資料的第一UI元件(舉例來說,84)和處理所述第二實體的資料的第二UI元件(舉例來說,86)的一個網頁。Alternatively, the development support system 10 can also generate a web page including a first UI component (for example, 84) for processing data of the first entity and a second UI component (for example, 86) for processing data of the second entity based on the two description codes (81, 82).

第九圖按照如前所述的內容例示了開發支援系統10所生成的網頁(91)。第九圖也為了便於理解而例示了所生成的網頁原始碼的最終渲染結果,例示了具有一對多或上下位關係的第一實體與第二實體分別為訂單採購(PO)實體與訂單採購最小存貨單位(SKU,Stock Keeping Unit)實體的情形。FIG. 9 illustrates a web page (91) generated by the development support system 10 according to the aforementioned content. FIG. 9 also illustrates the final rendering result of the generated web page source code for easier understanding, and illustrates a situation where the first entity and the second entity having a one-to-many or hierarchical relationship are a purchase order (PO) entity and a purchase order minimum stock keeping unit (SKU) entity.

如第九圖所示,開發支援系統10能利用所述描述代碼生成包含用於處理第一實體的資料的第一UI元件(92)與用於處理第二實體的資料的第二UI元件(93)的網頁(91)。而且,開發支援系統10為了處理勢(cardinality)為“N”的第二實體的資料而能把列表元件做為第二UI元件(93)使用。As shown in FIG. 9, the development support system 10 can generate a web page (91) including a first UI component (92) for processing data of a first entity and a second UI component (93) for processing data of a second entity using the description code. Furthermore, the development support system 10 can use a list component as the second UI component (93) in order to process data of a second entity whose cardinality is "N".

前文結合第八圖及第九圖說明了依據本披露內容的若干實施例的處理具有一對多(或上下位)關係的複數個實體的資料的網頁的生成方法。下面結合第十圖說明依據本披露內容的若干實施例在網頁與資料管理檔案之間的同步化方法。The above text, in conjunction with Figures 8 and 9, illustrates a web page generation method for processing data of multiple entities with a one-to-many (or hierarchical) relationship according to several embodiments of the present disclosure. The following text, in conjunction with Figure 10, illustrates a synchronization method between a web page and a data management file according to several embodiments of the present disclosure.

如第十圖所示,開發支援系統10能對處理同一資料的網頁(101)與資料管理檔案(103)執行同步化(請參閱102、104)。譬如,開發支援系統10能在網頁(101)更新時把更新事項反映到資料管理檔案(103),資料管理檔案(103)更新時能把更新事項反映到網頁(101)。根據情況,開發支援系統10也能把網頁(101)及/或資料管理檔案(103)的更新事項反映到相關的描述代碼。As shown in FIG. 10 , the development support system 10 can synchronize the web page (101) and the data management file (103) that process the same data (see 102 and 104). For example, when the web page (101) is updated, the development support system 10 can reflect the updated information in the data management file (103), and when the data management file (103) is updated, the update information can be reflected in the web page (101). Depending on the situation, the development support system 10 can also reflect the updated information of the web page (101) and/or the data management file (103) in the relevant description code.

做為更具體的例子,假設在網頁(101)的UI元件添加/刪除/變更了資料(即,資料實例或記錄)或者添加/刪除/變更了欄位。在這種情形下,可發生針對網頁(101)的更新事件,開發支援系統10則能對更新事件的發生進行響應而把網頁(101)的更新事項反映到資料管理檔案(103)。憑此,不必每次都以手工方式更新資料管理檔案(103),其結果,能大幅提高前端維護保養的效率性與便利性。As a more specific example, suppose that data (i.e., data instance or record) is added/deleted/changed or a field is added/deleted/changed in the UI element of the web page (101). In this case, an update event for the web page (101) may occur, and the development support system 10 can respond to the occurrence of the update event and reflect the update of the web page (101) to the data management file (103). As a result, it is not necessary to manually update the data management file (103) every time, and as a result, the efficiency and convenience of front-end maintenance can be greatly improved.

前文結合第十圖說明了依據本披露內容的若干實施例的網頁與資料管理檔案之間的同步化方法。The above text, in conjunction with FIG. 10 , illustrates a method for synchronizing a web page with a data management file according to several embodiments of the present disclosure.

下面將結合第十一圖說明本披露內容的若干實施例的前端開發支援方法的運用例。The following will be combined with Figure 11 to illustrate the operational examples of the front-end development support method of several embodiments of the content disclosed herein.

如第十一圖所示,所述前端開發支援方法可用來生成和預定義的業務流程結構內的複數個流程(舉例來說,111至113)相關的網頁與資料管理檔案。As shown in FIG. 11 , the front-end development support method may be used to generate web pages and data management files associated with a plurality of processes (eg, 111 to 113 ) within a predefined business process structure.

具體地,開發支援系統10從開發人員接收和特定業務流程(舉例來說,111至113)相關的描述代碼(舉例來說,由特定領域語言(DSL)編寫的和該流程相關的資料等的代碼,請參閱114至116)的輸入並且把所輸入的描述代碼(舉例來說,114至116)對映到相關的業務流程(舉例來說,111至113)而予以登記(舉例來說,把業務流程的ID與描述代碼的ID予以對映)。而且,開發支援系統10能以所輸入的描述代碼(舉例來說,114至116)為基礎生成相關業務流程(舉例來說,111至113)的網頁,每當感知到描述代碼(舉例來說,114至116)的更新就能把該更新自動反映到相關的網頁。憑此,能輕易開發出和業務流程相關的網頁,能把業務流程的變更事項快速正確地反映到網頁。Specifically, the development support system 10 receives an input of a description code (for example, a code of data related to the process written in a domain-specific language (DSL), see 114 to 116) related to a specific business process (for example, 111 to 113) from a developer and maps the input description code (for example, 114 to 116) to the related business process (for example, 111 to 113) and registers it (for example, mapping the ID of the business process with the ID of the description code). Furthermore, the development support system 10 can generate web pages related to the business process (for example, 111 to 113) based on the input description codes (for example, 114 to 116), and whenever the description codes (for example, 114 to 116) are updated, the update can be automatically reflected in the related web pages. Thus, web pages related to the business process can be easily developed, and changes in the business process can be quickly and accurately reflected in the web pages.

在若干實施例中,開發支援系統10能感知到新業務流程被添加到業務流程結構(請參閱第十一圖)內。譬如,開發支援系統10接收每當新業務流程被添加時發生的事件而能夠予以感知。而且,開發支援系統10能確定和新業務流程相關的業務流程並且把對映到所確定的業務流程的描述代碼提供給新業務流程的開發人員(舉例來說,登記在公司內部系統的開發人員)。而且,從該開發人員收到了針對新業務流程的描述代碼的輸入的話,開發支援系統10能以所輸入的描述代碼為基礎生成針對新業務流程的網頁。依據複數個本實施例,開發人員能以相關業務流程的描述代碼為基礎快速正確地編寫新業務流程的描述代碼,其結果,能快速正確地開發新業務流程相關網頁。In some embodiments, the development support system 10 can sense that a new business process has been added to the business process structure (see FIG. 11). For example, the development support system 10 can sense it by receiving an event that occurs each time a new business process is added. Furthermore, the development support system 10 can determine the business process related to the new business process and provide the description code mapped to the determined business process to the developer of the new business process (for example, a developer registered in the company's internal system). Furthermore, if an input of a description code for the new business process is received from the developer, the development support system 10 can generate a web page for the new business process based on the input description code. According to a plurality of the present embodiments, developers can quickly and correctly write description codes for new business processes based on description codes for related business processes, and as a result, can quickly and correctly develop new business process-related web pages.

在前面的複數個實施例中,擬提供給相關業務流程或開發人員的描述代碼的確定方式可以是多樣化的。In the foregoing embodiments, the description codes to be provided to relevant business processes or developers may be determined in various ways.

例如,開發支援系統10能以在業務流程結構內和新業務流程的連接關係與距離為基礎確定相關業務流程。更具體地例示的話,開發支援系統10能把和新業務流程連接的複數個業務流程或者在業務流程結構內和新業務流程的距離為基準值以下的複數個業務流程確定為相關業務流程。For example, the development support system 10 can determine the related business processes based on the connection relationship and distance between the new business process and the business process structure. More specifically, the development support system 10 can determine as the related business processes a plurality of business processes connected to the new business process or a plurality of business processes whose distance between the new business process and the business process structure is less than a baseline value.

再舉一例,開發支援系統10能依據前面的例示獲取對映到相關業務流程的第一描述代碼。而且,開發支援系統10能以和第一描述代碼的相似性為基礎進一步獲取第二描述代碼並且把第一描述代碼與第二描述代碼提供給開發人員。作為一例,第二描述代碼是定義已登記的描述代碼中和第一描述代碼相關的實體(舉例來說,存在共同欄位的實體、連接到第一描述代碼的實體的其它實體、實體名稱之間存在着共同關鍵詞的實體等)的代碼、對相同或相似的有效性驗證邏輯予以定義的代碼、對相同或相似的UI元件予以定義的的代碼、對相同或相似的外觀設計予以定義的的代碼等。但並不局限於此。As another example, the development support system 10 can obtain the first description code mapped to the relevant business process based on the previous example. Moreover, the development support system 10 can further obtain the second description code based on the similarity with the first description code and provide the first description code and the second description code to the developer. As an example, the second description code is a code that defines entities related to the first description code in the registered description code (for example, entities with common fields, other entities connected to the entity of the first description code, entities with common keywords between entity names, etc.), a code that defines the same or similar validity verification logic, a code that defines the same or similar UI elements, a code that defines the same or similar appearance design, etc. However, it is not limited to this.

前面結合第十一圖說明了本披露內容的若干實施例的前端開發支援方法的運用例。依據前文所述內容,能透過開發支援系統10輕易開發出具有相似功能與特性的業務流程相關網頁。The above-mentioned application examples of the front-end development support method of several embodiments of the present disclosure are described in conjunction with Fig. 11. According to the above-mentioned contents, business process-related web pages with similar functions and characteristics can be easily developed through the development support system 10.

下面將結合第十二圖說明能夠實現本披露內容的若干實施例的開發支援系統10的例示性計算裝置120。The following will be combined with FIG. 12 to illustrate an exemplary computing device 120 of the development support system 10 that can implement several embodiments of the present disclosure.

第十二圖是示出計算裝置120的例示性硬體組成圖。FIG. 12 is a diagram showing an exemplary hardware configuration of the computing device 120.

如第十二圖所示,計算裝置120可包括一個以上的處理器121、總線(匯流排)123、通訊接口124、加載(load)處理器121所執行的電腦程式的存儲器122、儲存電腦程式126的儲存裝置127。然而,第十二圖只示出了和本披露內容的實施例相關的要素。因此,本披露內容所屬技術領域的一般技術人員應知除了第十二圖所示要素以外還能包括其它泛用性要素。即,計算裝置120除了第十二圖所示要素以外。還能包括其它各種要素。而且,也可能視需要而以省略了第十二圖所示要素中的一部分的形態構成計算裝置120。下面說明計算裝置120的各要素。As shown in FIG. 12, the computing device 120 may include one or more processors 121, a bus 123, a communication interface 124, a memory 122 for loading a computer program executed by the processor 121, and a storage device 127 for storing a computer program 126. However, FIG. 12 only shows the elements related to the implementation example of the present disclosure. Therefore, a person of ordinary skill in the art to which the present disclosure belongs should know that other general-purpose elements may be included in addition to the elements shown in FIG. 12. That is, the computing device 120 may include various other elements in addition to the elements shown in FIG. 12. Moreover, the computing device 120 may also be configured in a form in which a part of the elements shown in FIG. 12 is omitted as needed. The elements of the computing device 120 are described below.

處理器121可控制計算裝置120的各要素的整體動作。處理器121可包括CPU(Central Processing Unit)、MPU(Micro Processor Unit)、MCU(Micro Controller Unit)、GPU(Graphic Processing Unit)、NPU(Neural Processing Unit)或本披露內容的技術領域中公知的任何形態的處理器中的至少一個地構成。而且,處理器121能針對用於執行本披露內容的實施例的動作/方法的至少一個應用程式或程式進行運算。計算裝置120可具有一個以上的處理器。The processor 121 can control the overall operation of each element of the computing device 120. The processor 121 can include at least one of a CPU (Central Processing Unit), an MPU (Micro Processor Unit), an MCU (Micro Controller Unit), a GPU (Graphic Processing Unit), an NPU (Neural Processing Unit), or any other processor known in the art of the present disclosure. Moreover, the processor 121 can operate on at least one application or program for executing the actions/methods of the embodiments of the present disclosure. The computing device 120 can have more than one processor.

接着,存儲器122可儲存各種資料、指令及/或資訊。存儲器122能從儲存裝置127加載電腦程式126以便執行本披露內容的實施例的動作/方法。存儲器122能以RAM之類的揮發性存儲器實現,但本披露內容的技術範圍並不局限於此。Then, the memory 122 can store various data, instructions and/or information. The memory 122 can load the computer program 126 from the storage device 127 to execute the actions/methods of the embodiments of the present disclosure. The memory 122 can be implemented as a volatile memory such as RAM, but the technical scope of the present disclosure is not limited thereto.

接着,總線(匯流排)123能為計算裝置120的要素之間提供通訊功能。匯流排123能以位址匯流排(Address Bus)、資料匯流排(Data Bus)及控制匯流排(Control Bus)等各種形態的匯流排實現。Next, the bus 123 can provide communication functions between the elements of the computing device 120. The bus 123 can be implemented in various forms of buses such as an address bus, a data bus, and a control bus.

接着,通訊接口124可支援計算裝置120的有線無線網際網路通訊。而且,通訊接口124也能支援網際網路通訊以外的各種通訊方式。為此,通訊接口124可包括本披露內容的技術領域中公知的通訊模組地構成。Next, the communication interface 124 can support the wired or wireless Internet communication of the computing device 120. Moreover, the communication interface 124 can also support various communication methods other than Internet communication. To this end, the communication interface 124 can include a communication module structure known in the technical field of the present disclosure.

接着,儲存裝置127能非臨時性地儲存一個以上的電腦程式126。儲存裝置127可包括ROM(Read Only Memory)、EPROM(Erasable Programmable ROM)、EEPROM(Electrically Erasable Programmable ROM)、閃存存儲器之類的非揮發性存儲器、以及硬碟、裝卸式硬碟、或本披露內容所述技術領域中公知的任何形態的電腦可讀存儲裝置地構成。Next, the storage device 127 can store one or more computer programs 126 non-temporarily. The storage device 127 can include non-volatile memory such as ROM (Read Only Memory), EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM), flash memory, and hard disk, removable hard disk, or any form of computer readable storage device known in the technical field described in the present disclosure.

接着,電腦程式126被加載到存儲器122時,可包括驅使處理器121執行本披露內容的各種實施例的動作/方法的一個以上的指令(instruction)。即,處理器121執行所加載的一個以上的指令而能夠執行本披露內容的各種實施例的動作/方法。Next, when the computer program 126 is loaded into the memory 122, it may include one or more instructions that drive the processor 121 to execute the actions/methods of various embodiments of the present disclosure. That is, the processor 121 executes the one or more loaded instructions to execute the actions/methods of various embodiments of the present disclosure.

例如,電腦程式126可包括執行下列動作的指令:獲取由預定義的規範語言編寫並包含目標資料的定義代碼的描述代碼、以描述代碼為基礎生成處理目標資料的網頁、對於描述代碼的更新的被感知進行響應而把更新反映到所生成的網頁。在這種情形下,可透過計算裝置120實現本披露內容的若干實施例的開發支援系統10。For example, the computer program 126 may include instructions for executing the following actions: obtaining description code written in a predefined specification language and including definition code of target data, generating a web page for processing target data based on the description code, and responding to perceived updates of the description code by reflecting the updates to the generated web page. In this case, the development support system 10 of several embodiments of the present disclosure can be implemented through the computing device 120.

另一方面,在若干實施例中,第十二圖所示計算裝置120也可能意味着以雲技術為基礎實現的虛擬機器。譬如,計算裝置120可以是在伺服器農場(server farm)所含一個以上的物理伺服器(physical server)上動作的虛擬機器,這種情況下,第十二圖所示處理器121、存儲器122及儲存裝置127中的至少一部分可以是虛擬硬體(virtual hardware),通訊接口124也可以是以諸如虛擬交換器(virtual switch)之類的虛擬化的組網要素實現的。On the other hand, in some embodiments, the computing device 120 shown in FIG. 12 may also mean a virtual machine implemented based on cloud technology. For example, the computing device 120 may be a virtual machine operating on one or more physical servers contained in a server farm. In this case, at least a portion of the processor 121, the memory 122, and the storage device 127 shown in FIG. 12 may be virtual hardware, and the communication interface 124 may also be implemented by virtualized networking elements such as a virtual switch.

前文結合第十二圖說明了可實現本披露內容的若干實施例的開發支援系統10的例示性計算裝置120。The foregoing text, in conjunction with FIG. 12 , illustrates an exemplary computing device 120 of the development support system 10 that can implement several embodiments of the present disclosure.

前文結合第一圖至第十二圖記載了本披露內容的各種實施例及這些實施例的效果。本披露內容的技術精神所致效果並不局限於前文所提及的效果,一般技術人員可以從本說明書的記載中明確地了解到前文沒有提到的其它效果。The above text describes various embodiments of the present disclosure and the effects of these embodiments in conjunction with the first to twelfth figures. The effects caused by the technical spirit of the present disclosure are not limited to the effects mentioned above, and ordinary technical personnel can clearly understand other effects not mentioned above from the description of this specification.

而且,在前文所述諸多實施例中,不能因為複數個要素被說明為結合成一個或者結合後動作而使得本披露內容的技術精神必須局限於該實施例。也就是說,只要是在本披露內容的技術精神的目的範圍內,其一切要素也可選擇性地結合成一個以上後動作。Moreover, in the above-mentioned embodiments, the technical spirit of the present disclosure should not be limited to the embodiments just because a plurality of elements are described as being combined into one or a combined action. In other words, as long as it is within the scope of the purpose of the technical spirit of the present disclosure, all elements can also be selectively combined into one or more subsequent actions.

前文所說明的本披露內容的技術精神能在電腦可讀介質上以電腦可讀程式碼實現。電腦可讀存儲裝置所儲存的電腦程式可透過網際網路之類的網路傳輸到其它計算裝置後安裝到所述其它計算裝置,從而能在所述其它計算裝置使用。The technical spirit of the present disclosure described above can be implemented in a computer-readable program code on a computer-readable medium. The computer program stored in the computer-readable storage device can be transmitted to other computing devices through a network such as the Internet and then installed in the other computing devices, so that it can be used in the other computing devices.

在圖式中按照特定順序示出了動作,但並不能將其闡釋為動作必須按照所示特定順序或依次按照順序執行或者必須執行所示出的一切動作才能得到所需要的結果。在特定狀況下,也可能是多工處理及並聯處理較為有利。In the drawings, actions are shown in a particular order, but it should not be interpreted that the actions must be performed in the particular order shown or in sequence, or that all the actions shown must be performed to obtain the desired results. In certain circumstances, multiple processing and parallel processing may be more advantageous.

前文結合圖式說明了本披露內容的各種實施例,但本披露內容所屬技術領域中具有一般知識者當知,在沒有變更其技術精神或必要特徵的情形下本發明可以出現其它各種具體形態的實施例。因此前文記載的實施例在所有方面都應闡釋為僅為例示而沒有限定性。本披露內容的保護範圍應根據申請專利範圍闡釋,而且其等值範圍內的所有技術精神均應闡釋為包含在本披露內容所定義的技術精神的權利範圍。The foregoing text describes various embodiments of the present disclosure in conjunction with the drawings, but a person of ordinary skill in the art to which the present disclosure belongs should know that the present invention may have other various specific embodiments without changing its technical spirit or essential features. Therefore, the embodiments described in the foregoing text should be interpreted in all aspects as merely illustrative and non-limiting. The scope of protection of the present disclosure should be interpreted according to the scope of the patent application, and all technical spirits within the equivalent scope should be interpreted as the scope of rights included in the technical spirit defined in the present disclosure.

10:開發支援系統10: Development support system

11、21、31、51、81、82、114、115、116:描述代碼11, 21, 31, 51, 81, 82, 114, 115, 116: Description code

12、22、32、61、83、85、91、101:網頁12, 22, 32, 61, 83, 85, 91, 101: Web pages

13、23、33、103:資料管理檔案13, 23, 33, 103: Data management files

S41、S42、S43、S44:步驟S41, S42, S43, S44: Steps

62、84、86、92、93:UI元件62, 84, 86, 92, 93: UI components

63:按鍵元件63: Button components

71:Excel檔案71:Excel file

102、104:同步化相關資料102, 104: Synchronize related data

111、112、113:業務流程111, 112, 113: Business Process

120:計算裝置120: Computing device

121:處理器121:Processor

122:存儲器122: Storage

123:總線(匯流排)123: Bus

124:通訊接口124: Communication interface

125:儲存裝置125: Storage device

126:電腦程式126: Computer Programs

第一圖至第三圖是用於概略說明本披露內容的若干實施例的開發支援系統的動作的例示性圖形。FIG. 1 to FIG. 3 are exemplary diagrams for schematically illustrating the operation of the development support system according to some embodiments of the present disclosure.

第四圖是示出本披露內容的若干實施例的前端開發支援方法的例示性流程圖。FIG. 4 is an illustrative flowchart of a front-end development support method showing several embodiments of the present disclosure.

第五圖示出了本披露內容的若干實施例可參照的描述代碼的實例。FIG5 shows an example of description codes to which several embodiments of the present disclosure may refer.

第六圖例示了可透過第五圖所示描述代碼生成的網頁。FIG. 6 illustrates a web page that can be generated using the description code shown in FIG. 5 .

第七圖例示了可透過第五圖所示描述代碼生成的資料管理檔案。FIG. 7 illustrates an example of a data management file that can be generated by the description code shown in FIG. 5 .

第八圖及第九圖是用於說明依據本披露內容的若干實施例的處理具有一對多(或上下位)關係的實體資料的複數個網頁的生成方法的例示性圖形。FIG. 8 and FIG. 9 are exemplary diagrams for illustrating a method for generating a plurality of web pages for processing entity data having a one-to-many (or hierarchical) relationship according to some embodiments of the present disclosure.

第十圖是用於說明本披露內容的若干實施例的網頁與資料管理檔案之間的同步化方法的例示性圖形。FIG. 10 is an exemplary diagram for illustrating a synchronization method between a web page and a data management file according to some embodiments of the present disclosure.

第十一圖是用於說明本披露內容的若干實施例的前端開發支援方法的運用例的例示性圖形。FIG. 11 is an illustrative diagram of an example of an operation of a front-end development support method for illustrating several embodiments of the present disclosure.

第十二圖示出了可實現披露內容的若干實施例的開發支援系統的例示性計算裝置。FIG. 12 illustrates an exemplary computing device of a development support system that may implement several embodiments of the disclosed content.

S41、S42、S43、S44:步驟 S41, S42, S43, S44: Steps

Claims (16)

一種前端開發支援方法,該方法由至少一個計算裝置執行,包括下列步驟: 獲取由預定義的規範語言編寫的描述(description)代碼(所述描述代碼包括定義目標資料的欄位的代碼); 以所述描述代碼為基礎生成處理所述目標資料的網頁;及, 對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的網頁。 A front-end development support method, which is executed by at least one computing device, comprises the following steps: Obtaining a description code written in a predefined specification language (the description code includes a code defining a field of target data); Generating a web page for processing the target data based on the description code; and, Responding to the perception of an update of the description code and reflecting the update to the generated web page. 如請求項1之前端開發支援方法,其特徵在於, 所述規範語言是特定領域語言(DSL:Domain Specific Language)。 The front-end development support method of claim 1 is characterized in that the specification language is a domain specific language (DSL). 如請求項1之前端開發支援方法,其特徵在於, 所述描述代碼包括定義所述目標資料的複數個欄位中至少一部分欄位的屬性的代碼。 The front-end development support method of claim 1 is characterized in that, the description code includes a code defining the attributes of at least a portion of the multiple fields of the target data. 如請求項1之前端開發支援方法,其特徵在於, 所述描述代碼包含針對所述目標資料的複數個欄位中至少一部分欄位的值的有效性檢驗邏輯進行定義的代碼, 所述生成的網頁則針對所述至少一部分欄位的值的輸入進行響應而執行依據所述有效性檢驗邏輯的檢驗。 The front-end development support method of claim 1 is characterized in that, the description code includes a code defining the validity check logic for the values of at least a portion of the multiple fields of the target data, the generated web page performs a check based on the validity check logic in response to the input of the values of at least a portion of the fields. 如請求項1之前端開發支援方法,其特徵在於, 還包括下列步驟,即,以所述描述代碼為基礎生成針對所述目標資料的資料管理檔案。 The front-end development support method of claim 1 is characterized in that it also includes the following steps, namely, generating a data management file for the target data based on the description code. 如請求項5之前端開發支援方法,其特徵在於, 所述資料管理檔案是試算表形式的檔案。 The front-end development support method of claim 5 is characterized in that the data management file is a file in the form of a spreadsheet. 如請求項5之前端開發支援方法,其特徵在於, 還包括下列步驟,即,對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的資料管理檔案。 The front-end development support method of claim 5 is characterized in that it also includes the following steps, namely, responding to the perceived update of the description code and reflecting the update to the generated data management file. 如請求項5之前端開發支援方法,其特徵在於, 所述描述代碼的更新是第一更新, 還包括下述步驟:針對所述資料管理檔案的第二更新的被感知進行響應而把所述第二更新反映到所述生成的網頁。 The front-end development support method of claim 5 is characterized in that, the update of the description code is a first update, and further includes the following steps: responding to the perception of a second update of the data management file and reflecting the second update to the generated web page. 如請求項1之前端開發支援方法,其特徵在於, 所述網頁是複數個, 所述描述代碼的更新一律反映到所述複數個網頁。 The front-end development support method of claim 1 is characterized in that, the web pages are multiple, the update of the description code is reflected in all the multiple web pages. 如請求項1之前端開發支援方法,其特徵在於, 反映所述更新的步驟包括下列步驟: 接收針對所述更新了的描述代碼的提交(commit)請求;及, 針對所述提交請求進行響應而把所述更新了的描述代碼反映到所述生成的網頁。 The front-end development support method of claim 1 is characterized in that, the step of reflecting the update includes the following steps: receiving a commit request for the updated description code; and, responding to the commit request and reflecting the updated description code to the generated web page. 如請求項1之前端開發支援方法,其特徵在於, 所述獲取的描述代碼包括定義第一實體的複數個欄位、第二實體的複數個欄位及所述第一實體與所述第二實體的關系的代碼, 所述第一實體與所述第二實體具有一對多關系或上下位關系, 所述網頁生成步驟包括下列步驟: 生成處理所述第一實體的資料的第一網頁;及, 生成包含處理所述第二實體的資料的UI元件並且和所述第一網頁連接的第二網頁; 所述UI元件是可插入複數個資料的元件。 The front-end development support method of claim 1 is characterized in that, the obtained description code includes a code defining a plurality of fields of a first entity, a plurality of fields of a second entity, and a relationship between the first entity and the second entity, the first entity and the second entity have a one-to-many relationship or a hierarchical relationship, the web page generation step includes the following steps: generating a first web page for processing data of the first entity; and, generating a second web page including a UI element for processing data of the second entity and connected to the first web page; the UI element is an element into which a plurality of data can be inserted. 如請求項1之前端開發支援方法,其特徵在於, 所述獲取的描述代碼包括定義第一實體的複數個欄位、第二實體的複數個欄位及所述第一實體與所述第二實體的關系的代碼, 所述第一實體與所述第二實體具有一對多關系或上下位關系, 所述網頁生成步驟包括下述步驟: 生成包含處理所述第一實體的資料的第一UI元件與處理所述第二實體的資料的第二UI元件的網頁; 所述第二UI元件是可插入複數個資料的元件。 The front-end development support method of claim 1 is characterized in that, the obtained description code includes a code defining a plurality of fields of a first entity, a plurality of fields of a second entity, and a relationship between the first entity and the second entity, the first entity and the second entity have a one-to-many relationship or a hierarchical relationship, the web page generation step includes the following steps: generating a web page including a first UI element for processing data of the first entity and a second UI element for processing data of the second entity; the second UI element is an element into which a plurality of data can be inserted. 如請求項1之前端開發支援方法,其特徵在於, 所述目標資料是預定義的業務流程結構內的特定業務流程中使用的資料, 所述網頁生成步驟包括下列步驟: 把所述特定業務流程對映到所述描述代碼;及, 以所述描述代碼為基礎生成所述特定業務流程的網頁。 The front-end development support method of claim 1 is characterized in that, the target data is data used in a specific business process within a predefined business process structure, the web page generation step includes the following steps: mapping the specific business process to the description code; and, generating a web page for the specific business process based on the description code. 如請求項13之前端開發支援方法,其特徵在於, 還包括下列步驟: 針對所述業務流程結構內添加新業務流程進行感知; 對所述感知進行響應而確定和所述新業務流程相關的業務流程(所述相關的業務流程以在所述業務流程結構內和所述新業務流程的連接關係與距離為基礎確定); 向所述新業務流程的開發人員提供對映到所述確定的業務流程的描述代碼; 從所述開發人員獲取針對所述新業務流程的新描述代碼;及, 以所述新描述代碼為基礎生成針對所述新業務流程的網頁。 The front-end development support method of claim 13 is characterized in that, it also includes the following steps: sensing the addition of a new business process in the business process structure; responding to the sensing and determining a business process related to the new business process (the related business process is determined based on the connection relationship and distance between the new business process and the business process structure); providing a description code corresponding to the determined business process to the developer of the new business process; obtaining a new description code for the new business process from the developer; and, generating a web page for the new business process based on the new description code. 一種開發支援系統,其特徵在於, 包括一個以上的處理器及儲存複數個指令的存儲器, 所述一個以上的處理器執行所述儲存的複數個指令而進行下列動作: 獲取由預定義的規範語言編寫的描述(description)代碼(所述描述代碼包括定義目標資料的欄位的代碼), 以所述描述代碼為基礎生成處理所述目標資料的網頁;及, 對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的網頁。 A development support system, characterized in that, it includes one or more processors and a memory storing a plurality of instructions, the one or more processors execute the stored plurality of instructions to perform the following actions: obtain a description code written in a predefined specification language (the description code includes a code defining a field of target data), generate a web page for processing the target data based on the description code; and, respond to the perception of an update to the description code and reflect the update to the generated web page. 一種電腦程式,其特徵在於, 儲存在電腦可讀存儲裝置以便和計算裝置結合並執行下列步驟, 獲取由預定義的規範語言編寫的描述(description)代碼(所述描述代碼包括定義目標資料的欄位的代碼); 以所述描述代碼為基礎生成處理所述目標資料的網頁;及, 對於所述描述代碼的更新的被感知進行響應而把所述更新反映到所述生成的網頁。 A computer program characterized by being stored in a computer-readable storage device so as to be combined with a computing device and executing the following steps, obtaining a description code written in a predefined specification language (the description code includes a code defining a field of target data); generating a web page for processing the target data based on the description code; and, responding to the perception of an update to the description code and reflecting the update to the generated web page.
TW112147370A 2022-12-28 2023-12-06 Method for supporting front-end development and system thereof TWI889050B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220186624A KR20240105549A (en) 2022-12-28 2022-12-28 Method for supporting front-end development and system thereof
KR10-2022-0186624 2022-12-28

Publications (2)

Publication Number Publication Date
TW202427184A true TW202427184A (en) 2024-07-01
TWI889050B TWI889050B (en) 2025-07-01

Family

ID=

Also Published As

Publication number Publication date
WO2024143679A1 (en) 2024-07-04
KR20240105549A (en) 2024-07-08

Similar Documents

Publication Publication Date Title
CN113076104B (en) Page generation method, device, equipment and storage medium
KR102432104B1 (en) Systems and methods for determining relationships between data elements
US8352914B2 (en) Impact analysis of software change requests
US11886792B1 (en) Model documentation generation system
US9047346B2 (en) Reporting language filtering and mapping to dimensional concepts
US9575819B2 (en) Local buffers for event handlers
US11347492B2 (en) Software deployment control using blockchain
US11611627B2 (en) Action flow fragment management
US9141344B2 (en) Hover help support for application source code
US11947567B2 (en) System and method for computing and managing datasets using hierarchical analytics
CN109829141B (en) Project table generation method and device
CN113032393A (en) Method and device for binding associated object
CN112445499A (en) Derived variable determination method, device, equipment and storage medium
US10282398B1 (en) Editing tool for domain-specific objects with reference variables corresponding to preceding pages
Steimann From well-formedness to meaning preservation: model refactoring for almost free
US9898262B2 (en) User interface event orchestration
TWI889050B (en) Method for supporting front-end development and system thereof
TW202427184A (en) Method for supporting front-end development and system thereof
US11062221B1 (en) Extensible data structures for rule based systems
US11803609B2 (en) Method and system for navigation control to select a target page from possible target pages
EP2199901A1 (en) Impact analysis of software change requests
CN107967137A (en) Data management method and device
US10846202B2 (en) Multi-language heap analyzer
Bucchiarone et al. From OCL to JSX: declarative constraint modeling in modern SaaS tools
CN114998038A (en) Abnormal policy processing method and system