CN111124376B - construction project system of codeCli scaffold - Google Patents

construction project system of codeCli scaffold Download PDF

Info

Publication number
CN111124376B
CN111124376B CN202010067445.7A CN202010067445A CN111124376B CN 111124376 B CN111124376 B CN 111124376B CN 202010067445 A CN202010067445 A CN 202010067445A CN 111124376 B CN111124376 B CN 111124376B
Authority
CN
China
Prior art keywords
template
project
module
templates
framework
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
CN202010067445.7A
Other languages
Chinese (zh)
Other versions
CN111124376A (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.)
Joint Digital Technology Co ltd
Original Assignee
Joint Digital 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 Joint Digital Technology Co ltd filed Critical Joint Digital Technology Co ltd
Priority to CN202010067445.7A priority Critical patent/CN111124376B/en
Publication of CN111124376A publication Critical patent/CN111124376A/en
Application granted granted Critical
Publication of CN111124376B publication Critical patent/CN111124376B/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
    • G06F8/33Intelligent editors
    • 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/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • 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

Abstract

The invention discloses a codeCli scaffold project building system which comprises an operation interface module, a newly added template module, a project creating module, a template deleting module, a project extracting frame module and a template merging module. The scaffold can comprehensively manage projects at each end, can quickly build new projects, and realizes standardized management of frame specification and configuration; after the project development is stable, the invention can extract the upgrade frame, is not only suitable for new projects, but also can upgrade the frame of the old projects in use, greatly improves the iteration speed, saves the labor cost and improves the efficiency; the framework is updated in a certain project, so that the framework template can be quickly extracted, and other projects with the same framework can be quickly iterated.

Description

construction project system of codeCli scaffold
Technical Field
The invention belongs to the technical field of computer software, and relates to a scaffold construction project system based on codeCli.
Background
At present, when a new software project is developed each time, a new framework is always required to be built, a series of configurations are maintained, how to design communication with multiple parties, the communication cost is high, and the stability of the new project is also at great risk. As the projects increase, the disadvantages are more and more evident, mainly including the following:
1. due to the inconsistent new and old frames, the maintenance cost is very high.
2. The wheel is frequently repeatedly manufactured, so that code redundancy and resource waste are caused.
3. The modular packaging of corporate business scenarios cannot be satisfied.
Disclosure of Invention
In order to solve the problems, the invention discloses a codeCli scaffold construction project system, which is based on node, webpack, git tool writing to realize a codeCli scaffold, and can lead out, update and compare frames and upgrade projects.
In order to achieve the above purpose, the present invention provides the following technical solutions:
the codeCli scaffold builds a project system, which comprises an operation interface module, a new template module, a project creation module, a template deletion module, a project framework extraction module and a template merging module; the operation interface module provides a visual operation interface and is used for collecting data input by a user, compiling and converting the data into related node instructions and displaying the results in the interface in real time; the template newly-added module is used for newly-adding templates according to the appointed template sources and storing the templates in a template list, and the template list can be displayed in a visual interface; the project creation module creates projects based on the input project names and project catalogues, the selected templates are created, the selected template frames are initialized to the local, and a use record of the templates is generated after the creation is successful; the template deleting module is used for deleting the appointed template, and removing a column of the deleted template name from the template list after the operation is successful; the project framework module is used for comparing the updated template in the project with the content of the initial template, comparing the difference between the file content of the template in the project initial and the file in the template in the project by using a git comparison tool, and upgrading the template or storing the template as a new template; the template merging module is used for searching corresponding items according to the template use records of each end after the frame version number is updated, analyzing the created items, analyzing the parts belonging to service codes in the template using method, comparing the new frames with templates used in the items by using a git comparison tool, highlighting the difference, merging the new templates or partially updating the templates in the original items.
Further, when the project creation module initializes the selected template frame to the local, a code-cliinit triggering method is adopted, the selected template is cloned to the local of the user by using a git tool, and meanwhile, the contact and version information of the user and the template is stored in a database.
Further, the project framework extracting module extracts the difference points after comparing the project framework with the templates referenced by the project framework, and selectively or completely updates and upgrades the original templates by adopting the latest content according to the difference, or stores the latest templates as new templates.
Furthermore, the template merging module automatically executes test script to test when merging, and prompts successful merging after self-test is error-free.
Compared with the prior art, the invention has the following advantages and beneficial effects:
1. the scaffold capable of comprehensively managing projects at each end can quickly build new projects, and standardized management of frame specification and configuration is realized; after the project development is stable, the invention can extract the upgrade frame, is not only suitable for new projects, but also can upgrade the frame of the old projects in use, greatly improves the iteration speed, saves the labor cost and improves the efficiency.
2. Upgrades to the template in a certain project can be quickly extracted into the initial architecture template, and other projects with the same template can be quickly iterated.
3. The invention can customize and manage and build project architecture according to iOS, android, web, flutter, meet the requirements of developers such as unified specification standards and the like, and can expand respective requirements, such as multiple environments, customized automatic deployment and release and the like. Some upgrades are performed on the frame in a certain item, so that the frame cannot be quickly extracted into the framework template, and further, other items with the same frame cannot be quickly iterated.
Drawings
Fig. 1 is a system architecture diagram of a codeCli scaffold building project provided by the invention.
Detailed Description
The technical scheme provided by the present invention will be described in detail with reference to the following specific examples, and it should be understood that the following specific examples are only for illustrating the present invention and are not intended to limit the scope of the present invention. Additionally, the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that herein.
According to the codeCli scaffold construction project system, visual creation and management of the scaffold are achieved based on the codeCli tool, a visual operation interface is provided, projects required by a user are created and generated according to input of the client, and finally output of project projects is achieved. Specifically, the codeCli scaffold project building system provided by the invention comprises an operation interface module, a newly added template module, a project creating module, a template deleting module, a project extracting frame module and a template merging module. The operation interface module provides a visual operation interface, in the interface, the requirements of engineering to be created are collected, data input by a user are collected, a command tool of a node is used for reading input content of the user to obtain the content input by the user, analysis is judged to meet corresponding rules, and the analysis is converted into related node instructions such as code-cliinit, code-cliadd, code-clilist and the like through injection commands in the command through code compiling, and results are displayed in the interface in real time. The new template module, the project creation module, the template deletion module, the project extraction frame module and the template merging module are all provided with operable controls on an operation interface.
The new template module is used for newly adding a template, and uses an interface mode to trigger a code-cliadd command in a CodeCli tool to specify a template source, generally a git address, which is a project for maintaining the template for a developer and is a development framework precipitated by a development team. After the operation is successful, the visual interface gives a prompt of success of the newly added template, and the newly added template is stored in the template list. The template list can be displayed in a visual interface, so that a corresponding template can be conveniently selected in the subsequent project creation process.
The project creation module is used for creating a project, in the process of creating the project, a project name and a project catalog are input in an interface, a template is selected, a code-cli init XXX command in a Codecli tool is used for initializing an XXX template frame to the local, XXX is a module identification, when a user inputs the code-cli init XXX, the command tool of a node is used for obtaining the XXX input by the user, a code-cli init method is triggered at the same time, the template with the name XXX is cloned to the local of the user by the git tool, and information such as the relation between the user and the template (the relation between the user and the template is established at the same time of creating the project), the version and the like is stored in a certain table of the database. After the creation is successful, a usage record of the template is generated. Selecting the created project name, the project development can be entered.
The delete template module can delete the specified XXX template using the "code-cli delete XXX" command in the CodeCli tool. When a user inputs code-cli delete xxx, the method of code-cli delete is triggered simultaneously by using the xxx which is obtained by the command tool of the node, the template named xxx is set as deleted in the database, and the operator is updated simultaneously. After the operation is successful, the visual interface gives a prompt of successful deletion of the template, and removes the template name column from the template list.
The extract project template module may specify a comparison XXX template using the "code-cli extract XXX" command in the codeCli tool, generate a new template version number and list the update log. When a user triggers a code-cli extract XXX command, the system searches the version number of an initial template in the project and the content of the template, compares the file content of the template in the project initial with the difference of the file in the current template in the project by using a git comparison tool, highlights and lists the difference point, and selectively or totally adopts the latest content to update and upgrade the original template according to the difference, or can be stored as a new template. Such that modifications to the template during the project can be updated into the original template applied when the project was created, or can be stored directly as a new template.
And the template merging module is used for searching corresponding items according to the template use records of each end after the template version number is updated, and judging whether the template is updated or not. Before upgrading, difference items can be listed, and upgrading can be completed manually or by one key. The template upgrading module analyzes the created project, analyzes methods using templates, belongs to service codes, and uses a git comparison tool to highlight differences between the templates used in project use and new templates; the method can directly combine without paying attention to differences, adopts a new template by default, can automatically compare and select the part needing to be updated to upgrade the template in the original project, automatically execute test script to test after combining is finished, and can prompt successful combining after self-test is free. The module can enable the items of the same template to be updated and iterated quickly after the template is updated, and an optional updating mode is provided.
Based on the system, templates can be added and deleted in a visual mode, items can be created based on the templates, the items which have used the templates can be updated according to the needs based on the template updating, and the existing and ongoing old items can be subjected to rapid iterative updating of the framework bottom layer; the framework can be updated in a certain project according to the change of the project, the framework can be quickly extracted from the framework template, and other projects with the same framework can be quickly iterated.
The technical means disclosed by the scheme of the invention is not limited to the technical means disclosed by the embodiment, and also comprises the technical scheme formed by any combination of the technical features. It should be noted that modifications and adaptations to the invention may occur to one skilled in the art without departing from the principles of the present invention and are intended to be within the scope of the present invention.

Claims (4)

  1. A codecali scaffold building project system characterized by: the system comprises an operation interface module, a new template module, a project creation module, a template deletion module, a project framework extraction module and a template merging module; the operation interface module provides a visual operation interface and is used for collecting data input by a user, compiling and converting the data into related node instructions and displaying the results in the interface in real time; the template newly-added module is used for newly-adding templates according to the appointed template sources and storing the templates in a template list, and the template list can be displayed in a visual interface; the project creation module creates projects based on the input project names and project catalogues, the selected templates are created, the selected template frames are initialized to the local, and a use record of the templates is generated after the creation is successful; the template deleting module is used for deleting the appointed template, and removing a column of the deleted template name from the template list after the operation is successful; the project framework module is used for comparing the updated template in the project with the content of the initial template, triggering a code-clientract command, generating a new template version number and listing an update log, and comparing the difference between the file content of the template in the project initial and the file in the template in the project by using a git comparison tool, and upgrading the template or storing the template as a new template; the template merging module is used for searching corresponding items according to the template use records of each end after the frame version number is updated, analyzing the created items, analyzing the parts belonging to service codes in the template using method, comparing the new frames with templates used in the items by using a git comparison tool, highlighting the difference, merging the new templates or partially updating the templates in the original items.
  2. 2. The codeCli scaffold building project system according to claim 1, wherein: when the project creation module initializes the selected template frame to the local, a code-clinit method is triggered, the selected template is cloned to the local of a user by using a git tool, and meanwhile, the contact and version information of the user and the template is stored in a database.
  3. 3. The codeCli scaffold building project system according to claim 1, wherein: and the project framework extracting module is used for listing difference points after comparing the project framework with templates referenced by the project framework, and selectively or completely updating and upgrading the original templates by adopting the latest content according to the difference, or saving the latest content as a new template.
  4. 4. The codeCli scaffold building project system according to claim 1, wherein: and the template merging module automatically executes test script to test when merging, and prompts successful merging after self-test is error-free.
CN202010067445.7A 2020-01-20 2020-01-20 construction project system of codeCli scaffold Active CN111124376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010067445.7A CN111124376B (en) 2020-01-20 2020-01-20 construction project system of codeCli scaffold

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010067445.7A CN111124376B (en) 2020-01-20 2020-01-20 construction project system of codeCli scaffold

Publications (2)

Publication Number Publication Date
CN111124376A CN111124376A (en) 2020-05-08
CN111124376B true CN111124376B (en) 2023-08-11

Family

ID=70492390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010067445.7A Active CN111124376B (en) 2020-01-20 2020-01-20 construction project system of codeCli scaffold

Country Status (1)

Country Link
CN (1) CN111124376B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694618A (en) * 2020-06-04 2020-09-22 北京字节跳动网络技术有限公司 Object processing method, device, equipment and storage medium
CN112015375A (en) * 2020-08-21 2020-12-01 广州欢网科技有限责任公司 Background management system creating method and device and electronic equipment
CN111915228A (en) * 2020-08-22 2020-11-10 武汉空心科技有限公司 High-reliability work platform task workload assessment method
CN112685029A (en) * 2020-12-30 2021-04-20 京东数字科技控股股份有限公司 Visual template generation method, device, equipment and storage medium
CN113378091A (en) * 2021-06-08 2021-09-10 北京百度网讯科技有限公司 Visual project generation method and device, electronic equipment and storage medium
CN113312030A (en) * 2021-06-15 2021-08-27 京东数科海益信息科技有限公司 Method for constructing application program, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015185328A1 (en) * 2014-06-06 2015-12-10 Rode Oliver Computer-implemented method and signal sequence for a program for reusing software configurations that can be executed for software systems, and computer system, and a computer program with program code for carrying out the method
CN109697099A (en) * 2018-12-27 2019-04-30 北京百佑科技有限公司 A kind of event management system and management method
CN110109840A (en) * 2019-05-10 2019-08-09 重庆八戒电子商务有限公司 Code audit method, audit device and the medium compared based on version number
CN110580152A (en) * 2018-06-07 2019-12-17 北京怡合春天科技有限公司 Automatic scaffold frame of front end
CN110597506A (en) * 2019-11-14 2019-12-20 南京百敖软件有限公司 Front-end application visualization development tool and use method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015185328A1 (en) * 2014-06-06 2015-12-10 Rode Oliver Computer-implemented method and signal sequence for a program for reusing software configurations that can be executed for software systems, and computer system, and a computer program with program code for carrying out the method
CN110580152A (en) * 2018-06-07 2019-12-17 北京怡合春天科技有限公司 Automatic scaffold frame of front end
CN109697099A (en) * 2018-12-27 2019-04-30 北京百佑科技有限公司 A kind of event management system and management method
CN110109840A (en) * 2019-05-10 2019-08-09 重庆八戒电子商务有限公司 Code audit method, audit device and the medium compared based on version number
CN110597506A (en) * 2019-11-14 2019-12-20 南京百敖软件有限公司 Front-end application visualization development tool and use method

Also Published As

Publication number Publication date
CN111124376A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111124376B (en) construction project system of codeCli scaffold
CN103294475B (en) The business automatic creation system of graphic based business scenario and domain template and method
EP2228726B1 (en) A method and system for task modeling of mobile phone applications
CN108388445B (en) Continuous integration method based on 'platform + application' mode
CN111427561A (en) Service code generation method and device, computer equipment and storage medium
CN110334326B (en) A kind of method and system for identifying recipe file and being converted into XML file
US20060101392A1 (en) Strongly-typed UI automation model generator
CN111208995A (en) Method, system, device and storage medium for automatically generating IBM host job
CN110990055B (en) Pull Request function classification method based on program analysis
CN111124938B (en) Method for generating componentized test case
Kuryazov et al. Representing model differences by delta operations
Zhang et al. Automated Extraction of Grammar Optimization Rule Configurations for Metamodel-Grammar Co-evolution
CN111177016B (en) Software test defect management method
CN113010183A (en) Code conversion method and device
CN105893445A (en) Data processing method, server and terminal device
CN114519071A (en) Generation method, matching method, system, device and medium of rule matching model
Smirnov et al. Revizor: a data-driven approach to automate frequent code changes based on graph matching
CN113448852A (en) Test case obtaining method and device, electronic equipment and storage medium
CN111352637B (en) Method, device and equipment for deploying machine learning system
CN113656010B (en) Method, system, equipment and medium for automatically creating code warehouse by micro service
US11726792B1 (en) Methods and apparatus for automatically transforming software process recordings into dynamic automation scripts
CN117348916B (en) Script generation method, device, equipment and storage medium
CN112306499B (en) Program element extraction method and device
CN114647589A (en) Application software testing method, system, device, equipment and readable storage medium
CN116860605A (en) Machine learning project code modification detection method and device

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