CN113094028B - Windows desktop program development system, method and related components - Google Patents

Windows desktop program development system, method and related components Download PDF

Info

Publication number
CN113094028B
CN113094028B CN202110474257.0A CN202110474257A CN113094028B CN 113094028 B CN113094028 B CN 113094028B CN 202110474257 A CN202110474257 A CN 202110474257A CN 113094028 B CN113094028 B CN 113094028B
Authority
CN
China
Prior art keywords
application
module
foreground
program
background
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
CN202110474257.0A
Other languages
Chinese (zh)
Other versions
CN113094028A (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.)
Chengdu Xingyun Zhilian Technology Co ltd
Original Assignee
Chengdu Xingyun Zhilian 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 Chengdu Xingyun Zhilian Technology Co ltd filed Critical Chengdu Xingyun Zhilian Technology Co ltd
Priority to CN202110474257.0A priority Critical patent/CN113094028B/en
Publication of CN113094028A publication Critical patent/CN113094028A/en
Application granted granted Critical
Publication of CN113094028B publication Critical patent/CN113094028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • 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/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a Windows desktop program development system, a method and related components, comprising: the system comprises a foreground platform library, a background foundation bag and a scaffold, wherein the foreground platform library is used for storing a set of program sets required in the development process of an application foreground and providing target program sets corresponding to different service requirements based on instructions representing reference program sets; the target program set is used for generating a service plug-in; the background foundation packet is used for generating application programming interfaces corresponding to different service requirements in the application background development process by utilizing the micro-service architecture; the scaffold is used for providing solution source codes for an application foreground development process and an application background development process. The application realizes the desktop program development based on the foreground-background separation of the micro-service architecture by storing the foreground platform library of the program set required in the application foreground development process, generating the background foundation package of the application programming interface in the application background development process by utilizing the micro-service architecture and providing the interaction between the scaffolds of the solution source codes.

Description

Windows desktop program development system, method and related components
Technical Field
The application relates to the technical field of software secondary development, in particular to a Windows desktop program development system, a method, a device, equipment and a storage medium.
Background
In the field of customized software development, a plurality of enterprises can use more or less agile development systems for reducing the cost, but most of the development systems are only suitable for single application architecture, the current micro-service architecture is emerging, and the service systems of a plurality of industries still adopt a C/S architecture because of the best desktop program use effect.
Most of the applications are realized by adopting a layered design mode at present, the front and the back are not really separated, so that most of the application scenes of the systems are single applications, no professional desktop end is suitable for a micro-service development system, the development difficulty in the system of the current micro-service architecture system is high, the threshold of the upper hand is high, the development period is long, and the problems of difficulty in realizing achievement multiplexing by designers and coders are solved. Therefore, how to provide a desktop program rapid development system and method suitable for a micro-service architecture, which can improve the development efficiency of a service system and reduce the development cost, is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above, the present application aims to provide a system, a method, a device, and a storage medium for developing Windows desktop programs, which can realize desktop program development based on a front-to-back separation of a micro-service architecture. The specific scheme is as follows:
a first aspect of the present application provides a Windows desktop program development system, including: foreground platform storehouse, backstage foundation package and scaffold frame, wherein:
the foreground platform library is used for storing a set of program sets required in the development process of the application foreground and providing target program sets corresponding to different service requirements based on instructions representing the reference program sets; the target program set is used for generating a service plug-in corresponding to the service requirement;
the background foundation package is used for generating application programming interfaces which are corresponding to different service requirements in the application background development process and realize foreground and background data interaction by utilizing a micro-service architecture;
the scaffold is used for providing solution source codes for the application foreground development process and the application background development process.
Optionally, the Windows desktop program development system further includes a template group, configured to store a set of page templates and code segments obtained by extracting general information according to different service requirements.
Optionally, the foreground platform library includes a foreground platform base library and a foreground platform expansion library, where:
the function module of the foreground platform basic library comprises a dependency injection module, a log module, a configuration program module, an object automatic mapping module, a rendering engine module, a local storage module, a basic control module, a platform service group module, a permission module, an updating and publishing module and a self-defining application program module;
the foreground platform expansion library is used for obtaining professional controls of a plurality of types of systems based on the DevExpress basic control.
Optionally, the dependency injection module is used for registering services and acquiring services; the log module is used for recording the log of the program operation to a local file and uploading the local file to a log center; the configuration program module is used for reading a local configuration file and a configuration file of the cloud configuration center; the object automatic mapping module is used for automatically registering and establishing a mapping relation between registered objects and forming object conversion; the rendering engine module is used for rendering the form control and the form control; the local warehouse module is used for carrying out local persistent storage on the data; the basic control module is used for providing form controls, value set controls, dynamic condition query tool bars, paging controls, adding, deleting and modifying query tool bars and form tool bars; the platform service group module is used for carrying out functional design by being applied to different business modules in a mode of providing application-level interface service; the permission module is used for accessing a management system of multi-tenant and multi-account set and controlling page permission and control permission; the update and release module is used for carrying out timing check update or manual update on the application program; the self-defined application program module is used for combining the application program modules, configuring options of the application program modules and expanding other self-defined modules.
Optionally, the object automatic mapping module is obtained by packaging an object relation mapping component Automapper, and the local storage module is obtained by packaging an open source lightweight ORM component SqlSugar.
Optionally, the background foundation package is used for generating application programming interfaces for realizing foreground and background data interaction corresponding to different service requirements in an application background development process by using entity services, SQL services, timing services, value set services and reservation services of the micro service architecture.
The second aspect of the present application provides a method for developing a Windows desktop program, including:
acquiring a first scaffold, and generating service plug-ins corresponding to different service requirements by using a program set in a foreground platform library based on the first scaffold so as to develop an application foreground of a Windows desktop program to be developed;
acquiring a second foot hand rest, and generating an application programming interface corresponding to different business requirements in an application background development process based on a micro-service architecture of a background foundation packet by using the second foot hand rest so as to develop an application background of the Windows desktop program to be developed;
integrating and releasing the developed application foreground and application background, and realizing the development of the Windows desktop program to be developed through interaction between the integrated and released application foreground and application background.
A third aspect of the present application provides a Windows desktop program development device, including:
the application foreground development module is used for acquiring a first foot hand frame, generating service plug-ins corresponding to different service requirements by utilizing a program set in a foreground platform library based on the first foot hand frame so as to develop an application foreground of a Windows desktop program to be developed;
the application background development module is used for acquiring a second foot rest, generating application program programming interfaces corresponding to different service requirements in an application background development process based on a micro-service architecture of a background foundation packet by using the second foot rest, and developing an application background of the Windows desktop program to be developed;
and the integration and release module is used for integrating and releasing the developed application foreground and application background and realizing the development of the Windows desktop program to be developed through interaction between the integrated and released application foreground and application background.
A fourth aspect of the application provides an electronic device comprising a processor and a memory; the memory is used for storing a computer program, and the computer program is loaded and executed by the processor to realize the Windows desktop program development method.
A fifth aspect of the present application provides a computer readable storage medium having stored therein computer executable instructions that, when loaded and executed by a processor, implement the aforementioned Windows desktop program development method.
The Windows desktop program development system of the application includes: the system comprises a foreground platform library, a background foundation bag and a scaffold, wherein the foreground platform library is used for storing a set of program sets required in the development process of an application foreground and providing target program sets corresponding to different service requirements based on instructions representing the reference program sets; the target program set is used for generating a service plug-in corresponding to the service requirement; the background foundation package is used for generating application programming interfaces which are corresponding to different service requirements in the application background development process and realize foreground and background data interaction by utilizing a micro-service architecture; the scaffold is used for providing solution source codes for the application foreground development process and the application background development process. The application realizes the desktop program development based on the foreground-background separation of the micro-service architecture by storing the foreground platform library of the program set required in the application foreground development process, generating the background foundation package of the application program programming interface in the application background development process by utilizing the micro-service architecture and providing the interaction between the scaffolds of the solution source codes, thereby improving the development efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of a Windows desktop development system according to the present application;
FIG. 2 is a schematic diagram of a foreground platform library hierarchy provided by the present application;
FIG. 3 is a flow chart of a rights system provided by the present application;
FIG. 4 is a client start-up flow chart provided by the present application;
FIG. 5 is a flowchart of a method for developing Windows desktop programs according to the present application;
FIG. 6 is a flowchart of an application foreground development provided by the present application;
FIG. 7 is a flowchart of an application background development provided by the present application;
FIG. 8 is a schematic diagram of a Windows desktop development device according to the present application;
fig. 9 is a diagram of a structure of an electronic device for developing Windows desktop programs.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Most of the applications are realized by adopting a layered design mode at present, the front and the back are not really separated, so that most of the application scenes of the systems are single applications, no professional desktop end is suitable for a micro-service development system, the development difficulty in the system of the current micro-service architecture system is high, the threshold of the upper hand is high, the development period is long, and the problems of difficulty in realizing achievement multiplexing by designers and coders are solved. Aiming at the technical defects, the application provides a Windows desktop program development system and a Windows desktop program development method, which realize desktop program development based on foreground-background separation of a micro-service framework and improve development efficiency by storing a foreground platform library of a program set required in the application foreground development process, generating a background foundation packet of an application programming interface in the application background development process by utilizing the micro-service framework, and providing interaction between scaffolds of solution source codes.
Fig. 1 is a diagram of a Windows desktop program development system according to an embodiment of the present application. Referring to fig. 1, the Windows desktop program development system includes a foreground platform library, a background foundation package and a scaffold, wherein:
the foreground platform library is used for storing a set of program sets required in the development process of the application foreground and providing target program sets corresponding to different service requirements based on instructions representing the reference program sets; the target program set is used for generating a business plug-in corresponding to the business requirement. The background foundation package is used for generating application programming interfaces which are corresponding to different service requirements in the application background development process and realize foreground and background data interaction by utilizing the micro-service architecture. The scaffold is used for providing solution source codes for the application foreground development process and the application background development process.
According to the design thought of separating the foreground from the background, the embodiment of the application is respectively realized by an application foreground part and an application background part, wherein the application foreground part is responsible for all visualized designs including page designs, data display and other contents, and the application background part is responsible for data exchange and complex logic processing with a database or an external interface and provides interfaces for the inside and outside of an application. The application foreground provides the platform library and the application background with the foundation package, and when the developer uses the platform library and the foundation package, the application has all the built-in functions provided by the application. As the basic implementation of the application, a developer only needs to pay attention to the service, and only needs to develop own service modules in the scaffold code provided by the embodiment of the application, and finally, a complete desktop application solution is formed by a foreground program and a background application service, as shown in fig. 1.
Furthermore, the Windows desktop program development system further comprises a template group for storing a set of page templates and code fragments obtained by extracting general information according to different business requirements. Specifically, the template group comprises page templates formed by accumulation for many years, so that developers can write fewer codes and realize code multiplexing of project development, wherein the page templates currently comprise a series of page templates such as a single form template, a single form (addition, deletion and correction) template, a master-slave form template, a tree template, a navigation template and the like. Namely, the Windows desktop program development system consists of a platform library, basic services, scaffolds and template groups. The platform library is a set of program sets for foreground development, the basic service is a basic package for background development, the scaffold is source codes of system foreground and background solutions generated after project establishment, and the template group is a set of pages, code fragments and the like abstracted according to the service. The creation of the project by the DevOps (development platform integrating development, operation and maintenance) automatically generates foreground and background foot hand-frame codes according to the project architecture type, and the hand-frame codes refer to a platform library, so that the hand-frame codes are codes of a complete application except for no service page and related service interfaces and can be compiled and operated.
In addition, the foreground platform library comprises a foreground platform basic library and a foreground platform expansion library, and the functional modules of the foreground platform basic library comprise a dependency injection module, a log module, a configuration program module, an object automatic mapping module, a rendering engine module, a local storage module, a basic control module, a platform service group module, a permission module, an updating and publishing module and a self-defined application program module. The foreground platform expansion library is used for obtaining professional controls of a plurality of types of systems based on DevExpress (business control library) basic controls, such as MES (Manufacturing Execution System, manufacturing enterprise production process execution system) and ERP (Enterprise Resource Planning ). The dependency injection module is used for registering services and acquiring services; the log module is used for recording the log of the program operation to a local file and uploading the local file to a log center; the configuration program module is used for reading a local configuration file and a configuration file of the cloud configuration center; the object automatic mapping module is used for automatically registering and establishing a mapping relation between registered objects and forming object conversion; the rendering engine module is used for rendering the form control and the form control; the local warehouse module is used for carrying out local persistent storage on the data; the basic control module is used for providing form controls, value set controls, dynamic condition query tool bars, paging controls, adding, deleting and modifying query tool bars and form tool bars; the platform service group module is used for carrying out functional design by being applied to different business modules in a mode of providing application-level interface service; the permission module is used for accessing a management system of multi-tenant and multi-account set and controlling page permission and control permission; the update and release module is used for carrying out timing check update or manual update on the application program; the self-defined application program module is used for combining the application program modules, configuring options of the application program modules and expanding other self-defined modules.
The foreground platform base library is highly banked and is provided with a plurality of technical modules or systems popular in the current software development, and the base library is divided into nine layers from the realization effect, namely a starting loading layer, a template layer, a visual design layer, an appearance layer, a framework layer, an infrastructure layer, a local storage layer, a core layer and a general layer, wherein each layer corresponds to a program set, and the hierarchical relationship is shown in figure 2. Specifically, the starting loading layer is used for starting a bootstrap program and is used for initializing the program and is only referenced by a main project; the universal layer is a universal part of the whole system and comprises an expansion method and a tool class; the core layer is a system core part and comprises a data structure and a definition part of the system; the local storage layer can provide data storage functions for the inside and the outside of the system; the infrastructure layer is a bottom layer abstract and realization part of system functions, and does not relate to program function realization; the framework layer is an abstract and realization part for providing the system with functions related to application programs to the inside and the outside, and the bottom layer call is completed through the infrastructure layer; the appearance layer is all visual contents provided by the system and comprises UI controls, pages, control expansion methods and the like; the visual design supporting layer is a component designer and the like which are realized by the system for realizing more efficient visual design; the template layer comprises various packaged page templates with stronger business and is used for rapidly realizing the page function.
It should be noted that the present application provides a plurality of functional components based on open source component encapsulation or self-grinding implementation, which are the basis for making programs form complete business processing capability and secondary development capability. For example, the dependency injection architecture is formed based on microsoft official component encapsulation, supporting automatic registration, service positioning, etc.; the log system is formed based on Microsoft official component encapsulation, and supports local log record and asynchronous uploading of the log to a monitoring center; the configuration program is formed based on the encapsulation of Microsoft official components, and supports the reading of local configuration files such as xml, json, ini and the like and the configuration reading of a cloud configuration center; the automatic mapping of the object is formed based on the encapsulation of an open source component AutoMapper (an automatic object mapping component), supports automatic registration, establishes a mapping relation between the registered objects, and can directly form object conversion; the rendering engine system is a component for forming a plurality of control designs by self-grinding, and can render controls such as tables, forms and the like; the local warehouse is formed based on an open source lightweight object relation mapping (Object Relational Mapping, ORM) component SqlSugar package and is used for local persistence of data; in the basic control system, besides the control of the Devexpress, form control, value set control, dynamic condition query toolbar, paging control, CRUD toolbar (add-delete-modify-check toolbar) and form toolbar are realized; the platform service group is various application-level interface services which are applied to each functional module and are realized by self-research, and the platform service group is provided in an interface form, such as data adding, deleting, modifying and checking service, file uploading and downloading service, value set service, shift service, message center application service and timing task service; the authority system can be accessed into a management system of multi-tenant and multi-account set, the authority setting granularity can reach the control level, and a flow chart of the authority system is shown in FIG. 3; the automatic updating and releasing function has the functions of checking and updating when the self-grinding implementation program is started, checking and updating at regular time and manually updating, the updating strategy is selectable, the latest program version information on the updating server is continuously polled and compared with the local version information, and if the updating is carried out, the updating packet is automatically downloaded and cached to the local and then prompted to the user; the custom application program module can be provided by freely combining the application program modules, so that the program can be loaded as required, the performance is improved, the software customization effect can be achieved according to the development requirement, the rapid development is realized by integrating templates such as pages, and the like.
It can be understood that the background foundation package is a micro-service background implemented based on a micro-service architecture (MSA), so that the application based on the application can use public services provided by the MSA platform to the greatest extent, thereby having stronger expansion capability. Specifically, the background foundation package is used for generating application programming interfaces which are corresponding to different business requirements and realize foreground and background data interaction in the application background development process by utilizing entity services, SQL services, timing services, value set services and reservation services of the micro-service architecture. Further, the application programming interface is a RESTful architecture style application programming interface based on an http request mode. The entity service is used for defining data persistence operations, including adding, deleting, checking and the like; the SQL service allows direct access to the backend database through SQL; the timing task executes a disposable task or a timing task; the value set service provides a data service in a key-value pair mode; the subscription service is implemented based on message middleware of a self-implemented publish-subscribe mode, and can monitor certain types of data. Fig. 4 is a startup flow of a client developed by using the Windows desktop development system in the embodiment of the present application.
Therefore, the Windows desktop program development system in the embodiment of the application comprises: the system comprises a foreground platform library, a background foundation bag and a scaffold, wherein the foreground platform library is used for storing a set of program sets required in the development process of an application foreground and providing target program sets corresponding to different service requirements based on instructions representing the reference program sets; the target program set is used for generating a service plug-in corresponding to the service requirement; the background foundation package is used for generating application programming interfaces which are corresponding to different service requirements in the application background development process and realize foreground and background data interaction by utilizing a micro-service architecture; the scaffold is used for providing solution source codes for the application foreground development process and the application background development process. The application realizes the desktop program development based on the foreground-background separation of the micro-service architecture by storing the foreground platform library of the program set required in the application foreground development process, generating the background foundation package of the application program programming interface in the application background development process by utilizing the micro-service architecture and providing the interaction between the scaffolds of the solution source codes, thereby improving the development efficiency.
Fig. 5 is a flowchart of a method for developing a Windows desktop program according to an embodiment of the present application. Referring to fig. 5, the method for developing Windows desktop program includes:
s11: and acquiring a first scaffold, and generating service plug-ins corresponding to different service requirements by using a program set in a foreground platform library based on the first scaffold so as to develop an application foreground of a Windows desktop program to be developed.
S12: and acquiring a second foot hand rest, and generating an application programming interface corresponding to different business requirements in an application background development process based on a micro-service architecture of a background foundation packet by using the second foot hand rest so as to develop the application background of the Windows desktop program to be developed.
S13: integrating and releasing the developed application foreground and application background, and realizing the development of the Windows desktop program to be developed through interaction between the integrated and released application foreground and application background.
In this embodiment, the application foreground generates a corresponding plug-in (dynamic link library) according to the service requirement, and the application background generates a service interface, and because the application background is also a micro-service based on MSA, the application background can also interact with other micro-service systems. The application development based on the application is that the foreground and the background are separated, a first foot hand frame is obtained for the development of the application foreground, and the service plug-in corresponding to different service requirements is generated by utilizing the program set in the foreground platform base based on the first foot frame so as to develop the application foreground of the Windows desktop program to be developed. And for development of the application background, acquiring a second foot rest, and generating application programming interfaces corresponding to different service requirements in the application background development process based on the micro-service architecture of the second foot rest by utilizing a background foundation package so as to develop the application background of the Windows desktop program to be developed. And finally integrating and releasing the developed application foreground and application background, and realizing the development of the Windows desktop program to be developed through interaction between the integrated and released application foreground and application background. The visual design and the template group in the scheme enable codes among developers to be achieved and reused, and the built-in plug-in development, public service and expansion method greatly standardize the stability of the codes, so that the development efficiency is greatly improved, the developers only need to pay attention to the service of the system, and the developers can get on hand more quickly.
Specifically, fig. 6 shows an application foreground development flow, which uses Visual Studio 2019 software to open a solution, build a plug-in project, build a page under the project, then design a page prototype, a binding control and a view model, write page logic processing code, and release a foreground program through CI/CD. FIG. 7 shows an application background development flow, using Intellij IDEA software (a specialized development tool provided by JetBrans, inc.) to open a solution, design and implement APIs for foreground and background data interactions according to the design specifications of the MSA platform, and finally forming a Swagger document, which is a Web service for generating, describing, invoking and visualizing RESTful styles.
Therefore, the embodiment of the application can solve the problem that the development of micro services cannot be adapted by separating and developing the front end and the rear end, synthesizes the modes of template development and code generation, reduces the development difficulty to the greatest extent, and combines the roles and labor division during program development to lead a designer and an encoder to realize the purpose of rapid development, thereby reducing the software development period and reducing the project development cost.
Referring to fig. 8, the embodiment of the application also correspondingly discloses a device for developing Windows desktop programs, which comprises:
the application foreground development module 11 is configured to obtain a first scaffold, and generate service plug-ins corresponding to different service requirements by using a program set in a foreground platform library based on the first scaffold, so as to develop an application foreground of a Windows desktop program to be developed;
the application background development module 12 is configured to obtain a second foot rest, and generate application program programming interfaces corresponding to different service requirements in an application background development process based on a micro-service architecture of a background foundation package used by the second foot rest, so as to develop an application background of the Windows desktop program to be developed;
and the integration and release module 13 is used for integrating and releasing the developed application foreground and application background and realizing the development of the Windows desktop program to be developed through interaction between the integrated and released application foreground and application background.
Therefore, the embodiment of the application can solve the problem that the development of micro services cannot be adapted by separating and developing the front end and the rear end, synthesizes the modes of template development and code generation, reduces the development difficulty to the greatest extent, and combines the roles and labor division during program development to lead a designer and an encoder to realize the purpose of rapid development, thereby reducing the software development period and reducing the project development cost.
Further, the embodiment of the application also provides electronic equipment. Fig. 9 is a block diagram of an electronic device 20, according to an exemplary embodiment, and the contents of the diagram should not be construed as limiting the scope of use of the present application in any way.
Fig. 9 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the Windows desktop program development method disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon may include an operating system 221, a computer program 222, data 223, and the like, and the storage may be temporary storage or permanent storage.
The operating system 221 may be Windows 7, windows 8, windows 10, windows Server, linux, etc. for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the Windows desktop program development method performed by the electronic device 20 as disclosed in any of the foregoing embodiments. The data 223 may include development code data collected by the electronic device 20.
Further, the embodiment of the application also discloses a storage medium, wherein the storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the steps of the Windows desktop program development method disclosed in any embodiment are realized.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The system, the method, the device, the equipment and the storage medium for developing the Windows desktop program provided by the application are described in detail, and specific examples are applied to the principle and the implementation mode of the application, and the description of the examples is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (8)

1. A Windows desktop program development system, comprising: foreground platform storehouse, backstage foundation package and scaffold frame, wherein:
the foreground platform library is used for storing a set of program sets required in the development process of the application foreground and providing target program sets corresponding to different service requirements based on instructions representing the reference program sets; the target program set is used for generating a service plug-in corresponding to the service requirement;
the background foundation package is used for generating application programming interfaces which are corresponding to different service requirements in the application background development process and realize foreground and background data interaction by utilizing a micro-service architecture;
the scaffold is used for providing solution source codes for the application foreground development process and the application background development process;
the foreground platform library comprises a foreground platform basic library and a foreground platform expansion library, wherein: the function module of the foreground platform basic library comprises a dependency injection module, a log module, a configuration program module, an object automatic mapping module, a rendering engine module, a local storage module, a basic control module, a platform service group module, a permission module, an updating and publishing module and a self-defining application program module; the foreground platform expansion library is used for obtaining professional controls of a plurality of types of systems based on the DevExpress basic control;
the background foundation package is used for generating application programming interfaces which are corresponding to different business requirements and realize foreground and background data interaction in the application background development process by utilizing entity services, SQL services, timing services, value set services and reservation services of the micro-service architecture.
2. The Windows desktop program development system of claim 1, further comprising a template group for storing a set of page templates and code fragments obtained by extracting general information according to different business requirements.
3. The Windows desktop program development system of claim 1, wherein the dependency injection module is configured to register services and obtain services; the log module is used for recording the log of the program operation to a local file and uploading the local file to a log center; the configuration program module is used for reading a local configuration file and a configuration file of the cloud configuration center; the object automatic mapping module is used for automatically registering and establishing a mapping relation between registered objects and forming object conversion; the rendering engine module is used for rendering the form control and the form control; the local warehouse module is used for carrying out local persistent storage on the data; the basic control module is used for providing form controls, value set controls, dynamic condition query tool bars, paging controls, adding, deleting and modifying query tool bars and form tool bars; the platform service group module is used for carrying out functional design by being applied to different business modules in a mode of providing application-level interface service; the permission module is used for accessing a management system of multi-tenant and multi-account set and controlling page permission and control permission; the update and release module is used for carrying out timing check update or manual update on the application program; the self-defined application program module is used for combining the application program modules, configuring options of the application program modules and expanding other self-defined modules.
4. The Windows desktop program development system according to claim 1, wherein the object automatic mapping module is obtained by encapsulating an object relation mapping component autoplamp, and the local warehouse module is obtained by encapsulating an open source lightweight ORM component sqlsucar.
5. The Windows desktop program development method is characterized by comprising the following steps:
acquiring a first scaffold, and generating service plug-ins corresponding to different service requirements by using a program set in a foreground platform library based on the first scaffold so as to develop an application foreground of a Windows desktop program to be developed;
acquiring a second foot hand rest, and generating an application programming interface corresponding to different business requirements in an application background development process based on a micro-service architecture of a background foundation packet by using the second foot hand rest so as to develop an application background of the Windows desktop program to be developed;
integrating and releasing the developed application foreground and application background, and realizing the development of the Windows desktop program to be developed through interaction between the integrated and released application foreground and application background;
the foreground platform library comprises a foreground platform basic library and a foreground platform expansion library, wherein: the function module of the foreground platform basic library comprises a dependency injection module, a log module, a configuration program module, an object automatic mapping module, a rendering engine module, a local storage module, a basic control module, a platform service group module, a permission module, an updating and publishing module and a self-defining application program module; the foreground platform expansion library is used for obtaining professional controls of a plurality of types of systems based on the DevExpress basic control;
the background foundation package is used for generating application programming interfaces which are corresponding to different business requirements and realize foreground and background data interaction in the application background development process by utilizing entity services, SQL services, timing services, value set services and reservation services of the micro-service architecture.
6. A Windows desktop program development device, comprising:
the application foreground development module is used for acquiring a first foot hand frame, generating service plug-ins corresponding to different service requirements by utilizing a program set in a foreground platform library based on the first foot hand frame so as to develop an application foreground of a Windows desktop program to be developed;
the application background development module is used for acquiring a second foot rest, generating application program programming interfaces corresponding to different service requirements in an application background development process based on a micro-service architecture of a background foundation packet by using the second foot rest, and developing an application background of the Windows desktop program to be developed;
the integration and release module is used for integrating and releasing the developed application foreground and application background and realizing the development of the Windows desktop program to be developed through interaction between the integrated and released application foreground and application background;
the foreground platform library comprises a foreground platform basic library and a foreground platform expansion library, wherein: the function module of the foreground platform basic library comprises a dependency injection module, a log module, a configuration program module, an object automatic mapping module, a rendering engine module, a local storage module, a basic control module, a platform service group module, a permission module, an updating and publishing module and a self-defining application program module; the foreground platform expansion library is used for obtaining professional controls of a plurality of types of systems based on the DevExpress basic control;
the background foundation package is used for generating application programming interfaces which are corresponding to different business requirements and realize foreground and background data interaction in the application background development process by utilizing entity services, SQL services, timing services, value set services and reservation services of the micro-service architecture.
7. An electronic device comprising a processor and a memory; wherein the memory is used to store a computer program that is loaded and executed by the processor to implement the Windows desktop program development method of claim 5.
8. A computer readable storage medium storing computer executable instructions which, when loaded and executed by a processor, implement the Windows desktop program development method of claim 5.
CN202110474257.0A 2021-04-29 2021-04-29 Windows desktop program development system, method and related components Active CN113094028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110474257.0A CN113094028B (en) 2021-04-29 2021-04-29 Windows desktop program development system, method and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110474257.0A CN113094028B (en) 2021-04-29 2021-04-29 Windows desktop program development system, method and related components

Publications (2)

Publication Number Publication Date
CN113094028A CN113094028A (en) 2021-07-09
CN113094028B true CN113094028B (en) 2023-11-28

Family

ID=76680613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110474257.0A Active CN113094028B (en) 2021-04-29 2021-04-29 Windows desktop program development system, method and related components

Country Status (1)

Country Link
CN (1) CN113094028B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505009A (en) * 2021-07-26 2021-10-15 京东方科技集团股份有限公司 Application service method and system based on access of multiple subsystems and computer equipment
CN113395360A (en) * 2021-08-17 2021-09-14 苏州浪潮智能科技有限公司 Windows system user operation simulation method, system, terminal and storage medium
CN113961292B (en) * 2021-10-21 2024-03-26 安天科技集团股份有限公司 Security product generation method and device, electronic equipment and storage medium
CN115237386B (en) * 2022-09-19 2022-12-27 杭州实在智能科技有限公司 Method and system for developing large-scale complex Windows native desktop

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227545A (en) * 2016-07-28 2016-12-14 武汉源启科技股份有限公司 The method for designing of development platform and device
CN106484394A (en) * 2016-09-13 2017-03-08 厦门兆慧网络科技有限公司 A kind of fast software development system with double engines
CN109274724A (en) * 2018-08-30 2019-01-25 上海艾融软件股份有限公司 A kind of realization system and method for front and back end separation architecture
CN109308582A (en) * 2018-09-25 2019-02-05 中国兵器装备集团自动化研究所 A kind of manufacturing execution system framework based on modularization Yu serviceization
CN111026372A (en) * 2019-12-12 2020-04-17 北京中电普华信息技术有限公司 Web version cell-phone desktop system and user's workstation based on little service application framework
CN111176627A (en) * 2019-12-06 2020-05-19 深圳市科南软件有限公司 Device and method for separating front end from back end based on micro-service
CN111290753A (en) * 2020-01-20 2020-06-16 远光软件股份有限公司 Method, device, equipment and storage medium for building front-end development environment
CN111736827A (en) * 2020-08-25 2020-10-02 长沙慧码至一信息科技有限公司 Cloud native development component system
WO2020211222A1 (en) * 2019-04-15 2020-10-22 厦门市美亚柏科信息股份有限公司 Method and device for providing micro-service based on data service platform, and storage medium
CN111913734A (en) * 2020-08-06 2020-11-10 中国电子系统技术有限公司 On-line development platform based on micro-service technology system
CN112328212A (en) * 2020-09-08 2021-02-05 中国电子系统技术有限公司 Rapid development platform based on separation of front end and rear end of engine mode and use method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250113A (en) * 2016-07-18 2016-12-21 百富计算机技术(深圳)有限公司 A kind of application development platform
US10613878B2 (en) * 2018-02-27 2020-04-07 Avid Technology, Inc. Plug-ins as microservices

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227545A (en) * 2016-07-28 2016-12-14 武汉源启科技股份有限公司 The method for designing of development platform and device
CN106484394A (en) * 2016-09-13 2017-03-08 厦门兆慧网络科技有限公司 A kind of fast software development system with double engines
CN109274724A (en) * 2018-08-30 2019-01-25 上海艾融软件股份有限公司 A kind of realization system and method for front and back end separation architecture
CN109308582A (en) * 2018-09-25 2019-02-05 中国兵器装备集团自动化研究所 A kind of manufacturing execution system framework based on modularization Yu serviceization
WO2020211222A1 (en) * 2019-04-15 2020-10-22 厦门市美亚柏科信息股份有限公司 Method and device for providing micro-service based on data service platform, and storage medium
CN111176627A (en) * 2019-12-06 2020-05-19 深圳市科南软件有限公司 Device and method for separating front end from back end based on micro-service
CN111026372A (en) * 2019-12-12 2020-04-17 北京中电普华信息技术有限公司 Web version cell-phone desktop system and user's workstation based on little service application framework
CN111290753A (en) * 2020-01-20 2020-06-16 远光软件股份有限公司 Method, device, equipment and storage medium for building front-end development environment
CN111913734A (en) * 2020-08-06 2020-11-10 中国电子系统技术有限公司 On-line development platform based on micro-service technology system
CN111736827A (en) * 2020-08-25 2020-10-02 长沙慧码至一信息科技有限公司 Cloud native development component system
CN112328212A (en) * 2020-09-08 2021-02-05 中国电子系统技术有限公司 Rapid development platform based on separation of front end and rear end of engine mode and use method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Architecture and Key Technology of Intelligent Energy Service System Based on Industrial Internet;Guohui Shen等;《2020 IEEE Sustainable Power and Energy Conference (iSPEC)》;2077-2082 *
基于前后台分离技术的医药代表管理系统的设计和实现;胡春亮;《中国优秀硕士学位论文全文数据库 信息科技辑》;I138-188 *
基于微服务的移动办公平台的设计与实现;牛昆亮;《中国优秀硕士学位论文全文数据库 信息科技辑》;I139-82 *

Also Published As

Publication number Publication date
CN113094028A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN113094028B (en) Windows desktop program development system, method and related components
US9471345B2 (en) Runtime generation and injection of java annotations
CN102314358B (en) Method for deploying conventional applications on cloud platform in SOA (service oriented architecture) way
MX2007015887A (en) Data centric workflows.
CN106569880B (en) Method and system for dynamically sharing resources between Android applications
CN114064024A (en) Method, apparatus, device, storage medium, and program product for developing micro-application
CN112199164A (en) Method for ensuring container mirror image consistency
CN110888736A (en) Application management method and system based on container cloud platform and related components
CN113778445A (en) Cross-platform component generation method and device, electronic equipment and storage medium
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN112235132B (en) Method, device, medium and server for dynamically configuring service
Miravet et al. Framework for the declarative implementation of native mobile applications
CN113835705A (en) Big data service product development method, device and system
US20130127863A1 (en) Determining an optimal sequence of status transitions for business objects
CN106802805B (en) Application service management method and device suitable for server management
US9614932B2 (en) Managing and implementing web application data snapshots
Fujima Building a meme media platform with a JavaScript MVC framework and HTML5
US10802810B2 (en) Consuming persistent library bundles
US9059992B2 (en) Distributed mobile enterprise application platform
CN115878860A (en) Menu generation method, device, server equipment and medium
CN115061706A (en) Vue3 component state management method, device, equipment and medium
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN112732240B (en) Java component generation method and device
US10067749B2 (en) Generating consumer-oriented APIs from a UI model
CN112631620B (en) Method, system, equipment and medium for manufacturing operating system

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