Generally, the most basic function of CMS is to edit the online file content. After the content is updated and released, you can see the edited effect in real time, however, Enterprise Web application projects are mostly business logic control and are not suitable for development based on CMS. Especially for projects that have been deployed online, users will frequently propose changes to front-end pages, for example, the color, font size, web page title, and other trivial adjustments, coupled with frequent forgetting of the server management password, updateProgramVery inconvenient, so onlineCodeThe editing tool is used in such scenarios.
For example:
Note: The left area of the project is the file directory, and the right area is the code editing area. Select the file node on the left. The file content is loaded in the editing area on the right. After the content is edited, select Save to instantly update the code file. You can also select the folder node on the left to add blank text files or folders. Of course, you can also upload files, comparison files, or DLL files to replace the current program file and update the application in real time.
Note: This function should be included in existing projects. In addition, security factors should be taken into account. For example, a separate logon page access control should be provided.
The sample project code is as follows: I'm here