WEB development method and device based on code file route
A code file and routing technology, applied in the field of WEB development, can solve the problems of messy code organization structure, code coupling, and high maintenance cost of WEB products, and achieve the effect of convenient web system maintenance and expansion development, clear structure, and avoiding code coupling problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] The embodiment of the present invention provides a WEB development method based on code file routing, see figure 1 , the method can include:
[0040] Step S11, storing corresponding codes in separate code files in the server according to the preset code file routing rules.
[0041] In this embodiment, the code files are stored independently in the server according to the preset code file routing rules, which can help developers reasonably arrange the code directory structure and the files where the code is located, thus solving the problems of code bloat and The problem of high code maintenance cost.
[0042] Specifically, the preset code file routing rule may be: according to different functional modules in the developed web system, code file routing is set for different pages or for different operations on the same page.
[0043] In this embodiment, a developed web system generally consists of multiple functional modules according to different functions, each functi...
Embodiment 2
[0065] The embodiment of the present invention provides a WEB development device based on code file routing, which adopts the WEB development method based on code file routing described in Embodiment 1, see Figure 4 , the device may include: a storage module 100 and a processing module 200 .
[0066] The storage module 100 is configured to store corresponding codes in separate code files in the server according to preset code file routing rules.
[0067] In this embodiment, the code files are stored independently in the server according to the preset code file routing rules, which can help developers reasonably arrange the code directory structure and the files where the code is located, thus solving the problems of code bloat and The problem of high code maintenance cost.
[0068] The processing module 200 is configured to obtain the route of the code file by parsing the parameters of the http request, and call the code in the corresponding code file to complete the corresp...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com