CN113377368A - Project development method, device, server and storage medium - Google Patents

Project development method, device, server and storage medium Download PDF

Info

Publication number
CN113377368A
CN113377368A CN202110513533.XA CN202110513533A CN113377368A CN 113377368 A CN113377368 A CN 113377368A CN 202110513533 A CN202110513533 A CN 202110513533A CN 113377368 A CN113377368 A CN 113377368A
Authority
CN
China
Prior art keywords
instruction
web page
database table
application program
interface
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
CN202110513533.XA
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.)
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Wodong Tianjun Information Technology 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 Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Wodong Tianjun Information Technology Co Ltd
Priority to CN202110513533.XA priority Critical patent/CN113377368A/en
Publication of CN113377368A publication Critical patent/CN113377368A/en
Pending legal-status Critical Current

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/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a project development method, a device, a server and a storage medium, wherein the project development method comprises the following steps: uploading at least one first object on a Web page; each of the at least one first object characterizes a database table related to the first item; receiving a first instruction and a corresponding second instruction in a Web page; the first instructions are used for determining at least one first object in the at least one first object; the second instruction is used for selecting an interface method; and generating an application program interface related to at least one first database table based on at least one first database table corresponding to at least one first object determined by the first instruction and based on the interface method selected by the corresponding second instruction.

Description

Project development method, device, server and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a project development method, an apparatus, a server, and a storage medium.
Background
The MongoDB is a document-oriented database, and belongs to a non-relational database (NoSQL, Not Only SQL). The default Interface of the MongoDB is a Command-line Interface (CLI), a user needs to input an instruction through a keyboard, and a computer receives the instruction and executes the instruction. At present, the MongoDB has the problem of low development efficiency when the project is developed.
Disclosure of Invention
In view of the above, embodiments of the present application provide a project development method, a project development device, a server, and a storage medium, so as to at least solve the problem of low development efficiency in project development in the related art.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a project development method, which comprises the following steps:
uploading at least one first object on a Web page; each first object of the at least one first object characterizes a database table related to the first item;
receiving a first instruction and a corresponding second instruction in a Web page; the first instructions are for determining at least one first object among the at least one first object; the second instruction is used for selecting an interface method;
and generating an Application Programming Interface (API) related to at least one first database table based on at least one first database table corresponding to at least one first object determined by the first instruction and based on an Interface method selected by the corresponding second instruction.
In the above scheme, before receiving the first instruction and the corresponding second instruction in the Web page, the method further includes:
loading at least one second object; each of the at least one second object characterizes an application program interface to which the first item relates.
In the above solution, when receiving the first instruction and the corresponding second instruction in the Web page, the method further includes:
receiving a third instruction in the Web page; the third instruction is used for indicating a Uniform Resource Locator (URL) corresponding to an application program interface of the at least one first data table.
In the above scheme, the method further comprises:
receiving a first operation on a first object loaded on a Web page;
and performing corresponding synchronization operation on the database table characterized by the first object based on the received first operation.
In the above scheme, the method further comprises:
and correspondingly updating the view of the corresponding first object on the Web page based on the received first operation.
In the above solution, when at least one first object is uploaded on a Web page, the method further includes:
displaying the first connection on a Web page; the first connection represents a connection relation between database tables of at least one first object representation loaded on the Web page.
In the above solution, after generating the application program interface with respect to the at least one first database table, the method further comprises:
and displaying the uniform resource locator and/or the code file document corresponding to the application program interface of the at least one first database table on the Web page.
In the above solution, after the generating the application program interface with respect to the at least one first database table, the method further comprises:
downloading a code file corresponding to an application program interface of the at least one first database table;
and storing the downloaded code file into a code library corresponding to the first project.
An embodiment of the present application further provides a project development apparatus, including:
the loading unit is used for loading at least one first object on the Web page; each first object of the at least one first object characterizes a database table related to the first item;
the first receiving unit is used for receiving a first instruction and a corresponding second instruction in the Web page; the first instructions are for determining at least one first object among the at least one first object; the second instruction is used for selecting an interface method;
and the generating unit is used for generating an application program interface related to at least one first database table based on at least one first database table corresponding to at least one first object determined by the first instruction and based on the interface method selected by the corresponding second instruction.
An embodiment of the present application further provides a server, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute the steps of the project development method when the computer program is run.
The embodiment of the application also provides a storage medium, wherein a computer program is stored on the storage medium, and the computer program realizes the steps of the project development method when being executed by a processor.
In the embodiment of the application, at least one database table related to a first item is loaded on a Web page as an operation object, and an interface method is selected by receiving a related instruction on the Web page to generate a corresponding application program interface for the selected database table. Therefore, in the project development, the visualization operation can be executed on the database table related to the project, and the application program interface required by calling the database table can be created for the project through the visualization operation, so that the project development efficiency is improved.
Drawings
Fig. 1 is a schematic flowchart of a project development method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a Web page provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a project development method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating forming a visualized database page according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a configurable application program interface according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a visualization database provided in an embodiment of the present application;
fig. 7 is a schematic flowchart of creating a database table according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a project development apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
MongoDB is a database facing documents, belongs to NoSQL database, and becomes the first choice of project developers because of the advantages of high performance, easy deployment, easy use and the like. The default interface of the MongoDB is a command line interface, a user needs to input a command through a keyboard, and the computer executes the command after receiving the command. At present, the MongoDB has the problem of low development efficiency when the project is developed.
Based on this, in various embodiments of the present application, at least one database table related to the first item is loaded on the Web page as an operation object, and by receiving a related instruction on the Web page, an interface method is selected, and a corresponding application program interface is generated for the selected database table. Therefore, in the project development, the visualization operation can be executed on the database table related to the project, and the application program interface required by calling the database table can be created for the project through the visualization operation, so that the project development efficiency is improved.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic view of an implementation flow of a project development method provided in an embodiment of the present application, where an execution subject may be a server. As shown in fig. 1, the project development method includes:
step 101: at least one first object is uploaded on the Web page.
Wherein each of the at least one first object characterizes a database table to which the first item relates.
In this embodiment, the user imports the first item, loads at least one first object related to the first item on the Web page, and each first object in the at least one first object is associated with one database table of the first item. Here, after at least one first object is loaded on the Web page, as shown in the schematic diagram of the Web page shown in fig. 2, the user can see a tab of the database to display at least one first object in the loaded first item.
Step 102: the first instruction and the corresponding second instruction are received in the Web page.
Wherein the first instructions are for determining at least one first object among the at least one first object; the second instruction is for selecting an interface method.
Receiving a first instruction, wherein the first instruction represents at least one first object determined from at least one first object loaded in a Web page; and receiving a second instruction, wherein the second instruction represents the determined interface method corresponding to the at least one first object. Here, the acquisition of the first command and the second command may be a command obtained by interacting with the user by outputting corresponding prompt information, or may be a command continuously input by the user. The interface method may be get, post, update, delete, or the like.
Step 103: and generating an application program interface related to at least one first database table based on at least one first database table corresponding to at least one first object determined by the first instruction and based on the interface method selected by the corresponding second instruction.
The method comprises the steps of determining at least one first database table corresponding to at least one first object based on a first instruction, determining an interface method corresponding to the at least one first object based on a second instruction, and generating an application program interface corresponding to the at least one first object based on the determined first database table and the corresponding interface method. In this way, the generated application program interface can perform the operations of adding, deleting, modifying and checking the database table.
In this embodiment, at least one database table related to the first item is loaded on the Web page as an operation object, and by receiving a related instruction on the Web page, an interface method is selected, and a corresponding application program interface is generated for the selected database table. Therefore, in the project development, the visualization operation can be executed on the database table related to the project, and the application program interface required by calling the database table can be created for the project through the visualization operation, so that the project development efficiency is improved.
Meanwhile, the requirement on the programming skill of a user can be reduced, codes corresponding to different application program interfaces have certain repeatability, and the project development efficiency can be improved. Moreover, when one database table is created, Schema, data Model, and the like need to be created, a large number of application program interfaces related to the data Model need to be generated, and an application program interface driven by the data Model is generated, so that the efficiency of processing a newly created database table during project development can be improved.
In an embodiment, before receiving the first instruction and the corresponding second instruction in the Web page, the method further includes:
loading at least one second object; each of the at least one second object characterizes an application program interface to which the first item relates.
Before receiving the first instruction and the corresponding second instruction, at least one second object is uploaded on the Web page, wherein each second object represents an application program interface related to the first item. Here, after uploading at least one second object on the Web page, as shown in the schematic diagram of the Web page shown in fig. 2, the user can see a tab of an application program interface, in which a list of application program interfaces related to the currently available first item is shown. The user can preview the currently available application program interface list and the application program interface information in real time, and the application program interface list displayed on the Web page can be downloaded, so that when the user sends a second instruction for generating the application program interface, the application program interface information corresponding to all database tables in the current first project can be known, including the interface mode corresponding to the application program interface, and the project development efficiency is improved.
In one embodiment, when receiving a first instruction and a corresponding second instruction in a Web page, the method further comprises:
receiving a third instruction in the Web page; the third instructions are for indicating a uniform resource locator corresponding to an application program interface with respect to the at least one first data table.
And loading at least one database table related to the first item on the Web page as an operation object, receiving a third instruction in the Web page when the first instruction and the corresponding second instruction are received through the Web page, and acquiring a uniform resource locator corresponding to an application program interface of at least one first database table based on the third instruction. Here, the uniform resource locator is used to invoke the generated application program interface. In this way, the user is facilitated to manage the generated application program interface.
In an embodiment, the method further comprises:
receiving a first operation on a first object loaded on a Web page;
and performing corresponding synchronization operation on the database table characterized by the first object based on the received first operation.
Receiving a first operation on a first object loaded on a Web page, and carrying out corresponding synchronous operation on a database table represented by the first object based on the first operation. The Web page shows the database table structure, field name and field type of the first item, and the relation connection between the database tables. Here, a first object corresponding to a certain database table may be selected on the Web page, and the database table is dragged or clicked, so as to implement a first operation performed on the first object, perform a corresponding synchronization operation on the corresponding database table, and update the Schema and the data Model corresponding to the database table based on the first operation. Therefore, the operation of increasing, deleting, changing and checking the database table is realized by operating the first object corresponding to the database table loaded on the Web page.
In an embodiment, the method further comprises:
and correspondingly updating the view of the corresponding first object on the Web page based on the received first operation.
And updating the Schema and the data Model corresponding to the database table based on the received first operation, and correspondingly updating the view of the corresponding first object on the Web page. Here, when a plurality of first objects of a first item are loaded on the Web page, all the first objects corresponding to the first item loaded on the Web page are updated. Therefore, the method and the device realize the increasing, deleting, modifying and checking operation of the database table by operating the first object corresponding to the database table loaded on the Web page, and update the view of the first object after the increasing, deleting, modifying and checking operation on the Web page in real time so that a user can continuously perform the operation of project development.
In one embodiment, when at least one first object is uploaded on the Web page, the method further includes:
displaying the first connection on a Web page; the first connection represents a connection relation between database tables of at least one first object representation loaded on the Web page.
And displaying a first connection between the loaded at least one first object on the Web page, and determining the connection relation between the database tables corresponding to the at least one first object through the first connection.
Here, as shown in fig. 2, the relationship connection between the first objects corresponding to the database tables is represented by the dotted line between the database tables, and the first objects corresponding to the two database tables, i.e., the active database table and the user database table, can be queried by the user identifier. Therefore, the corresponding first object can be loaded on the Web page, and the structure and the relation of the database table related to the current first project can be checked, so that the visualization of the project is realized, and the efficiency of project development is improved.
In an embodiment, after generating the application program interface with respect to the at least one first database table, the method further comprises:
and displaying the uniform resource locator and/or the code file document corresponding to the application program interface of the at least one first database table on the Web page.
And after the application program interface of the at least one first database table is generated, displaying the uniform resource locator and/or the code file document corresponding to the application program interface of the at least one first database table on the Web page. Here, the code files of all the application program interfaces of all the first database tables in the first project may be presented on the Web page in a list manner, and the application program interface code file document may be further presented. Therefore, the uniform resource locator corresponding to the application program interface is displayed on the Web page, so that a user can call the application program interface conveniently during project development, the code file document of the application program interface is browsed and copied by the user, the development and maintenance of the code file are facilitated for the user, and the project development efficiency is improved.
In an embodiment, after said generating the application program interface with respect to the at least one first database table, the method further comprises:
downloading a code file corresponding to an application program interface of the at least one first database table;
and storing the downloaded code file into a code library corresponding to the first project.
After the application program interface of at least one first database table is generated, a downloading uniform resource locator of an application program interface code file is provided on a Web page, a user accesses the downloading uniform resource locator through an instruction, the code file corresponding to the application program interface of at least one first database table is downloaded, and the downloaded code file is stored in a code base corresponding to a first project. Here, the downloaded code file may be stored in the code library, the downloaded code file may be directly stored in the code library, or the user may perform maintenance confirmation after downloading the code file, and then the user stores the confirmed code file in the code library. Thus, the efficiency of project development can be improved.
The present application will be described in further detail with reference to the following application examples.
In combination with the project development method corresponding to fig. 3, a platform for generating an application program interface based on Web visualization operation MongoDB is provided, which includes:
and (3) the user enters a platform Web page, selects whether to load the existing project, directly establishes MongoDB connection if the project is selected to be loaded, and establishes a project through a project configuration page and establishes MongoDB connection again if the project is not selected to be loaded.
A method for forming a visual database page is shown in FIG. 4, a MongoDB is connected through a uniform resource locator and a port of a database to obtain names and Schemas of all data models, database table data and structures are obtained through matching calculation, a template interface is called to perform adding and deleting modification operation on a database table through front-end rendering display, the database table after adding and deleting modification is subjected to re-matching calculation to obtain database table data and structures, and front-end rendering display is performed again through template generation database table related application program interface service.
Entering a visual database page, as shown in fig. 2, the platform is divided into two major modules: visual database, configurable generation application program interface. At this time, the database table can be checked on the tab of the database, and the API tab can be clicked to enter the configuration page of the application program interface.
After entering the application program interface configuration page, the existing application program interface can be previewed, and the application program interface can also be newly established. After selecting the new application program interface, selecting or inputting a corresponding data Model, an interface method and a uniform resource locator corresponding to the application program interface, where the interface method may be get, post, update or delete. A corresponding application program interface is generated based on the selected or entered data.
As shown in the flowchart of fig. 5, the user may click to enter an application interface configuration page, view a list of currently available application interfaces, select a new application interface icon to represent the new application interface, pop up a pop-up window of the new application interface, enter or select a database table name, an application interface method, and a uniform resource locator corresponding to the application interface in the pop-up window, click a confirmation icon, generate a new application interface after the determination, and update the list of currently available application interfaces in real time. The interface method may be get, post, update, delete, or the like. A corresponding application program interface is generated based on the selected or entered data. The application program interface list can be set at a certain position of the Web page, such as the left side of the Web page, according to the requirement.
And the database table is checked by entering a tab of the database, the related information and the data field of the database table can be edited online or the database table is newly built, and the database table can be updated in real time after the operations. After selecting the new database table, prompting whether to generate a corresponding application program interface or not, and generating the corresponding application program interface.
As shown in the flow diagram of the visualized database shown in fig. 6, a user enters a tab of the database to view the database table, may click on a newly created database table icon to represent a newly created database table, or may trigger the database table editing, to add, delete, and change fields of the database table, to add, delete, change, or change names of the database table.
The user can browse all database tables of the current project and the structures and the relations of the database tables in real time on the Web page, so that the related requirements and business analysis are facilitated, and the communication cost is reduced; and the database table can be subjected to the operations of adding, deleting, changing and checking on the page in real time.
As shown in the flowchart of fig. 7, the user clicks the newly created database table icon shown in fig. 2 to indicate the newly created database table, pops up a popup of the newly created database table, and inputs or selects a name of the database table, a field name of the database table, a type of the database table, and a check rule in the popup, selects whether to check to generate a corresponding application program interface, and clicks on a confirmation icon, after determination, the data Model and Schema are automatically created, a new database table is generated, and all database table pages of the current item are updated in real time.
In the application embodiment of the application, the user can browse the database table structure diagram in real time, the method for generating the application program interface is simplified, and meanwhile, the requirement on the programming skill of the user is lowered.
In order to implement the method according to the embodiment of the present application, an embodiment of the present application further provides a project development apparatus, as shown in fig. 8, the project development apparatus includes:
a loading unit 801 for loading at least one first object on a Web page; each first object of the at least one first object characterizes a database table related to the first item;
a first receiving unit 802, configured to receive a first instruction and a corresponding second instruction in a Web page; the first instructions are for determining at least one first object among the at least one first object; the second instruction is used for selecting an interface method;
a generating unit 803, configured to generate an application program interface for at least one first database table based on at least one first database table corresponding to at least one first object determined by the first instruction and based on the interface method selected by the corresponding second instruction.
Wherein, in one embodiment, the apparatus further comprises:
the loading unit is used for loading at least one second object; each of the at least one second object characterizes an application program interface to which the first item relates.
In one embodiment, the apparatus further comprises:
a second receiving unit configured to receive a third instruction in the Web page; the third instructions are for indicating a uniform resource locator corresponding to an application program interface with respect to the at least one first data table.
In one embodiment, the apparatus further comprises:
a third receiving unit, configured to receive a first operation on a first object loaded on a Web page;
and the operation unit is used for carrying out corresponding synchronous operation on the database table represented by the first object based on the received first operation.
In one embodiment, the apparatus further comprises:
and the updating unit is used for correspondingly updating the view of the corresponding first object on the Web page based on the received first operation.
In one embodiment, the apparatus further comprises:
the first display unit is used for displaying the first connection on the Web page; the first connection represents a connection relation between database tables of at least one first object representation loaded on the Web page.
In one embodiment, the apparatus further comprises:
and the second display unit is used for displaying the uniform resource locators and/or the code file documents corresponding to the application program interfaces of the at least one first database table on the Web page.
In one embodiment, the apparatus further comprises:
and the downloading unit is used for downloading the code file corresponding to the application program interface of the at least one first database table.
And the storage unit is used for storing the downloaded code file into a code library corresponding to the first item.
In practical applications, the loading Unit 801, the first receiving Unit 802, the generating Unit 803, the loading Unit, the second receiving Unit, the third receiving Unit, the operating Unit, the updating Unit, the first presenting Unit, the second presenting Unit, the downloading Unit, and the storing Unit may be implemented by a Processor based on a project development device, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA).
It should be noted that: in the project development device provided in the above embodiment, only the division of the program modules is exemplified when the project development is performed, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the project development device and the project development method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the project development method in the embodiment of the present application, an embodiment of the present application further provides a server, as shown in fig. 9, where the server includes:
a communication interface 1 capable of information interaction with other devices such as network devices and the like;
and the processor 2 is connected with the communication interface 1 to realize information interaction with other equipment, and is used for executing the project development method provided by one or more technical schemes when running a computer program. And the computer program is stored on the memory 3.
Of course, in practice, the various components in the server are coupled together by a bus system. It will be appreciated that a bus system is used to enable communications among the components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus. For the sake of clarity, however, the various buses are labeled as bus system 4 in fig. 9.
The memory 3 in the embodiment of the present invention is used to store various types of data to support the operation of the server. Examples of such data include: any computer program for operating on a server.
It will be appreciated that the memory 3 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 3 described in the embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed by the above embodiment of the present invention can be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 2. The processor 2 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 3, and the processor 2 reads the program in the memory 3 and in combination with its hardware performs the steps of the aforementioned method.
Optionally, when the processor 2 executes the program, the corresponding process implemented by the server in each method according to the embodiment of the present invention is implemented, and for brevity, no further description is given here.
In an exemplary embodiment, the present invention further provides a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a memory 3 storing a computer program, which is executable by a processor 2 of a server to perform the steps of the aforementioned method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, server and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict. Unless otherwise specified and limited, the term "coupled" is to be construed broadly, e.g., as meaning electrical connections, or as meaning communications between two elements, either directly or indirectly through intervening media, as well as the specific meanings of such terms as understood by those skilled in the art.
In addition, in the examples of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order. It should be understood that "first \ second \ third" distinct objects may be interchanged under appropriate circumstances such that the embodiments of the application described herein may be implemented in an order other than those illustrated or described herein.
The above description is only for the specific embodiments of the present application, but the scope of the present application 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 application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Various combinations of the specific features in the embodiments described in the detailed description may be made without contradiction, for example, different embodiments may be formed by different combinations of the specific features, and in order to avoid unnecessary repetition, various possible combinations of the specific features in the present application will not be described separately.

Claims (10)

1. A method of project development, the method comprising:
uploading at least one first object on a Web page; each first object of the at least one first object characterizes a database table related to the first item;
receiving a first instruction and a corresponding second instruction in a Web page; the first instructions are for determining at least one first object among the at least one first object; the second instruction is used for selecting an interface method;
and generating an application program interface related to at least one first database table based on at least one first database table corresponding to at least one first object determined by the first instruction and based on the interface method selected by the corresponding second instruction.
2. The method of claim 1, wherein prior to receiving the first instruction and the corresponding second instruction in the Web page, the method further comprises:
loading at least one second object; each of the at least one second object characterizes an application program interface to which the first item relates.
3. The method of claim 1, wherein upon receiving a first instruction and a corresponding second instruction in a Web page, the method further comprises:
receiving a third instruction in the Web page; the third instructions are for indicating a uniform resource locator corresponding to an application program interface with respect to the at least one first data table.
4. The method of claim 1, further comprising:
receiving a first operation on a first object loaded on a Web page;
and performing corresponding synchronization operation on the database table characterized by the first object based on the received first operation.
5. The method of claim 4, further comprising:
and correspondingly updating the view of the corresponding first object on the Web page based on the received first operation.
6. The method of claim 1, wherein when loading at least one first object on a Web page, the method further comprises:
displaying the first connection on a Web page; the first connection represents a connection relation between database tables of at least one first object representation loaded on the Web page.
7. The method of any of claims 1 to 6, wherein after said generating an application program interface with respect to said at least one first database table, the method further comprises:
downloading a code file corresponding to an application program interface of the at least one first database table;
and storing the downloaded code file into a code library corresponding to the first project.
8. A project development apparatus, comprising:
the loading unit is used for loading at least one first object on the Web page; each first object of the at least one first object characterizes a database table related to the first item;
the first receiving unit is used for receiving a first instruction and a corresponding second instruction in the Web page; the first instructions are for determining at least one first object among the at least one first object; the second instruction is used for selecting an interface method;
and the generating unit is used for generating an application program interface related to at least one first database table based on at least one first database table corresponding to at least one first object determined by the first instruction and based on the interface method selected by the corresponding second instruction.
9. A server, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the project development method of any one of claims 1 to 7 when running the computer program.
10. A storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the project development method according to any one of claims 1 to 7.
CN202110513533.XA 2021-05-11 2021-05-11 Project development method, device, server and storage medium Pending CN113377368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110513533.XA CN113377368A (en) 2021-05-11 2021-05-11 Project development method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110513533.XA CN113377368A (en) 2021-05-11 2021-05-11 Project development method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN113377368A true CN113377368A (en) 2021-09-10

Family

ID=77572607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110513533.XA Pending CN113377368A (en) 2021-05-11 2021-05-11 Project development method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN113377368A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115373657A (en) * 2022-06-30 2022-11-22 北京三维天地科技股份有限公司 Method for automatically constructing application based on model drive

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115373657A (en) * 2022-06-30 2022-11-22 北京三维天地科技股份有限公司 Method for automatically constructing application based on model drive

Similar Documents

Publication Publication Date Title
CN115617327A (en) Low code page building system, method and computer readable storage medium
CN111984239B (en) Page configuration method, page configuration device, server and storage medium
CN104704468A (en) Cross system installation of WEB applications
CN113656005B (en) Application component library construction method, application component configuration method and related devices
CN113377368A (en) Project development method, device, server and storage medium
JP2011008358A (en) Information processor and information processing method
CN114564855B (en) Operation method based on incidence relation of FMEA data nodes and electronic equipment
CN116048609A (en) Configuration file updating method, device, computer equipment and storage medium
CN116483707A (en) Test method, test device, test apparatus, test program, and test program
WO2019085354A1 (en) Excel system interface-based database linkage method, electronic device, and storage medium
CN114116664B (en) Database table-building sentence processing method, device, computer equipment and storage medium
CN114936152A (en) Application testing method and device
CN115129360A (en) Code file management method and device, electronic equipment and storage medium
CN113485689A (en) Buried point processing method and device
CN113806327A (en) Database design method and device and related equipment
CN113704593B (en) Operation data processing method and related device
CN117008890B (en) Extended application development system and method
CN117992110A (en) Engineering baseline version processing method and device, computer equipment and storage medium
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business
CN113806596B (en) Operation data management method and related device
US20220383215A1 (en) Management device, management method, and management program
CN115129355B (en) Page repair method, system and computer equipment thereof
CN111177183B (en) Method and device for generating database access statement
CN117873627A (en) Data operation page building method and device, electronic equipment and storage medium
CN116149665A (en) XAML file modification method, XAML file modification device, computer equipment and storage medium

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