CN114721647B - Object-oriented programming method based on codeless application development - Google Patents

Object-oriented programming method based on codeless application development Download PDF

Info

Publication number
CN114721647B
CN114721647B CN202210649650.3A CN202210649650A CN114721647B CN 114721647 B CN114721647 B CN 114721647B CN 202210649650 A CN202210649650 A CN 202210649650A CN 114721647 B CN114721647 B CN 114721647B
Authority
CN
China
Prior art keywords
module
code
metadata
programming
codeless
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.)
Active
Application number
CN202210649650.3A
Other languages
Chinese (zh)
Other versions
CN114721647A (en
Inventor
邓维捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Pushu Software Co ltd
Original Assignee
Hangzhou Pushu Software 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 Hangzhou Pushu Software Co ltd filed Critical Hangzhou Pushu Software Co ltd
Priority to CN202210649650.3A priority Critical patent/CN114721647B/en
Publication of CN114721647A publication Critical patent/CN114721647A/en
Application granted granted Critical
Publication of CN114721647B publication Critical patent/CN114721647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented

Landscapes

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

Abstract

The invention belongs to the technical field of computer software, and particularly relates to an object-oriented programming method based on codeless application development, which comprises the following steps: establishing a mapping relation between the metadata and the code elements; acquiring a programming module according to the mapping relation; building a code-free module; acquiring a programming extension codeless module according to the codeless module and the mapping relation; and deploying the programming module, the codeless module and the programming extension codeless module so that the programming module, the codeless module and the programming extension codeless module respectively provide services for the outside. According to the technical scheme, the code-free application development and the object-oriented programming can be effectively combined to complete various personalized complex business logics, the application software can be built by the developer with the least use or without programming knowledge, and the efficiency of developing business applications by the developer is improved.

Description

Object-oriented programming method based on codeless application development
Technical Field
The invention belongs to the technical field of computer software, and particularly relates to an object-oriented programming method based on codeless application development.
Background
The development of the codeless application is a method for researching and developing business application, and developers complete the work of modeling and building application programs by using visual components in a graphical interface. But no-code application development still needs to use a programming mode to meet the requirements if personalized complex logic and providing the functions supported by the complete written code are to be met.
At present, programming methods for realizing personalized logic based on codeless application development are mainly divided into three categories:
the first type is that a configuration point is reserved for interface operation of an application program built without codes, and setting of personalized logic is completed by using a configuration mode for a part which can be customized by the configuration point. This method does not support direct code writing, and needs to enumerate personalized scenes, so the business logic that can support personalization is very limited.
And the second type is that a configuration file is written by dragging a visual component in a graphical interface, and personalized business logic is realized by executing the configuration file. The service logic written by the method is very simple and can not process the service beyond the corresponding function range provided by the configuration file. If a configuration file for processing complex business can be built by dragging the visual component, the corresponding function provided by the configuration file is required to be equivalent to the directly executed code. The writing process in this manner can become very complex, reducing the efficiency of developing business applications as compared to writing code directly using programming knowledge.
The third type is to process the personalized logic by writing a client script at the client and calling a custom interface provided by the server. Developers need to know the relevant knowledge of writing client scripts at the client and all details of the server interface, and therefore the efficiency of code-free application development is reduced.
Disclosure of Invention
In view of the above, an object-oriented programming method based on codeless application development is provided to overcome the shortcomings in the prior art, so as to solve the problems that in the prior art, the development of a service logic supporting personalization based on codeless application is very limited, and the efficiency of developing a service logic with complicated personalization is low.
According to a first aspect of embodiments of the present application, there is provided an object-oriented programming method based on codeless application development, the method including:
establishing a mapping relation between metadata and code elements, wherein the code elements are elements in code written based on object-oriented programming;
acquiring a programming module according to the mapping relation;
building a code-free module;
acquiring a programming extension codeless module according to the codeless module and the mapping relation;
deploying the programming module, the codeless module and the programming extension codeless module so that the programming module, the codeless module and the programming extension codeless module respectively provide services to the outside.
Preferably, the metadata includes: models, fields, actions, and views;
the code elements include: class, attribute, controller, and template.
Preferably, the establishing a mapping relationship between the metadata and the code element includes:
and respectively establishing mapping relations between the model and the class, between the field and the attribute, between the action and the controller, and between the view and the template, namely the model comprises a unique class name of the class corresponding to the model, the field comprises a unique attribute name of the attribute corresponding to the field, the action comprises a unique method statement of the controller corresponding to the action, and the view comprises a unique template name of the template corresponding to the view.
Preferably, the obtaining an programming module according to the mapping relationship includes:
based on the mapping relation, compiling codes of classes, attributes, controllers and templates by using an object-oriented programming mode to obtain a first code;
and packaging the first code into an editor module.
Preferably, the building of the codeless module includes:
creating a codeless module;
and building the code-free module by using a mode of dragging the visual assembly to generate metadata corresponding to the code-free module, and registering the metadata corresponding to the code-free module to a metadata center.
Preferably, the obtaining a programmatic extension codeless module according to the codeless module and the mapping relationship includes:
generating an SDK package by using metadata corresponding to the code-free module of the metadata center;
based on the SDK package, compiling codes of classes, attributes, controllers and templates according to the mapping relation and by using an object-oriented programming mode to obtain a second code;
packaging the second code into the programmatic extension codeless module.
Preferably, the deploying the programming module to enable the programming module to provide services to the outside includes:
deploying the programming module;
when the programming module is started, firstly, metadata which is released last time is obtained from a metadata center, then the first code is scanned to obtain metadata definition in the first code, and the metadata which is released last time is updated by using the metadata definition in the first code;
and the programming module registers the latest issued metadata after updating to a metadata center so that the programming module provides services for the outside according to the latest issued metadata after updating.
Preferably, the deploying the codeless module to enable the codeless module to provide services to the outside includes:
deploying the code-free module;
when the code-free module is started, the metadata corresponding to the code-free module is obtained from a metadata center, so that the service is provided for the outside according to the metadata corresponding to the code-free module.
Preferably, the deploying the programmatic extension code-free module to enable the programmatic extension code-free module to provide services externally comprises:
deploying the programmatic extension codeless module;
when the programming extension code-free module is started, firstly, metadata which is released last time is obtained from a metadata center, then the second code is scanned to obtain metadata definition in the second code, and the metadata which is released last time is updated by using the metadata definition in the second code;
and the programming extension code-free module registers the latest issued metadata after updating to a metadata center so that the programming module provides external services according to the latest issued metadata after updating.
Preferably, the metadata center is used for performing metadata registration and query services.
By adopting the technical scheme, the invention can achieve the following beneficial effects: by establishing a mapping relation between metadata and code elements and providing an agreement for an object-oriented programming method based on codeless application development because the code elements are elements in a code written based on the object-oriented programming, developers can complete personalized functions without knowing all data structures and interface details; the method comprises the steps of acquiring a programming module according to a mapping relation, building a code-free module, acquiring a programming extension code-free module according to the code-free module and the mapping relation, deploying the programming module, the code-free module and the programming extension code-free module to enable the programming module, the code-free module and the programming extension code-free module to respectively provide services for the outside, effectively combining code-free application development and object-oriented programming to complete various personalized complex business logics, enabling developers to build application software by using as little as possible or without programming knowledge, and improving the efficiency of the developers for researching and developing business applications.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram illustrating an object-oriented programming method based on codeless application development in accordance with an exemplary embodiment;
FIG. 2 is a diagram illustrating the establishment of a mapping between metadata and code elements in accordance with an illustrative embodiment;
FIG. 3 is a schematic diagram illustrating a deployment programmatic module according to an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating the deployment of a code-free module in accordance with an illustrative embodiment;
FIG. 5 is a schematic diagram illustrating deployment of a programmatic extension codeless module, according to an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Example one
Fig. 1 is a flowchart illustrating an object-oriented programming method based on codeless application development according to an exemplary embodiment, which may be used in a terminal, but is not limited to, as shown in fig. 1, and includes the following steps:
step 101: establishing a mapping relation between metadata and code elements, wherein the code elements are elements in codes written based on object-oriented programming;
step 102: acquiring a programming module according to the mapping relation;
step 103: building a code-free module;
step 104: acquiring a programming extension codeless module according to the codeless module and the mapping relation;
step 105: and deploying the programming module, the codeless module and the programming extension codeless module so that the programming module, the codeless module and the programming extension codeless module respectively provide services for the outside.
In some embodiments, the externally provided services may be, but are not limited to, page interaction, data submission, form entry, and the like.
According to the object-oriented programming method based on codeless application development, provided by the embodiment of the invention, by establishing the mapping relation between metadata and code elements, and because the code elements are elements in the code written based on the object-oriented programming, an agreement is provided for the object-oriented programming method based on the codeless application development, so that developers can complete personalized functions without knowing all data structures and interface details; the method comprises the steps of acquiring a programming module according to a mapping relation, building a code-free module, acquiring a programming extension code-free module according to the code-free module and the mapping relation, deploying the programming module, the code-free module and the programming extension code-free module to enable the programming module, the code-free module and the programming extension code-free module to respectively provide services for the outside, effectively combining code-free application development and object-oriented programming to complete various personalized complex business logics, enabling developers to build application software by using as little as possible or without programming knowledge, and improving the efficiency of the developers for researching and developing business applications.
Further, the metadata includes: models, fields, actions, and views;
the code elements include: class, attribute, controller, and template.
It should be noted that the programming module, the codeless module and the programming extension codeless module are also metadata, that is, the metadata includes modules, the modules in the metadata are a set which has a unique name space and independently completes a set of program code functions, and the modules can independently provide services to the outside. The model, fields, actions, and views are contained in the module in the same module namespace. The code module in the embodiment of the invention is a program function set constructed in a codeless application development mode. A programmatic module is a set of program functions that is built by writing code. The programming extension codeless module is a program function set which constructs the module by writing a code extension codeless way.
The model in the metadata is a software system imitation obtained by performing necessary simplification and abstraction on the business entity to be described and describing the main characteristics of the business entity by using a proper transformation form and rules. The model consists of unique names, fields, actions, and views. A model is a data structure in an application that defines the characteristics of data and a data container that carries data transfers. The data structure of the logical process, end-to-end interface, can be described by the model. When writing logic and interfaces, developers do not need to define the data structure again, and only the unique named reference model of the model is used for multiplexing the data structure defined by the model. The functions performed by the model in the metadata are consistent with Class (Class) in object-oriented programming.
Fields in the metadata describe characteristic attributes of the business entity. The fields are divided into a basic type field and an association type field. The basic types include: number, text, boolean, time of day, enumeration, and key-value pairs. The base type field describes the characteristics of the model itself. The type of association includes: one-to-one relationships, one-to-many relationships, many-to-many relationships, and many-to-many relationships. The Association type field describes the relationship between the model and the Association model. A tree-like data structure can be described by the association type field.
The actions in the metadata describe business logic processing rules in the application, end-to-end interface definitions and the presentation form of buttons in the software graphical interface. The actions are divided into client actions, server actions, jump actions and link actions. The client action is mainly used for client interaction and executing client business logic. The server-side actions are mainly used for end-to-end interface data transmission and submission. The jump action describes the process of performing view route jump in the same application system. And the link action corresponds to an external link in the website system and jumps to a specified URL page.
The views in the metadata are used for describing the presentation form of the graphical interface of the application program and the data interaction method. The organization form of data transmission and processing in the view is described by the model and the fields. Clicking on a button in the view triggers an action.
Further, as shown in fig. 2, step 101 includes:
the mapping relations between the model and the class, between the field and the attribute, between the action and the controller, and between the view and the template are respectively established, namely the model comprises the unique class name of the corresponding class, the field comprises the unique attribute name of the corresponding attribute, the action comprises the unique method statement of the corresponding controller, and the view comprises the unique template name of the corresponding template.
It can be understood that by establishing a one-to-one mapping relationship between code elements and metadata of code written by object-oriented programming, a basis is provided for further realizing the purpose of completing personalized complex business logic by using a code-free method and a code method mixed programming, i.e. an agreement is provided for an object-oriented programming method developed based on code-free application, so that developers can complete personalized functions without knowing all data structures and interface details.
Further, as shown in fig. 3, step 102 includes:
step 1021: based on the mapping relation, compiling codes of the class, the attribute, the controller and the template by using an object-oriented programming mode to obtain a first code;
step 1022: packaging the first code into an editor module.
It should be noted that, by using the programming module to provide services to the outside, the technical solution provided by the embodiment of the present invention not only supports providing services to the outside based on a non-code mode, but also supports providing services to the outside by a code writing mode, and has strong operability and high flexibility.
Further, as shown in fig. 4, step 103 includes:
step 1031: creating a codeless module;
step 1032: and building a code-free module by using a mode of dragging the visual assembly to generate metadata corresponding to the code-free module, and registering the metadata corresponding to the code-free module in a metadata center.
It can be understood that by building the codeless module, a foundation is provided for subsequently acquiring the programming extension codeless module based on the codeless module, and the personalized logic written according to the object-oriented programming method is packaged into a deployment package to be attached to and issued on the extended module, so that the personalized complex function which cannot be provided by the codeless module is provided. Meanwhile, a certain simple service is provided for the outside through the code-free module, and compared with the method of writing codes in an object-oriented programming mode, the method is high in efficiency, simple and convenient to provide for the outside.
Further, as shown in fig. 5, step 104 includes:
step 1041: generating an SDK packet by using metadata corresponding to a non-code module of a metadata center;
step 1042: based on the SDK package, compiling codes of classes, attributes, controllers and templates according to the mapping relation and by using an object-oriented programming mode to obtain a second code;
step 1043: packaging the second code into an programmatic extension codeless module.
It should be noted that, the manner of generating the SDK (software development kit) by using the metadata corresponding to the code-free module is to generate a code written by using an object-oriented programming manner (the code includes a binding relationship between the metadata and the code) according to the model, field, action and view definition in the metadata corresponding to the code-free module, and then package the code into the SDK (software development kit).
It should be noted that the SDK package contains programming elements such as classes, fields, controllers, and templates. Then, the original class of the SDK packet can be expanded to increase fields based on the SDK packet, a new controller can be rewritten or written based on the original class, and the rewriting template covers the original view, so that the module can support the controller and the user interface with more complicated service logic.
It is understood that the programmatic extension codeless module is a personalized extension service provided based on the codeless module. The personalized logic written according to the object-oriented programming method is packaged into a deployment package to be attached to and released in the expanded module, so that the personalized complex function which cannot be provided by a code-free module is provided, and the application range is wide.
Further, as shown in fig. 3, deploying the programming module in step 105 so that the programming module provides services to the outside includes:
step 1051 a: deploying an programming module;
step 1051 b: when the programming module is started, firstly, metadata which is released last time is obtained from a metadata center, then a first code is scanned to obtain metadata definition in the first code, and the metadata which is released last time is updated by using the metadata definition in the first code;
in some embodiments, the specific process of updating the latest published metadata by using the metadata definition in the first code comprises: performing delta calculation on the metadata definition in the first code and the metadata which is released last time, so as to finish upgrading and updating the metadata which is released last time;
it should be noted that the delta calculation describes an increment change process in software upgrading, and the method comprises the steps of calculating software differences of a previous version and a next version, unloading a part deleted by the increment in the new version, installing a part added by the increment in the old version, and upgrading the parts of the new version and the old version which are different; by the software upgrading mode, the old version does not need to be completely upgraded, and only the difference part needs to be completed by increment;
step 1051 c: the programming module registers the updated metadata which is released last time to the metadata center, so that the programming module provides service for the outside according to the updated metadata which is released last time.
It should be noted that the manner of "scanning the first code to obtain the metadata definition" in the embodiments of the present invention is well known to those skilled in the art, and therefore, the specific implementation manner of the present invention is not described too much. In some optional embodiments, after the source code is generated into an AST (abstract syntax tree), the AST is analyzed to obtain specific element information; and specific element information can also be obtained by lexical analysis aiming at text information obtained by reading the code file line by line.
It can be understood that, by using the programming module to provide services to the outside, the technical solution provided by the embodiment of the present invention not only supports providing services to the outside based on a non-code mode, but also supports providing services to the outside by a code writing mode, and has strong operability and high flexibility.
Further, as shown in fig. 4, deploying a non-code module in step 105 to enable the non-code module to provide services to outside, includes:
step 1052 a: deploying a codeless module;
step 1052 b: when the non-code module is started, the metadata corresponding to the non-code module is obtained from the metadata center, so that the service is provided for the outside according to the metadata corresponding to the non-code module.
It can be understood that, by providing some simple services outside the module without codes, the external service is provided more efficiently, simply and conveniently than writing codes in an object-oriented programming manner.
Further, as shown in fig. 5, in step 105, the programmatic extension code-free module is deployed, so that the programmatic extension code-free module provides services to the outside, including:
step 1053 a: deploying a programmatic extension codeless module;
step 1053 b: when the programming extension code-free module is started, firstly, metadata which is released last time is obtained from a metadata center, then, a second code is scanned to obtain metadata definition in the second code, and the metadata which is released last time is updated by using the metadata definition in the second code;
in some embodiments, the specific process of updating the latest published metadata by using the metadata definition in the second code includes: performing delta calculation on the metadata definition in the second code and the metadata which is released last time, so as to finish upgrading and updating the metadata which is released last time;
it should be noted that the delta calculation describes an increment change process in software upgrading, and the method comprises the steps of calculating software differences of a previous version and a next version, unloading a part deleted by the increment in the new version, installing a part added by the increment in the old version, and upgrading the parts of the new version and the old version which are different; by the software upgrading mode, the old version does not need to be completely upgraded, and only the difference part needs to be completed by increment;
step 1053 c: the programming extension code-free module registers the updated metadata which is released last time to the metadata center, so that the programming module provides service for the outside according to the updated metadata which is released last time.
It can be understood that, based on the SDK (software development kit), object-oriented code is written in the programming extension code-free module to implement or rewrite Class (Class), Attribute (Attribute), controller (Operation) and Template (Template) in the SDK (software development kit), thereby implementing the provision of personalized complex business logic that the code-free module cannot provide.
The metadata is combined with two modes of codeless application development and code compiling by a programming extension codeless module, and a codeless method and a code method are used for mixed programming to complete personalized complex business logic so as to solve the problems that the development based on the codeless application cannot be programmed or the programming complexity is high; the method avoids the problem that the function provided by the code-free application development mode is limited after the code-free application development mode is used, and the complex function can not be flexibly realized like the code development application, so that the efficiency of developing the service application by developers can be improved, and the personalized complex service logic can be met.
It should be noted that the manner of "scanning the second code to obtain the metadata definition in the second code" referred to in the embodiments of the present invention is well known to those skilled in the art, and therefore, the specific implementation manner thereof is not described too much. In some optional embodiments, after the source code is generated into an AST (abstract syntax tree), the AST is analyzed to obtain specific element information; and specific element information can also be obtained by lexical analysis aiming at text information obtained by reading the code file line by line.
Specifically, the metadata center is used for performing metadata registration and query services.
It can be understood that the metadata center is used for providing metadata registration and calling for the programming module, the codeless module and the programming extension codeless module, so that the service calibers of the global indexes are ensured to be consistent, and the reliability of the object-oriented programming method based on the codeless application development is improved.
According to the object-oriented programming method based on codeless application development, provided by the embodiment of the invention, by establishing the mapping relation between metadata and code elements, and because the code elements are elements in the code written based on the object-oriented programming, an agreement is provided for the object-oriented programming method based on the codeless application development, so that developers can complete personalized functions without knowing all data structures and interface details; the method comprises the steps of acquiring a programming module according to a mapping relation, building a code-free module, acquiring a programming extension code-free module according to the code-free module and the mapping relation, deploying the programming module, the code-free module and the programming extension code-free module to enable the programming module, the code-free module and the programming extension code-free module to respectively provide services for the outside, effectively combining code-free application development and object-oriented programming to complete various personalized complex business logics, enabling developers to build application software by using as little as possible or without programming knowledge, and improving the efficiency of the developers for researching and developing business applications.
Example two
The embodiment of the invention also provides a readable storage medium, on which an executable program is stored, and the executable program realizes the steps of the object-oriented programming method based on codeless application development provided by the embodiment when being executed by a processor.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (5)

1. An object-oriented programming method based on codeless application development, the method comprising:
establishing a mapping relation between metadata and code elements, wherein the code elements are elements in code written based on object-oriented programming; the metadata includes: models, fields, actions, and views; the code elements include: class, attribute, controller, and template;
acquiring a programming module according to the mapping relation;
building a code-free module;
acquiring a programming extension codeless module according to the codeless module and the mapping relation;
deploying the programming module, the codeless module and the programming extension codeless module so that the programming module, the codeless module and the programming extension codeless module respectively provide services to the outside;
the establishing of the mapping relationship between the metadata and the code elements comprises the following steps:
respectively establishing mapping relations between the model and the class, between the field and the attribute, between the action and the controller, and between the view and the template, namely the model comprises a unique class name of the corresponding class, the field comprises a unique attribute name of the corresponding attribute, the action comprises a unique method statement of the corresponding controller, and the view comprises a unique template name of the corresponding template;
the obtaining of the programming module according to the mapping relationship comprises:
based on the mapping relation, compiling codes of classes, attributes, controllers and templates by using an object-oriented programming mode to obtain a first code;
packaging the first code into an editor module;
the set-up codeless module comprises:
creating a codeless module;
building the code-free module by using a dragging visualization assembly mode to generate metadata corresponding to the code-free module, and registering the metadata corresponding to the code-free module to a metadata center;
the obtaining a programming extension codeless module according to the codeless module and the mapping relation comprises:
generating an SDK package by using metadata corresponding to the code-free module of the metadata center;
based on the SDK package, compiling codes of classes, attributes, controllers and templates according to the mapping relation and by using an object-oriented programming mode to obtain a second code;
packaging the second code into the programmatic extension codeless module.
2. The method of claim 1, wherein said deploying the programming module to enable the programming module to provide services to the outside comprises:
deploying the programming module;
when the programming module is started, firstly, metadata which is released last time is obtained from a metadata center, then the first code is scanned to obtain metadata definition in the first code and mapping relation between the first code and the metadata, and the metadata which is released last time is updated by using the metadata definition in the first code;
and the programming module registers the latest issued metadata after updating to a metadata center so that the programming module provides services for the outside according to the latest issued metadata after updating.
3. The method of claim 1, wherein said deploying the codeless module to cause the codeless module to provide services externally comprises:
deploying the code-free module;
when the code-free module is started, the metadata corresponding to the code-free module is obtained from a metadata center, so that the service is provided for the outside according to the metadata corresponding to the code-free module.
4. The method of claim 1, wherein deploying the programmatic extension codeless module to cause the programmatic extension codeless module to provide services externally comprises:
deploying the programmatic extension codeless module;
when the programming extension code-free module is started, firstly, metadata which is released last time is obtained from a metadata center, then the second code is scanned to obtain metadata definition in the second code, and the metadata which is released last time is updated by using the metadata definition in the second code;
and the programming extension code-free module registers the latest issued metadata after updating to a metadata center so that the programming module provides external services according to the latest issued metadata after updating.
5. The method of any of claims 2-4, wherein the metadata center is configured to perform a metadata registration and query service.
CN202210649650.3A 2022-06-10 2022-06-10 Object-oriented programming method based on codeless application development Active CN114721647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210649650.3A CN114721647B (en) 2022-06-10 2022-06-10 Object-oriented programming method based on codeless application development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210649650.3A CN114721647B (en) 2022-06-10 2022-06-10 Object-oriented programming method based on codeless application development

Publications (2)

Publication Number Publication Date
CN114721647A CN114721647A (en) 2022-07-08
CN114721647B true CN114721647B (en) 2022-09-16

Family

ID=82232543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210649650.3A Active CN114721647B (en) 2022-06-10 2022-06-10 Object-oriented programming method based on codeless application development

Country Status (1)

Country Link
CN (1) CN114721647B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328458B (en) * 2022-10-12 2023-02-03 共道网络科技有限公司 Business application development method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418400B1 (en) * 1997-12-31 2002-07-09 Xml-Global Technologies, Inc. Representation and processing of EDI mapping templates
US8407461B2 (en) * 2010-12-17 2013-03-26 Oracle International Corporation Plug-in system for software applications
CN104216691B (en) * 2013-05-31 2017-11-17 华为技术有限公司 A kind of method and device for creating application
US9928108B1 (en) * 2015-09-29 2018-03-27 Amazon Technologies, Inc. Metaevent handling for on-demand code execution environments
CN106886406A (en) * 2017-01-19 2017-06-23 阿里巴巴集团控股有限公司 The generation method and device of exploitation code or document
CN111026777B (en) * 2019-12-13 2023-09-29 中国南方电网有限责任公司 Entity class code generation method, entity class code generation device, computer equipment and storage medium
CN112015412A (en) * 2020-08-21 2020-12-01 北京金和网络股份有限公司 Device and method for generating business model based on form engine
CN112732237B (en) * 2021-01-26 2022-09-30 长威信息科技发展股份有限公司 Method and system for constructing code-free development technology model
CN113791791B (en) * 2021-09-01 2023-07-25 中国船舶重工集团公司第七一六研究所 Business logic code-free development method based on natural language understanding and conversion

Also Published As

Publication number Publication date
CN114721647A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN110825362B (en) Low-code application software development system and method
CN109542556B (en) Method and system for interaction between process and form based on Activiti
US9916134B2 (en) Methods and systems for accessing distributed computing components through the internet
US7051316B2 (en) Distributed computing component system with diagrammatic graphical representation of code with separate delineated display area by type
US8418132B2 (en) Application description language
US9021419B2 (en) System and method for supporting intelligent design pattern automation
WO2017185606A1 (en) Overlay mechanism-based apk development method and system
KR101795844B1 (en) Runtime system
US20090064196A1 (en) Model based device driver code generation
KR100828302B1 (en) A Method for Software Development and Operation Based on Component Reuse and Dependency Injection
US10949171B1 (en) Tools, mechanisms, and processes for transforming modules for an application into pluggable modules
CN101937336A (en) Software asset bundling and consumption method and system
CN113064593B (en) Method and device for dynamic mobile APP, computer equipment and storage medium
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN112818176B (en) Data processing method, device, equipment and storage medium
CN111880777A (en) Program information issuing method and device and electronic equipment
CN114721647B (en) Object-oriented programming method based on codeless application development
CN115509515A (en) Component reuse method and device, electronic equipment and storage medium
Mencl Component definition language
CN112068879A (en) Method and device for constructing client application development framework based on configuration
CN112306539A (en) Method, system, terminal and medium for developing application layer of single chip microcomputer
CN116909553A (en) Page online development and local compiling operation system
CN115857999A (en) Method and system for obtaining micro front-end system architecture based on vue system architecture transformation
CN114816475A (en) Method, device, equipment and medium for updating embedded operating system
CN113778421A (en) Method and equipment for generating service code

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
GR01 Patent grant
GR01 Patent grant