[go: up one dir, main page]

CN116204226A - Application development system, method, device and storage medium - Google Patents

Application development system, method, device and storage medium Download PDF

Info

Publication number
CN116204226A
CN116204226A CN202310280519.9A CN202310280519A CN116204226A CN 116204226 A CN116204226 A CN 116204226A CN 202310280519 A CN202310280519 A CN 202310280519A CN 116204226 A CN116204226 A CN 116204226A
Authority
CN
China
Prior art keywords
application
script
name
module
configuring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310280519.9A
Other languages
Chinese (zh)
Inventor
刘洋
闫文敬
曹旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202310280519.9A priority Critical patent/CN116204226A/en
Publication of CN116204226A publication Critical patent/CN116204226A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to the field of development technologies, and in particular, to an application development system, an application development method, an application development device and a storage medium. The system comprises: a script dependency module for configuring at least one dependency of the application; the environment variable module is used for configuring at least one environment variable respectively corresponding to the application environments; a script module for configuring at least one script of the application based on the environment variable and the dependency relationship; a model module for configuring at least one model of the application based on the script; a page module for configuring at least one page of the application based on the script; and the menu module is used for configuring at least one menu item of the application based on the page. The method and the device are used for solving the defects that the application in the prior art is poor in configurability and the application configuration process is low in flexibility.

Description

Application development system, method, device and storage medium
Technical Field
The disclosure relates to the field of development technologies, and in particular, to an application development system, an application development method, an application development device and a storage medium.
Background
In the prior art, when a low-code development platform is used for background application in development, the application itself needs to be modeled, and two modes are usually adopted to represent the application, wherein one mode is form driving, the application is represented by a form, and an interpreter is used for interpreting the form representation after the linkage relation among layout, fields, field types and fields is configured in the form. The other is model driving, the application is represented by a model, and after fields, field types, dependency relationships among tables and foreign keys are configured in a database table of the model, the database table is interpreted by an interpreter. However, the form driver is not suitable for the association between multiple tables, and does not support the customization of the back-end logic, but simply inserts form data into the tables, while the model driver does not support the customization of the front-end page layout or style, and does not support the customization of the back-end logic. When the application development is carried out in the mode, the application is poor in configurability, and the flexibility of the configuration process is low.
Disclosure of Invention
The disclosure provides an application development system, an application development method, an application development device and a storage medium, which are used for solving the defects of poor application configurability and low application configuration process flexibility in the prior art.
The present disclosure provides an application development system, comprising: a script dependency module for configuring at least one dependency of the application; the environment variable module is used for configuring at least one environment variable respectively corresponding to the application environments; a script module for configuring at least one script of the application based on the environment variable and the dependency relationship; a model module for configuring at least one model of the application based on the script; a page module for configuring at least one page of the application based on the script; and the menu module is used for configuring at least one menu item of the application based on the page.
According to the application development system provided by the disclosure, the script dependency module is used for configuring the dependency name, the version number and/or the dependency language type corresponding to each dependency relationship respectively.
According to the application development system provided by the disclosure, the environment variable module is used for configuring the environment name of each application environment and configuring the variable key value pair corresponding to each environment variable respectively, wherein the variable key value pair comprises a variable name and a variable value.
According to the application development system provided by the disclosure, the script module is configured to configure a script name, a script grammar type, a script content and at least one parameter corresponding to each script, configure a parameter name, a parameter type and/or a parameter direction of each parameter, and configure a relation between any one of the parameters and the environment variable, wherein the parameter direction is any one of an input parameter, an output parameter and a local variable.
According to the application development system provided by the disclosure, the model module is configured to configure a model name, a trigger and at least one field corresponding to each model, configure a field name, a field type and/or a field default value corresponding to each field, configure a trigger name, trigger timing and/or trigger logic of each trigger, and configure a field name and an association relationship of an external key, wherein the trigger logic comprises a script name corresponding to the script to be triggered, the external key belongs to the field, and the association relationship comprises the model name corresponding to the model associated with the currently configured model.
According to the application development system provided by the disclosure, the page module is configured to configure a page name, a row and an event corresponding to any one of the pages, which correspond to each of the pages, configure a component corresponding to each of the rows, configure a component width, a component type and/or a component name corresponding to each of the components, and configure an event name and a response relationship of each of the events, wherein the response relationship includes a script name corresponding to a script responding to the event.
According to the menu module of the application development system provided by the disclosure, the menu module is used for configuring the menu name and/or the menu jump target corresponding to each menu item respectively, configuring the jump relation between any one menu item and the page, and configuring the hierarchical relation among the menu items.
The present disclosure also provides an application development method, including: configuring at least one dependency of the application; configuring at least one environment variable corresponding to each application environment; configuring at least one script of the application based on the environment variables and the dependencies; configuring at least one model and at least one page of the application based on the script; at least one menu item of the application is configured based on the page.
The present disclosure also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the application development method as provided above when executing the program.
The present disclosure also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements an application development method as provided above.
The application development system, the method, the device and the storage medium provided by the disclosure are used for configuring the application from different development levels through a script dependent module, an environment variable module, a script module, a model module, a page module and a menu module. The application development system flexibly configures the dependency relationship through a script dependency module; flexibly configuring at least one application environment through an environment variable module to enable the application to adapt to various application environments; flexibly configuring at least one script through a script module; flexibly configuring at least one model by a model module; flexibly configuring at least one page through a page module; at least one menu item is flexibly configured by the menu module. Through the above, one or more of the dependency relationship, the application environment, the script, the model, the page and the menu item can be respectively configured according to the needs, and the developer can flexibly configure the application based on the dependency relationship, the application environment, the script, the model, the logical relationship between the page and the menu item, thereby ensuring the high customization of the application, and also enabling the developer to flexibly define the back-end logic, and greatly improving the configurability of the application and the flexibility of the configuration process.
Drawings
In order to more clearly illustrate the present disclosure or the prior art solutions, a brief description will be given below of the drawings that are needed in the embodiments or prior art descriptions, it being apparent that the drawings in the following description are some embodiments of the present disclosure and that other drawings may be obtained from these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a schematic diagram of an application development system provided by the present disclosure;
FIG. 2 is a schematic diagram of the composition of an application provided by the present disclosure;
FIG. 3 is a flow diagram of an application development method provided by the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device provided by the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments, but not all embodiments of the present disclosure. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the disclosed embodiments, are within the scope of the disclosed embodiments.
In the prior art, when a low-code development platform develops a background application, modeling is generally required to be performed on the application itself, that is, how to represent the application, and the existing representation methods are roughly divided into two types:
the first is a form driver, and in particular, the application is represented by a form, including the layout of the form, fields, field types, linkage relationships between fields, and so on. And then the form representation is interpreted by an interpreter to analyze the fields and the field types thereof, and further a database table, front-end interfaces, front-end pages and the like are generated. And finally, packaging data such as a database table, front-end interfaces, front-end pages and the like into an application, and publishing the application to a line, so that a user can access the application.
The second is model driven, and in particular, the application is represented by a model, including fields of database tables, field types, dependencies between tables, foreign keys, and so forth. And then the database table is interpreted by an interpreter to generate a CRUD interface of the database table, wherein the CRUD interface refers to an interface for realizing functions of addition (Create), reading (Read), updating (Update) and deleting (Delete), and a front page with a fixed format or several formats is generated according to fields of the table. And finally, packaging the data such as the CRUD interface, the front page and the like into an application, and publishing the application to a line so that a user can access the application.
When the low-code development platform is adopted for development of middle and background application, the method directly used has the following defects: first, form drives are not suitable for association between multiple forms, such as: the main sub-table does not support the self definition of the back-end logic, but simply inserts form data into the table. Secondly, the model driver supports the association between multiple tables, such as a main table and a sub table, but loses the flexibility of front-end page layout and style customization; also, it does not support customization of backend logic.
Based on the defects of poor application configurability, low application configuration process flexibility and the like in the application development method, the disclosure provides an application development system for realizing flexible configuration of the application. The application development system provided by the embodiments of the present disclosure is described below.
In one embodiment, as shown in FIG. 1, an application development system includes a script dependency module, an environment variable module, a script module, a model module, a page module, and a menu module. Specifically, a script dependency module is configured to configure at least one dependency relationship of an application; the environment variable module is used for configuring at least one environment variable respectively corresponding to the application environments; a script module for configuring at least one script of the application based on the environment variables and the dependency relationship; a model module for configuring at least one model of an application based on a script; the page module is used for configuring at least one page of the application based on the script; and a menu module for configuring at least one menu item of the application based on the page.
In this embodiment, the content of each module configuration is associated, and as shown in fig. 2, the application is represented by a page, a menu, a dependency relationship, a script, a model, and an environment variable. The script operation needs dependency relation support, and meanwhile, the script needs to adapt to different application environments by using environment variables. The model requires the use of scripts that carry the execution logic triggered internally by the model. Pages require the use of scripts, which carry the page interaction logic. The menu requires the use of pages to configure specified menu items to open the specified pages.
In this embodiment, the application development system provides six different modules, i.e., a script dependency module, an environment variable module, a script module, a model module, a page module and a menu module, so that the application can be configured from six different layers, i.e., the dependency relationship, the environment variable of the application environment, the script, the model, the page and the menu item, thereby improving the configurability of the application and enabling the application configuration process to be more flexible. In addition, the number of the dependency relationships, the environment variables of the application environment, the scripts, the models, the pages and the menu item configurations can be determined according to configuration requirements, so that the configuration flexibility is further improved.
In one embodiment, the script dependency module is configured to configure a dependency name, a version number and/or a dependency language type corresponding to each dependency relationship.
In this embodiment, the dependency relationship of different languages such as JavaScript (JS) and JAVA is represented by a unified structure, so as to avoid complexity caused by adopting one structure for each language, and simplify the configuration process. The plurality of dependency relationships can be managed and stored uniformly to form a script dependency library.
Illustratively, when each dependency relationship is configured in the form of a script dependency library by the script dependency module, the configuration structure is as follows:
Figure BDA0004138764340000061
wherein the script dependency library comprises a plurality of dependencies, each of which is represented by dep. Through the script dependency module, the dependency name (expressed by dep name), version number (expressed by ver) and dependency language type (expressed by type) of each dependency can be flexibly configured. Where xxx denotes omitted dependent names or version numbers. The dependent language type may be JS, JAVA, scala, groovy or any language that is self-developed for similar purposes.
In one embodiment, the environment variable module is configured to configure an environment name of each application environment, and configure a variable key value pair corresponding to each environment variable, where the variable key value pair includes a variable name and a variable value.
In this embodiment, the environment variable represents a variable corresponding to an application environment, and environment variables corresponding to different application environments are different. In order to adapt to different application environments, the environment variable module provided by the present disclosure can configure environment variables corresponding to various application environments according to requirements, so that the application can use more application environments.
In this embodiment, different application environments configure different environment names to distinguish. Each environment variable can be configured with a plurality of variable key pair values, specifically, a key is a variable name, and a value is a variable value. In addition, in order to reduce configuration complexity, the value type of the environment variable employs only a String (String).
For example, when the application environment is configured by the environment variable module, the configuration structure is as follows:
Figure BDA0004138764340000071
Figure BDA0004138764340000081
wherein, environment represents application environment, env name represents environment name, environment name is configured as env, var represents variable key value pair, var name represents variable name, value represents variable value. Specifically, two application environments are configured as needed, and the environment names are respectively configured as dev and test. Under the application environment dev, two variable key pair values are configured, the variable names are xxx and ttt respectively, and the variable value is omitted and expressed as xxxx. Under the application environment test, two variable key pair values are configured, the variable names are xxx and ttt respectively, and the variable value is omitted and expressed as xxxx.
In one embodiment, the script module is configured to configure a script name, a script grammar type, a script content and at least one parameter corresponding to each script, configure a parameter name, a parameter type and/or a parameter direction of each parameter, and configure a relation between any one parameter and an environment variable, wherein the parameter direction is any one of an in-parameter, an out-parameter and a local variable.
In this embodiment, the script is configured to configure various logic of the application, specifically including event response logic of a front-end page, data processing logic and/or business logic of a back-end, and the like. The script module may configure multiple scripts as needed to implement the different logic of the application. In addition, the script module provides a unified structure, so that configuration of scripts with multiple language types such as JAVA, python or JS is realized, configuration difficulty is reduced, and configuration complexity is simplified.
In this embodiment, each script may configure a plurality of parameters, and each parameter configures a parameter name, a parameter type and a parameter direction, based on which indirect nested calling between parameters may be implemented, thereby further increasing the flexibility of configuration. Further, the parameter direction of each parameter may be configured as any one of an in-parameter, an out-parameter, and a local variable.
In this embodiment, according to the actual requirement of the application, the relationship between each parameter and the environment variable may be configured, that is, whether each parameter is an environment variable may be configured, and if the parameter is an environment variable, the parameter defaults to be read-only.
Illustratively, when configuring the script by the script module, the configuration structure is as follows:
Figure BDA0004138764340000091
wherein, the scripts represent that a plurality of scripts can be configured; script represents a script; script name represents script name, which is configured as xx; type represents the script grammar type, wherein the script grammar is java; params means that one script is configured with a plurality of parameters; the param name represents a parameter name configured as xxx; type indicates that the parameter type is configured here and is abbreviated as xxx, and the parameter type can be configured as any one of a character string, a numerical value, a date, a time, a BOOLEAN (comprising two constant values respectively representing true and false) and the like according to requirements; isEnv indicates whether the configuration is an environment variable, isenv= "true" indicates that the parameter is an environment variable, and the parameter defaults to read-only; the direction indicates the parameter direction, the configured IN indicates that the parameter is an input parameter, the configured IN can be configured as OUT to indicate that the parameter is an output parameter, the configured IN can be configured as LOCAL to indicate that the parameter is a LOCAL parameter; default represents a default value; code represents script content, which is abbreviated herein as xxxx.
In one embodiment, the model module is configured to configure a model name, a trigger and at least one field corresponding to each model, configure a field name, a field type and/or a field default value corresponding to each field, configure a trigger name, a trigger timing and/or a trigger logic of each trigger, and configure a field name and an association relationship of an external key, where the trigger logic includes a script name corresponding to a script to be triggered, the external key belongs to a field, and the association relationship includes a model name corresponding to a model associated with a currently configured model.
In this embodiment, the model is used to represent the relationships between various database entities, including fields, models, and the like. The model module expresses a main sub-relationship between the models by configuring a relationship between the plurality of models. Each model may also configure multiple triggers, reference scripts in a unique trigger fashion, and support multiple script types to write trigger logic.
Further, multiple models may be configured for an application through the model module, each model configured with a corresponding model name. Each model may configure a plurality of fields, each field configured with a field name, a field type, and a field default value, respectively. In particular, the external key is a special field, and configuration of the association relationship between the models can be realized by configuring the external key so as to configure the main sub relationship between the models.
In this embodiment, a model may configure multiple triggers, each of which may trigger a script. More specifically, the trigger name, the trigger time and the trigger logic of each trigger are configured through the model module, wherein the trigger logic needs to configure the script name, and the corresponding script is triggered through the script name.
Illustratively, when the model is configured by the model module, the configuration structure is as follows:
Figure BDA0004138764340000101
Figure BDA0004138764340000111
wherein entries represent multiple models of an application configuration; identity represents a model; the entity name represents a model name configured as dev; fields means that one model configures a plurality of fields; field represents a field; field name represents a field name, where the field name is abbreviated xxx; type represents a field type, wherein the field name is abbreviated as XXX, and the field type can be configured into any one of a character string, a numerical value, a date, a time, a BOOLEAN, a large text, a binary system and the like according to requirements; default represents a default value, where default value is omitted as xxxx; foreign represents an external key; foreign name represents the foreign key name; toEntity represents an association relationship, toEntity= "XXX" represents that the model is associated with another model with model name "XXX"; trigers represents a model with multiple triggers; triger represents a trigger; triger name represents the trigger name, here the trigger name is abbreviated xxx; the condition indicates a trigger timing where the trigger is actually configured as before insertion, and furthermore, the trigger timing of the trigger may be configured as any one of afterinsert (after insertion), before update, after update, before deletion, after deletion, before commit, after commit, and other setting timings; scriptName represents configured trigger logic, scriptname= "xxx" represents a script with trigger script name "xxx".
In one embodiment, the page module is configured to configure a page name, a line and an event corresponding to any one page corresponding to each page, configure a component corresponding to each line, configure a component width, a component type and/or a component name corresponding to each component, and configure an event name and a response relationship of each event, where the response relationship includes a script name corresponding to a script of the response event.
In this embodiment, the page represents a front-end presentation interface of the application. It should be noted that, the application provided in the present disclosure may be any application that needs to be configured, for example, a mid-background application, a mid-background information management system application, and the like. When the application is an application such as a middle-background application, the page is more focused on the function satisfaction degree, and the requirement on the aesthetic degree is lower. The page module is used for configuring the page, so that the complexity of the conventional page configured by adopting the grammar such as HTML, CSS or JS can be reduced, and the required semantics can be still represented.
In this embodiment, through the page module, a plurality of pages may be configured for one application. Each page is configured with a corresponding page name. Each page is implemented by a layout container layout. The layout of each page is a line layout, i.e., the layout of one page is composed of a plurality of lines. There may be multiple components per row. Each component corresponds to a configuration component width, a component type, and/or a component name. The page and the component support an event mechanism, and a corresponding response relation is configured based on the event mechanism, specifically, when the response relation is configured through the page module, script names corresponding to scripts of the response event are configured.
For example, when the page is configured by the page module, the configuration structure is as follows:
Figure BDA0004138764340000121
Figure BDA0004138764340000131
wherein pages represent an application with multiple pages; page represents a page; page name represents the page name, where the page name is omitted as xxx; layout represents a page layout; line represents each row in the row-wise layout; widget represents a component; widget width represents the component width, where the component width is omitted as xx; type represents a component type, which is abbreviated as xxx herein, and specifically, the component type may be any of text (text) and radio (audio) types; name represents the component name; event represents an event mechanism; on represents that event name needs to be configured, event on= "xxx" represents that the response event name is xxx; the script name indicates a script name corresponding to the response event, and the script name= "xxx" indicates that the script name corresponding to the response event is xxx.
In one embodiment, the menu module is configured to configure a menu name and/or a menu jump target corresponding to each menu item, configure a jump relationship between any menu item and a page, and configure a hierarchical relationship between the menu items.
In this embodiment, the menu format of the application is relatively fixed, especially for mid-background applications. But the hierarchy of the menu may be flexibly configured.
In this embodiment, when each menu item in the application menu is configured, the menu name and/or the menu jump target of the menu can be flexibly configured through the menu module; the jump relation between the menu items and the pages can be flexibly configured through the menu module, namely whether any menu item can jump to a certain page or not. The father-son relationship among menu items can be flexibly set through the menu module, so that flexible configuration of menu item levels is realized.
Illustratively, when configuring menu items through the menu module, the configuration structure is as follows:
Figure BDA0004138764340000132
Figure BDA0004138764340000141
wherein menu represents a menu; item represents a menu item; item name represents a menu name, here abbreviated as xxx; to represents a menu jump, to= "xxx" represents a menu jump target of xxx; isPage indicates whether to jump to the page, ispage= "true" indicates that the menu item jumps to the page, if isPage is configured as false, it indicates to configure a uniform resource locator address (Uniform Resource Locator, URL).
The application development system provided by the disclosure configures the application from different development levels through a script dependent module, an environment variable module, a script module, a model module, a page module and a menu module. The application development system flexibly configures the dependency relationship through a script dependency module; flexibly configuring at least one application environment through an environment variable module to enable the application to adapt to various application environments; flexibly configuring at least one script through a script module; flexibly configuring at least one model by a model module; flexibly configuring at least one page through a page module; at least one menu item is flexibly configured by the menu module. Through the above, one or more of the dependency relationship, the application environment, the script, the model, the page and the menu item can be respectively configured according to the needs, and the developer can flexibly configure the application based on the dependency relationship, the application environment, the script, the model, the logical relationship between the page and the menu item, thereby ensuring the high customization of the application, and also enabling the developer to flexibly define the back-end logic, and greatly improving the configurability of the application and the flexibility of the configuration process.
Furthermore, details such as a dependency relationship, an application environment, a script, a model, specific parameters of pages and menu items, an association relationship and the like can be configured through the script dependency module, the environment variable module, the script module, the model module, the page module and the menu module, so that a requirement scene with high complexity, strong customization and business logic is met. And the application configuration process is independent of language types, so that the application configuration process can be easily migrated and applied to different languages, frameworks and system types, and preconditions and possibility are provided for the application to be capable of smoothly migrated among various different technical stacks.
The specific implementation process of the method and the application development system provided in any of the foregoing embodiments can be correspondingly referred to, and the repetition is omitted. As shown in fig. 3, the application development method is implemented as follows:
step 301, configuring at least one dependency of an application;
step 302, configuring at least one environment variable corresponding to each application environment;
step 303, configuring at least one script of the application based on the environment variables and the dependency relationship;
step 304, configuring at least one model and at least one page of an application based on a script;
step 305, configuring at least one menu item of an application based on a page.
In one embodiment, configuring at least one dependency of an application includes: and configuring the dependency name, version number and/or dependency language type corresponding to each dependency relationship.
In one embodiment, configuring at least one environment variable corresponding to each application environment includes: configuring an environment name of each application environment, and configuring a variable key value pair corresponding to each environment variable, wherein the variable key value pair comprises a variable name and a variable value.
In one embodiment, configuring at least one script of an application based on environmental variables and dependencies comprises: configuring script names, script grammar types, script contents and at least one parameter corresponding to each script, configuring parameter names, parameter types and/or parameter directions of each parameter, and configuring the relation between any parameter and an environment variable, wherein the parameter directions are any one of an input parameter, an output parameter and a local variable.
In one embodiment, configuring at least one model of an application based on a script comprises: configuring a model name, a trigger and at least one field corresponding to each model respectively, configuring a field name, a field type and/or a field default value corresponding to each field respectively, configuring a trigger name, trigger time and/or trigger logic of each trigger, and configuring a field name and an association relation of an external key, wherein the trigger logic comprises a script name corresponding to a script to be triggered, the external key belongs to a field, and the association relation comprises a model name corresponding to a model associated with a current configuration model.
In one embodiment, configuring at least one page of an application based on a script includes: configuring page names, lines and events corresponding to any page corresponding to each page, configuring components corresponding to each line, configuring component widths, component types and/or component names corresponding to each component, and configuring event names and response relations of each event, wherein the response relations comprise script names corresponding to scripts for responding to the events.
In one embodiment, configuring at least one menu item of an application based on a page includes: configuring menu names and/or menu jump targets corresponding to each menu item respectively, configuring jump relation between any menu item and a page, and configuring hierarchical relation among the menu items.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: a processor (processor) 401, a communication interface (Communications Interface) 402, a memory (memory) 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete communication with each other through the communication bus 404. The processor 401 may call logic instructions in the memory 403 to execute an application development method, the method comprising: configuring at least one dependency of the application; configuring at least one environment variable corresponding to each application environment; configuring at least one script of the application based on the environment variables and the dependencies; configuring at least one model and at least one page of the application based on the script; at least one menu item of the application is configured based on the page.
Further, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on such understanding, the technical solutions of the embodiments of the present disclosure may be essentially or, what contributes to the prior art, or part of the technical solutions, may be embodied in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of executing the application development method provided by the methods described above, the method comprising: configuring at least one dependency of the application; configuring at least one environment variable corresponding to each application environment; configuring at least one script of the application based on the environment variables and the dependencies; configuring at least one model and at least one page of the application based on the script; at least one menu item of the application is configured based on the page.
In yet another aspect, the present disclosure also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above provided application development methods, the method comprising: configuring at least one dependency of the application; configuring at least one environment variable corresponding to each application environment; configuring at least one script of the application based on the environment variables and the dependencies; configuring at least one model and at least one page of the application based on the script; at least one menu item of the application is configured based on the page.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are merely for illustrating the technical solution of the present disclosure, and are not limiting thereof; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.

Claims (10)

1. An application development system, comprising:
a script dependency module for configuring at least one dependency of the application;
the environment variable module is used for configuring at least one environment variable respectively corresponding to the application environments;
a script module for configuring at least one script of the application based on the environment variable and the dependency relationship;
a model module for configuring at least one model of the application based on the script;
a page module for configuring at least one page of the application based on the script;
and the menu module is used for configuring at least one menu item of the application based on the page.
2. The application development system according to claim 1, wherein the script dependency module is configured to configure a dependency name, a version number, and/or a dependency language type corresponding to each of the dependencies.
3. The application development system of claim 1, wherein the environment variable module is configured to configure an environment name of each application environment, and configure a variable key value pair corresponding to each environment variable, where the variable key value pair includes a variable name and a variable value.
4. The application development system according to claim 1, wherein the script module is configured to configure a script name, a script syntax type, a script content, and at least one parameter corresponding to each of the scripts, and configure a parameter name, a parameter type, and/or a parameter direction of each of the parameters, and configure a relationship between any one of the parameters and the environment variable, wherein the parameter direction is any one of an in-parameter, an out-parameter, and a local variable.
5. The application development system according to claim 1, wherein the model module is configured to configure a model name, a trigger, and at least one field corresponding to each of the models, configure a field name, a field type, and/or a field default value corresponding to each of the fields, configure a trigger name, a trigger timing, and/or a trigger logic of each of the triggers, and configure a field name and an association relationship of an external key, wherein the trigger logic includes a script name corresponding to the script to be triggered, the external key belongs to the field, and the association relationship includes the model name corresponding to the model associated with a currently configured model.
6. The application development system according to claim 1, wherein the page module is configured to configure a page name, a line, and an event corresponding to any one of the pages, and configure a component corresponding to each of the lines, and configure a component width, a component type, and/or a component name corresponding to each of the components, and configure an event name and a response relationship of each of the events, where the response relationship includes a script name corresponding to the script that responds to the event.
7. The application development system according to claim 1, wherein the menu module is configured to configure a menu name and/or a menu jump target corresponding to each of the menu items, and to configure a jump relationship between any one of the menu items and the page, and to configure a hierarchical relationship between each of the menu items.
8. An application development method, comprising:
configuring at least one dependency of the application;
configuring at least one environment variable corresponding to each application environment;
configuring at least one script of the application based on the environment variables and the dependencies;
configuring at least one model and at least one page of the application based on the script;
at least one menu item of the application is configured based on the page.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the application development method of claim 8 when the program is executed by the processor.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the application development method of claim 8.
CN202310280519.9A 2023-03-21 2023-03-21 Application development system, method, device and storage medium Pending CN116204226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310280519.9A CN116204226A (en) 2023-03-21 2023-03-21 Application development system, method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310280519.9A CN116204226A (en) 2023-03-21 2023-03-21 Application development system, method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116204226A true CN116204226A (en) 2023-06-02

Family

ID=86511279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310280519.9A Pending CN116204226A (en) 2023-03-21 2023-03-21 Application development system, method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116204226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118259879A (en) * 2024-02-06 2024-06-28 广州云谷数字科技有限公司 A low-code model construction method based on interface-driven rapid integration of business processes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118259879A (en) * 2024-02-06 2024-06-28 广州云谷数字科技有限公司 A low-code model construction method based on interface-driven rapid integration of business processes

Similar Documents

Publication Publication Date Title
US10726195B2 (en) Filtered stylesheets
CN109324791B (en) Financial self-service terminal business process development method and device and terminal equipment
US8689189B1 (en) Systems and methods for testing widgets
CN112800370B (en) Processing method and device of business document, computer equipment and storage medium
US8930824B2 (en) Facilitating propagation of user interface patterns or themes
CN114253537B (en) Form generation method and device, electronic device and storage medium
CN111045655A (en) Page rendering method and device, rendering server and storage medium
US20170289293A1 (en) Manipulation of browser dom on server
US11741002B2 (en) Test automation systems and methods using logical identifiers
CN110069248A (en) Call method, device, equipment and the computer readable storage medium of interface data
CN114461210A (en) Componentized page development method, device, device and storage medium based on VUE
CA3142770A1 (en) Component linkage configuration method, device, computer equipment and storage medium
CN107330014B (en) Data table creating method and device
CN115758016A (en) Webpage content staticizing processing method and system
CN116204226A (en) Application development system, method, device and storage medium
CN111399836B (en) Method and device for modifying page attribute
CN117270847A (en) Front-end page generation method and device, equipment and storage medium
CN110377813A (en) A kind of selenium supports method, electronic equipment and the medium of customized request header
CN117492855A (en) Page caching method, device, equipment and storage medium
CN116502005A (en) Network resource configuration generation method, device, electronic device and storage medium
CN115509634A (en) Input method configuration method, character input method, device and medium
CN117015781A (en) Generating a natural language interface from a graphical user interface
CN113986322B (en) Method, device and storage medium for dynamically modifying page codes
CN117215543B (en) Component development method suitable for different service scene types and corresponding system thereof
CN112241505A (en) Page updating method, page updating device, medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination