TW201545046A - Method for automatically generate fields of drop-down menu by foreign keys corresponding to data sheet - Google Patents
Method for automatically generate fields of drop-down menu by foreign keys corresponding to data sheet Download PDFInfo
- Publication number
- TW201545046A TW201545046A TW103117654A TW103117654A TW201545046A TW 201545046 A TW201545046 A TW 201545046A TW 103117654 A TW103117654 A TW 103117654A TW 103117654 A TW103117654 A TW 103117654A TW 201545046 A TW201545046 A TW 201545046A
- Authority
- TW
- Taiwan
- Prior art keywords
- data table
- foreign key
- drop
- field
- webpage
- Prior art date
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本發明係有關於一種以外來鍵對映資料表自動產生下拉式表單欄位之方法,尤其是指一種建立外來鍵對映資料表與主資料表之關聯,使得網頁開發者僅需新增或修改對應關係表上的內容,即能以最迅速、簡單的方式,自動產生可存取外來鍵對映資料表之網頁程式碼,並將外來鍵屬性資料以下拉式選單呈現,藉以快速開發網頁應用程式的表單者。The invention relates to a method for automatically generating a drop-down form field in a foreign key mapping data table, in particular to establishing an association between a foreign key mapping data table and a master data table, so that the web developer only needs to add or By modifying the content on the corresponding relationship table, the webpage code of the foreign key mapping data table can be automatically generated in the fastest and simple manner, and the foreign key attribute data is presented in the pull-down menu to quickly develop the webpage. The form's application.
不同的企業對網頁表單具有不同的需求,針對網站網頁的編輯製作軟體目前有例如微軟的Front Page、Visual Studio,以及Adobe推出的Dreamweaver等,其需具備相關操作與程式設計知識,因此並非每個人皆能熟練地進行網頁編輯;而當編輯網頁時,各網頁頁面係皆由設計者從現有之檔案資料中逐一產生,因此傳統之網頁編輯相當耗時,且一般人並無使用或撰寫超文字標記語言(HTML)之訓練;舉例而言,一般的網站互動程式開發包含了網頁表單與網路服務程式(Web Service),開發者在資料庫的資料表建立後,必須撰寫可處理新增、修改、刪除與查詢等互動程式;以網頁表單程式為例,表單中包含了一個資料表所需輸入欄位資料的輸入介面,並在送出後由後端程式接收且將資料寫入資料表中對應的欄位,開發過程不僅相當繁瑣,且前端之表單欄位長度經常無法符合後端對應之資料表欄位長度,導致輸入之資料部分遺失或無法寫入資料表之情形發生。Different companies have different needs for web forms. The editing software for website pages currently has such things as Microsoft's Front Page, Visual Studio, and Adobe's Dreamweaver. It requires relevant operations and programming knowledge, so not everyone. All of them can be skillfully edited on the webpage. When editing a webpage, each webpage page is generated by the designer from the existing archives. Therefore, the traditional webpage editing is quite time consuming, and the average person does not use or write the hypertext markup. Language (HTML) training; for example, the general website interactive program development includes a web form and a web service program. After the developer establishes the data sheet of the database, the developer must write to handle the addition and modification. An interactive program such as deletion and query; taking a web form program as an example, the form contains an input interface for inputting field data of a data table, and is sent by the backend program after being sent and written into the data table. The development process is not only cumbersome, but the length of the form field on the front end is often not Closing the rear end of the corresponding data table field length, resulting in part of the input data is lost or can not write to the table of the case occurred.
此外,目前在製作連結資料庫的網頁時,要產生資料動態連結的功能的工作十分複雜:一般而言,先要定義出在資料庫的資料間傳遞變數的規則指令,接著必須在網頁查詢資料時動態在資料上附加連結,同時要製作可以動態接受連結進行處理後更新資料的網頁;而一般所使用的編碼或編輯工具卻缺乏對應的功能,例如:提供定義傳收連結的規則,使建立、傳送及接收連結的能按一定的標準進行,並在網頁中植入程式碼,使網頁所在的伺服器端可以隨收到的參數進行各種工作;因此,上述工作必須要由熟悉網頁程式語言與資料庫的相關人士進行程式編碼和網頁程式碼編輯的工作;請參閱中華民國發明專利公告第507142號所揭露之『模組化之網頁編輯與即時轉換之網頁顯示系統與方法』,其係提供一種應用於網際網路上之網頁編輯與顯示的系統與方法,使得商家的網頁編輯者或是美編人員可以於伺服器主機下載模組化的檔案,來製作與編輯示意性質的網頁,完成後上傳儲存於伺服器主機;然,由於資料庫係已建置於伺服器主機,使得資料的輸入被限定在由伺服器程式所設定的網站架構下,且現有的表單欄位並無法動態的設定所需的欄位長度、欄位檢核規則、輸入提示訊息等欄位的相關設定,導致網頁編輯者必須對每一表單欄位撰寫程式,增加網站開發者及程式設計人員的開發流程及時程;再者,一般於網頁表單中欲製作下拉式選單,網頁開發者必須自己設定選項(option),且每個選項需給不同的代碼以供程式判讀,造成網頁開發者在製作下拉式選單時,需要將這些選項及其代碼記憶,當選項有多個時,記憶上甚是麻煩。In addition, at present, when creating a webpage linking the database, the work of generating the dynamic link function of the data is very complicated: generally, the rule instruction for transferring variables between the data of the database is first defined, and then the data must be queried on the webpage. Dynamically attach a link to the data, and at the same time create a web page that can dynamically accept the link for processing and update the data; however, the commonly used encoding or editing tools lack corresponding functions, such as: providing rules for defining the collection link, enabling the establishment The transmission and reception links can be carried out according to certain standards, and the code is embedded in the webpage, so that the server end of the webpage can perform various tasks along with the received parameters; therefore, the above work must be familiar with the webpage programming language. Work with the relevant persons of the database for program coding and web code editing; please refer to the "Modular Web Page Editing and Instant Conversion Web Display System and Method" disclosed in the Republic of China Invention Patent Notice No. 507142. Provide a system and method for web page editing and display on the Internet The method enables the web page editor or the beauty editor of the merchant to download the modular file on the server host to create and edit the schematic webpage, and upload and store it on the server host after completion; however, since the database is already Built on the server host, the input of the data is limited to the website structure set by the server program, and the existing form field cannot dynamically set the required column length, field check rule, input. The related settings of the fields such as the prompt message, the web page editor must write a program for each form field, and increase the development process and schedule of the website developer and the programmer; in addition, generally, the pull-down menu is created in the web form. Web developers must set their own options, and each option requires different code for the program to interpret, causing web developers to remember these options and their code when making drop-down menus. When it comes to memory, it is trouble.
今,發明人即是鑑於上述之網頁程式開發方法存在有諸多缺失,於是乃一本孜孜不倦之精神,並藉由其豐富之專業知識及多年之實務經驗所輔佐,而加以改善,並據此研創出本發明。Nowadays, the inventor is in view of the many shortcomings in the above-mentioned webpage development method, so it is a tireless spirit, and it is improved by its rich professional knowledge and years of practical experience. The present invention has been made.
本發明主要目的係為提供一種以外來鍵對映資料表自動產生下拉式表單欄位之方法,尤其是指一種建立外來鍵對映資料表與主資料表之關聯,使得網頁開發者僅需新增或修改對應關係表上的內容,即能以最迅速、簡單的方式,自動產生可存取外來鍵對映資料表之網頁程式碼,並將外來鍵屬性資料以下拉式選單呈現,藉以解決傳統網站開發者於製作下拉式選單時,需要將選單的選項及其代碼記憶上的麻煩,進一步優化程式設計人員的開發流程及時程。The main purpose of the present invention is to provide a method for automatically generating a drop-down form field in a foreign key mapping data table, in particular to establish a correlation between a foreign key mapping data table and a master data table, so that the web developer only needs new By adding or modifying the content on the corresponding relationship table, the webpage code of the foreign key mapping data table can be automatically generated in the quickest and simple manner, and the foreign key attribute data is presented in the pull-down menu, thereby solving the problem. Traditional web developers need to refine the options and their code memory when making drop-down menus to further optimize the programmer's development process.
為了達到上述實施目的,本發明人提出一種以外來鍵對映資料表自動產生下拉式表單欄位之方法,係適用於一具有關聯式資料庫之網頁編輯系統,其方法包括有:網頁開發者首先建立關聯式資料庫之主資料表,主資料表包括至少一對應表單欄位之欄位名稱參數;接著,建立一外來鍵對映資料表,外來鍵對映資料表則包括對應下拉式表單欄位之外來鍵屬性資料,外來鍵屬性資料係由編號、顯示名稱,以及編碼三種欄位名稱參數所組成;再建立上述外來鍵屬性資料之三種欄位名稱參數的對應關係表;並以編號之欄位名稱參數建立外來鍵對映資料表與主資料表之關聯,其中主資料表包括該編號之欄位名稱參數;最後,利用關聯式資料庫之資料庫詮釋資料獲得匯入鍵值,使得關聯式資料庫内的任何資料項目,可透過匯入鍵值中的主鍵資料表名稱、外來鍵資料表名稱、主鍵行名稱以及外來鍵行名稱進行存取,並以可存取關聯式資料庫之程式建立出對應主資料表與外來鍵對映資料表之網頁程式碼檔案,網頁程式碼檔案於網頁編輯系統即可產生相對應之靜態或動態的下拉式表單欄位。In order to achieve the above-mentioned implementation purpose, the inventors propose a method for automatically generating a drop-down form field by a foreign key mapping data table, which is applicable to a webpage editing system with an associated database, and the method includes: a web developer Firstly, a master data table of the associated database is established. The master data table includes at least one field name parameter corresponding to the field of the form; then, a foreign key mapping data table is established, and the foreign key mapping data table includes a corresponding drop-down form. Field key attribute data, foreign key attribute data is composed of number, display name, and encoding three field name parameters; then establish the corresponding relationship table of the three field name parameters of the foreign key attribute data; The field name parameter establishes an association between the foreign key mapping data table and the main data table, wherein the main data table includes the field name parameter of the number; finally, the data is interpreted by the database of the associated database to obtain the import key value. Make any data item in the associated database accessible through the primary key data table name in the import key The foreign key data table name, the primary key row name, and the foreign key row name are accessed, and the webpage code file corresponding to the master data table and the foreign key mapping data table is created by the program that can access the associated database, and the webpage program The code file can generate a corresponding static or dynamic drop-down form field in the webpage editing system.
在本發明的一個實施例中,其中屬性資料可包括有一欄位名稱參數、一欄位長度參數、一資料型態參數、一主鍵參數、非無參數、唯一參數、二進位參數、無正負號參數、零填充參數,以及自動增號參數。In an embodiment of the present invention, the attribute data may include a field name parameter, a field length parameter, a data type parameter, a primary key parameter, a non-parameter, a unique parameter, a binary parameter, and an unsigned sign. Parameters, zero-fill parameters, and auto-enlargement parameters.
在本發明的一個實施例中,其中關聯式資料庫可為SQL Server、MySQL、DB2或Oracle其中之一;且可存取關聯式資料庫之程式包括有編譯器和直譯器程式。In an embodiment of the present invention, the associated database may be one of SQL Server, MySQL, DB2, or Oracle; and the program that can access the associated database includes a compiler and an interpreter program.
本發明之目的及其結構設計功能上的優點,將依據以下圖面所示之較佳實施例予以說明並清楚呈現,俾使審查委員能對本發明有更深入且具體之瞭解。The object of the present invention and its structural design and advantages will be apparent from the following detailed description of the preferred embodiments.
首先,為了更佳地瞭解本發明,首先將簡要地說明外來鍵 (Foreign Key,FK)之基本概念,資料庫中的外來鍵是用來連結其他資料表之用,如果甲資料表中的某個欄位必須對照到乙資料表中的主鍵,才會使得該欄位的值變的有意義,則我們稱該欄位為甲資料表的外來鍵,其目的是確定資料的參考完整性 (Referential Integrity);而在關聯式資料庫(1)中,資料表之間的關係是藉由外來鍵來建立的,舉例而言,假設我們有兩個表格:一個 『顧客』資料表,裡面記錄了所有顧客的資料;另一個『訂單』資料表,裡面記錄了所有顧客訂購的資料,當所有的訂購資料中的顧客,都必須在『顧客』資料表中存在時,我們就會在 『訂單』資料表中設定一個外來鍵,而這個外來鍵是指向 『顧客』資料表中的主鍵,如此就可以確定所有在 『訂單』資料表中的顧客都存在『顧客』資料表中。接著,請參閱第一、二圖所示,分別為本發明方法之步驟流程圖,以及適用於本發明方法之網頁編輯系統方塊示意圖,本發明之以外來鍵對映資料表自動產生下拉式表單欄位之方法,係適用於一具有關聯式資料庫(1)之網頁編輯系統(A),其中網頁編輯系統(A)可為習知具網頁編輯模組的網頁編輯系統(A),網頁開發者(B)可以選擇其中的各種資料並進行編輯,網頁編輯系統(A)則可依各種設定將資料以表格、圖表或其他型態的表示方法呈現於網頁,而關聯式資料庫(1)可例如但不限定為SQL Server、MySQL、DB2或Oracle其中之一,本發明之方法步驟包括有:First of all, in order to better understand the present invention, the basic concept of foreign key (FK) will be briefly explained first. The foreign key in the database is used to link other data tables, if a certain data table The field must be compared to the primary key in the data sheet to make the value of the field meaningful. We call this field the foreign key of the data sheet. The purpose is to determine the reference integrity of the data. Integrity); In the relational database (1), the relationship between the data tables is established by external keys. For example, suppose we have two tables: a "customer" data sheet, which records All customer information; another "order" data sheet, which records all customer orders, when all the customers in the order information must be in the "customer" data sheet, we will be in the "order" A foreign key is set in the data table, and the foreign key is a primary key in the "customer" data table, so that all the items in the "order" data table can be determined. Off there "customer" data sheet. Next, please refer to the first and second figures, which are respectively a flow chart of the steps of the method of the present invention, and a block diagram of a webpage editing system suitable for the method of the present invention. The external key mapping data table of the present invention automatically generates a pull-down form. The method of the field is applicable to a webpage editing system (A) having an associated database (1), wherein the webpage editing system (A) can be a webpage editing system (A) of a webpage editing module, a webpage The developer (B) can select various materials and edit them. The webpage editing system (A) can present the data to the webpage in the form of tables, charts or other types according to various settings, and the related database (1) For example, but not limited to, one of SQL Server, MySQL, DB2, or Oracle, the method steps of the present invention include:
步驟一(S1):網頁開發者(B)建立關聯式資料庫(1)之主資料表(11),主資料表(11)包括至少一對應表單欄位(16)之欄位名稱參數(111);其中,建立主資料表(11)之具體方法可參考本案發明人於102年12月31日向 鈞局提出之發明專利申請案號第102149379號『互動式網頁程式自動產生方法』以及第102149383號『從資料集詮釋資料產生表單驗證程式與對應表單介面之方法』;因非本案重點,在此不詳細說明,特將其所有內容包含於此作為參考;Step 1 (S1): The web developer (B) establishes a master data table (11) of the associated database (1), and the master data table (11) includes at least one field name parameter corresponding to the form field (16) ( 111); Among them, the specific method for establishing the master data sheet (11) can refer to the invention patent application number 102149379, "Automatic generation method of interactive webpage program" and the first inventor of the present invention on December 31, 102 102149383 "Method for generating form verification program and corresponding form interface from dataset interpretation data"; as it is not the focus of this case, it will not be described in detail here, and all its contents are included herein for reference;
步驟二(S2):建立一外來鍵對映資料表(12),外來鍵對映資料表(12)包括對應下拉式表單欄位(17)之外來鍵屬性資料(121),外來鍵屬性資料(121)係由編號(1211)、顯示名稱(1212),以及編碼(1213)三種欄位名稱參數(Column Name)所組成;請一併參閱第三圖所示,為本發明之外來鍵對映資料表電腦造影影像圖,在此必須說明的,本說明書之第三~七圖之圖式係在無法參照工程製圖方法以墨線繪製圖式的情況下,且能直接再現並符合圖式所適用之其他規定,根據專利審查基準2-1-37頁,以照片取代之;此外,上述之外來鍵屬性資料(121)更包括有一資料型態參數(Datatype)、一欄位長度參數(資料型態參數後之數值)、一主鍵參數(primary key,PK)、非無參數(not null,NN)、唯一參數(unique,UQ)、二位元參數(binary,BIN)、無正負號參數(unsigned,UN)、零填充參數(zero fill,ZF),以及自動增號參數(auto increment,AI)等適用於資料欄位之型別;而上述之資料型態參數可為整數、正整數僅到255的整數(TINYINT)、字元(VARCHAR)等;而於本具體實施例中,編號(1211)、顯示名稱(1212),以及編碼(1213)欄位名稱參數分別為LanguageID、LanguageName以及LanguageEncode;且吾人應瞭解上述之欄位名稱參數(111)係為了說明方便起見,而非以本例所舉為限,在此並不限定本具體實施例之欄位名稱參數;Step 2 (S2): Establish a foreign key mapping data table (12), and the foreign key mapping data table (12) includes a corresponding key attribute data (121) corresponding to the pull-down form field (17), and the foreign key attribute data. (121) is composed of number (1211), display name (1212), and code (1213) three column name parameters (Column Name); please refer to the third figure together, which is the external key pair of the present invention. The computerized image image of the data sheet must be described here. The drawings of the third to seventh figures of this specification are in the case where the drawing method can not be drawn by the ink drawing method with reference to the engineering drawing method, and can directly reproduce and conform to the drawing. Other applicable regulations are replaced by photographs according to the Patent Examination Benchmarks, pp. 2-137. In addition, the above-mentioned foreign key attribute data (121) further includes a data type parameter (Datatype) and a field length parameter (data). The value after the type parameter), a primary key parameter (primary key, PK), non-no parameter (not null, NN), unique parameter (unique, U Q), binary parameter (BIN), unsigned parameter (unsigned, UN), zero fill parameter (zero fill, ZF), and auto increment (AI) are applicable to the data field. The data type parameter can be an integer, a positive integer only to 255 integer (TINYINT), a character (VARCHAR), etc.; in the specific embodiment, the number (1211), display name (1212) ), and the code (1213) field name parameters are respectively LanguageID, LanguageName, and LanguageEncode; and we should understand that the above-mentioned field name parameter (111) is for convenience of description, and not limited to this example, This does not limit the field name parameters of the specific embodiment;
步驟三(S3):建立外來鍵屬性資料(121)之編號(1211)、顯示名稱(1212),以及編碼(1213)欄位名稱參數的對應關係表(13);其具體實施方式請參閱第四圖所示,為本發明之外來鍵屬性資料之三種欄位名稱參數的對應關係表;在此進一步說明,當編號(1211)欄位名稱參數LanguageID為『1』時,於下拉式選單中顯示名稱(1212)LanguageName為『繁體中文』,而編碼(1213)欄位名稱參數LanguageEncode則為『zh-TW』,以此類推;Step 3 (S3): Establish a correspondence table (13) of the foreign key attribute data (121) number (1211), display name (1212), and code (1213) field name parameter; for the specific implementation manner, refer to The four figures show the correspondence table of the three field name parameters of the foreign key attribute data of the present invention; further, when the number (1211) field name parameter LanguageID is "1", in the pull-down menu. The display name (1212) LanguageName is "Traditional Chinese", and the encoding (1213) field name parameter LanguageEncode is "zh-TW", and so on;
步驟四(S4):以編號(1211)之欄位名稱參數建立外來鍵對映資料表(12)與主資料表(11)之關聯,其中主資料表(11)係必須包括編號(1211)之欄位名稱參數;請再參閱第五、六圖所示,分別為本發明之主資料表與外來鍵對映資料表建立關聯之電腦造影影像示意圖,以及網頁編輯系統於主資料表建立編號之欄位名稱為外來鍵之電腦造影影像圖;以及Step 4 (S4): The association between the foreign key mapping data table (12) and the main data table (11) is established by the field name parameter of the number (1211), wherein the main data table (11) must include the number (1211). The column name parameter; please refer to the fifth and sixth figures respectively, which is a schematic diagram of the computerized image of the main data table and the foreign key mapping data table of the present invention, and the webpage editing system establishes the number in the main data table. The field name is a computerized image of the foreign key;
步驟五(S5):最後,利用關聯式資料庫(1)之資料庫詮釋資料(Database Metadata)獲得匯入鍵值(import keys),使得關聯式資料庫(1)内的任何資料項目,可透過匯入鍵值中的主鍵資料表名稱(PK Table Name)、外來鍵資料表名稱(FK Table Name)、主鍵行名稱(PK Column Name)以及外來鍵行名稱(FK Column Name)進行存取,並以可存取關聯式資料庫之程式(14)建立出對應主資料表(11)與外來鍵對映資料表(12)之網頁程式碼檔案(15),網頁程式碼檔案(15)即可於網頁編輯系統(A)即產生相對應之靜態或動態的下拉式表單欄位(17);其中,上述之詮釋資料係指用以描述資料的資料(Data about Data),指對數位資訊之內容、格式、結構、使用方式等之說明與描述,以作為電腦系統在存取、使用該數位資訊之依據,網頁開發者(B)藉以檢索到關聯式資料庫(1)適當的外來鍵屬性資料(121)(例如:編號(1211)、顯示名稱(1212)、編碼(1213)等);此外,關聯式資料庫(1)之詮釋資料亦可例如以結構化文件(如XML)的資料來源取代,亦即關聯式資料庫(1)記錄處理為結構化文件,再針對結構化文件作細部資料指定以擷取屬性值;而本發明之可存取關聯式資料庫之程式(14)可包括編譯器與直譯器程式,而編譯器程式可例如為C#語言、JAVA語言等,直譯器程式則可例如但不限定為PHP、JSP或ASP程式等;於前台網站之電腦造影網頁示意圖如第七圖所示,當使用者點選或滑鼠移到下拉式表單欄位(17)後,即可彈出一顯示『繁體中文、簡體中文、日文、英文和韓文』視窗;據此,本發明以外來鍵對映資料表自動產生下拉式表單欄位之方法能以最迅速、簡單的方式,產生下拉式表單欄位(17)之程式原始碼,解決傳統網站開發者於製作下拉式選單時,需要將選單的選項及其代碼記憶上的麻煩,進一步優化程式設計人員的開發流程及時程;值得注意的,本發明之下拉式表單欄位(17)呈現方式亦可以核取方塊(Check box)或選項按鈕(Radio Button)於前台網站表示,其電腦造影網頁示意圖分別如第八、九圖所示;其中,核取方塊係能夠同時點選多個,而選項按鈕一次只能點選一個。Step 5 (S5): Finally, use the database metadata of the relational database (1) to obtain import keys, so that any data items in the relational database (1) can be Access through the primary key data sheet name (PK Table Name), foreign key data sheet name (FK Table Name), primary key row name (PK Column Name), and foreign key row name (FK Column Name) in the import key value. And the webpage code file (15) corresponding to the master data table (11) and the foreign key mapping data table (12) is created by the program (14) that can access the associated database, and the webpage code file (15) is A corresponding static or dynamic pull-down form field (17) can be generated in the webpage editing system (A); wherein the above-mentioned interpretation data refers to data used to describe the data (Data about Data), which refers to digital information. Description and description of the content, format, structure, usage, etc., as the basis for the computer system to access and use the digital information, by the web developer (B) Correspond to the associated database (1) appropriate foreign key attribute data (121) (for example: number (1211), display name (1212), code (1213), etc.); in addition, the interpretation of the relational database (1) The data can also be replaced, for example, by a data source of a structured document (such as XML), that is, the associated database (1) records are processed as structured files, and detailed data is specified for the structured files to retrieve attribute values; The program (14) for accessing the associated database may include a compiler and an interpreter program, and the compiler program may be, for example, a C# language, a JAVA language, etc., and the interpreter program may be, for example but not limited to, PHP, JSP. Or ASP program, etc.; the computer image of the front-end website is shown in the seventh figure. When the user clicks or the mouse moves to the drop-down form field (17), a display "Traditional Chinese, Simplified Chinese" will pop up. Chinese, Japanese, English, and Korean" windows; accordingly, the method of automatically generating a drop-down form field by the external key mapping data table of the present invention can be the fastest and simplest The way to generate the program source code of the drop-down form field (17), to solve the trouble of the traditional website developers in the production of the drop-down menu, the option of the menu and its code memory, further optimize the programmer's development process Timely process; it is worth noting that the pull-down form field (17) of the present invention can also be represented by a check box or a radio button on the front-end website, and the computer-imported webpage diagrams are respectively eighth. In the nine figures, the checkbox can select more than one at the same time, and the option button can only select one at a time.
此外,如前所述,本發明之以外來鍵對映資料表自動產生下拉式表單欄位之方法可結合應用於硬體或軟體、適當處或其組合,因此本發明之方法,某些觀點或是其部分可能為嵌入實際媒體中之程式碼(亦即指令),例如軟式磁碟、光碟機、硬碟機或是任何其他機器可讀儲存媒體,其中當程式碼被機器(例如一電腦)載入並執行時,此機器會變成一用以執行本發明之裝置,而在程式碼執行於可程式化電腦之情況中,此電腦裝置通常包含一處理器、一處理器可讀之儲存媒體(包含揮發性或非揮發性記憶體及/或儲存元件)、至少一輸入裝置以及至少一輸出裝置。In addition, as described above, the method of automatically generating a pull-down form field in the foreign key mapping data table of the present invention may be applied to a hardware or a soft body, a suitable place or a combination thereof, and thus the method of the present invention, some viewpoints Or part of it may be a code (ie, a command) embedded in actual media, such as a floppy disk, a CD player, a hard disk drive, or any other machine readable storage medium, where the code is used by a machine (eg, a computer) When loaded and executed, the machine becomes a device for performing the present invention, and in the case where the code is executed in a programmable computer, the computer device typically includes a processor, a processor readable storage A medium (including volatile or non-volatile memory and/or storage elements), at least one input device, and at least one output device.
綜上所述,本發明之以外來鍵對映資料表自動產生下拉式表單欄位之方法,的確能藉由上述所揭露之實施例,達到所預期之使用功效,且本發明亦未曾公開於申請前,誠已完全符合專利法之規定與要求。爰依法提出發明專利之申請,懇請惠予審查,並賜准專利,則實感德便。In summary, the method for automatically generating a pull-down form field in the foreign key mapping data table of the present invention can achieve the intended use efficiency by the above disclosed embodiments, and the present invention has not been disclosed in Before applying, Cheng has fully complied with the requirements and requirements of the Patent Law.爰Issuing an application for a patent for invention in accordance with the law, and asking for a review, and granting a patent, is truly sensible.
(A)‧‧‧網頁編輯系統(A) ‧‧‧Web page editing system
(1)‧‧‧關聯式資料庫(1)‧‧‧Related database
(11)‧‧‧主資料表(11) ‧‧‧ Master Data Sheet
(111)‧‧‧欄位名稱參數(111)‧‧‧Field name parameters
(12)‧‧‧外來鍵對映資料表(12) ‧‧‧ Foreign key mapping data sheet
(121)‧‧‧外來鍵屬性資料(121)‧‧‧ Foreign key attribute data
(1211)‧‧‧編號(1211)‧‧‧No.
(1212)‧‧‧顯示名稱(1212)‧‧‧ Display name
(1213)‧‧‧編碼(1213) ‧ ‧ code
(13)‧‧‧對應關係表(13) ‧‧‧ correspondence table
(14)‧‧‧可存取關聯式資料庫之程式(14) ‧‧‧Programs for accessing relational databases
(15)‧‧‧網頁程式碼檔案(15)‧‧‧Webpage code file
(16)‧‧‧表單欄位(16)‧‧‧Form field
(17)‧‧‧下拉式表單欄位(17)‧‧‧Drawdown form field
(18)‧‧‧資料庫詮釋資料(18) ‧ ‧ Database Interpretation Information
(181)‧‧‧匯入鍵值(181)‧‧‧ Import key values
(B)‧‧‧網頁開發者(B) ‧ ‧ web developers
(S1)‧‧‧步驟一(S1)‧‧‧Step one
(S2)‧‧‧步驟二(S2)‧‧‧Step 2
(S3)‧‧‧步驟三(S3) ‧ ‧ Step 3
(S4)‧‧‧步驟四(S4)‧‧‧Step four
(S5)‧‧‧步驟五(S5) ‧ ‧ step five
第一圖:本發明以外來鍵對映資料表自動產生下拉式表單欄位之方法步驟流程圖The first figure: a flow chart of the method steps for automatically generating a drop-down form field in the foreign key mapping data table of the present invention
第二圖:適用於本發明方法之網頁編輯系統方塊示意圖Second Figure: Block diagram of a web page editing system suitable for use in the method of the present invention
第三圖:本發明之外來鍵對映資料表電腦造影影像圖The third figure: the computerized contrast image of the external key mapping data of the present invention
第四圖:本發明之外來鍵屬性資料之三種欄位名稱參數的對應關係表The fourth figure: the correspondence table of the three field name parameters of the foreign key attribute data of the present invention
第五圖:本發明之主資料表與外來鍵對映資料表建立關聯之電腦造影影像示意圖Figure 5: Schematic diagram of computer angiography image associated with the main data table of the present invention and the foreign key mapping data table
第六圖:本發明於網頁編輯系統於主資料表建立編號之欄位名稱參數為外來鍵之電腦造影影像圖Figure 6: The computer image of the invention is created in the main page of the webpage editing system.
第七圖:以本發明方法於前台網站呈現下拉式表單欄位之電腦造影網頁示意圖Figure 7: Schematic diagram of a computer angiography page that presents a drop-down form field on the front-end website by the method of the present invention
第八圖:以本發明方法於前台網站以核取方塊呈現下拉式表單欄位之電腦造影網頁示意圖The eighth figure: a computer illuminating webpage diagram showing a drop-down form field on the front-end website by using the method of the present invention
第九圖:以本發明方法於前台網站以選項按鈕呈現下拉式表單欄位之電腦造影網頁示意圖Ninth diagram: a computer illuminating webpage diagram showing a drop-down form field with an option button on the foreground website by the method of the present invention
(A)‧‧‧網頁編輯系統 (A) ‧‧‧Web page editing system
(1)‧‧‧關聯式資料庫 (1)‧‧‧Related database
(11)‧‧‧主資料表 (11) ‧‧‧ Master Data Sheet
(111)‧‧‧欄位名稱參數 (111)‧‧‧Field name parameters
(12)‧‧‧外來鍵對映資料表 (12) ‧‧‧ Foreign key mapping data sheet
(121)‧‧‧外來鍵屬性資料 (121)‧‧‧ Foreign key attribute data
(13)‧‧‧對應關係表 (13) ‧‧‧ correspondence table
(14)‧‧‧可存取關聯式資料庫之程式 (14) ‧‧‧Programs for accessing relational databases
(15)‧‧‧網頁程式碼檔案 (15)‧‧‧Webpage code file
(16)‧‧‧表單欄位 (16)‧‧‧Form field
(17)‧‧‧下拉式表單欄位 (17)‧‧‧Drawdown form field
(18)‧‧‧資料庫詮釋資料 (18) ‧ ‧ Database Interpretation Information
(181)‧‧‧匯入鍵值 (181)‧‧‧ Import key values
(B)‧‧‧網頁開發者 (B) ‧ ‧ web developers
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103117654A TWI608406B (en) | 2014-05-20 | 2014-05-20 | Method for automatically generate fields of drop-down menu by foreign keys corresponding to data sheet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103117654A TWI608406B (en) | 2014-05-20 | 2014-05-20 | Method for automatically generate fields of drop-down menu by foreign keys corresponding to data sheet |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201545046A true TW201545046A (en) | 2015-12-01 |
TWI608406B TWI608406B (en) | 2017-12-11 |
Family
ID=55407110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103117654A TWI608406B (en) | 2014-05-20 | 2014-05-20 | Method for automatically generate fields of drop-down menu by foreign keys corresponding to data sheet |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI608406B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109033573A (en) * | 2018-07-10 | 2018-12-18 | 英业达科技有限公司 | Correlation design information put-on method |
TWI679544B (en) * | 2018-07-18 | 2019-12-11 | 英業達股份有限公司 | Method for displaying relational desgin information |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020161802A1 (en) * | 2001-02-27 | 2002-10-31 | Gabrick Kurt A. | Web presentation management system |
US7209898B2 (en) * | 2002-09-30 | 2007-04-24 | Sap Aktiengesellschaft | XML instrumentation interface for tree-based monitoring architecture |
TWI254878B (en) * | 2004-12-03 | 2006-05-11 | Hon Hai Prec Ind Co Ltd | System and method for operating file list on the web page |
US20090049380A1 (en) * | 2007-08-16 | 2009-02-19 | Joshua Allen Rehling | Page Modules and States |
-
2014
- 2014-05-20 TW TW103117654A patent/TWI608406B/en not_active IP Right Cessation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109033573A (en) * | 2018-07-10 | 2018-12-18 | 英业达科技有限公司 | Correlation design information put-on method |
CN109033573B (en) * | 2018-07-10 | 2023-08-22 | 英业达科技有限公司 | Associated design information release method |
TWI679544B (en) * | 2018-07-18 | 2019-12-11 | 英業達股份有限公司 | Method for displaying relational desgin information |
Also Published As
Publication number | Publication date |
---|---|
TWI608406B (en) | 2017-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9514115B2 (en) | Method for creating form validation program and corresponding form interface according to result set metadata | |
US9779133B2 (en) | Contextual debugging of SQL queries in database-accessing applications | |
US8739116B2 (en) | Development environment configured to generate application source code from database objects | |
CN115617327A (en) | Low code page building system, method and computer readable storage medium | |
AU2009238294B2 (en) | Data transformation based on a technical design document | |
JP6200384B2 (en) | System and method for modeling data | |
US10296505B2 (en) | Framework for joining datasets | |
CN113076096B (en) | Desktop application program development method, device, equipment and storage medium | |
CN107609302B (en) | Method and system for generating product process structure | |
US7765226B2 (en) | Method of generating database transaction statements based on existing queries | |
US20080263142A1 (en) | Meta Data Driven User Interface System and Method | |
US10776351B2 (en) | Automatic core data service view generator | |
CN108228762B (en) | Method and system for configuring master database universal templates | |
TWI629602B (en) | Method for automatically generating website interactive program | |
CA3089289C (en) | System and methods for loading objects from hash chains | |
Mueller | Microsoft ADO. NET Entity Framework Step by Step | |
Jennings | Professional ADO. NET 3.5 with LINQ and the Entity Framework | |
CN112667598B (en) | Data model rapid construction system based on business demand change | |
CN113761040A (en) | Database and application program bidirectional mapping method, device, medium and program product | |
TWI608406B (en) | Method for automatically generate fields of drop-down menu by foreign keys corresponding to data sheet | |
TWI522824B (en) | Method for generating form validation program and corresponding form interface from result set metadata | |
Malatesta | Learning Laravel's Eloquent | |
TWI524197B (en) | Method for generating web program and corresponding form interface form annotation of table filed | |
JP2021505983A (en) | New programming language | |
Belic et al. | User‐friendly web application for bibliographic material processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |