This is the last record of various problems encountered in the project process. It mainly records and summarizes some open-source projects that have been learned since now, this article mainly introduces some knowledge points I learned from these open-source projects.
Dynamic SoftCodeGenerate
In college, I began to look for various code generation tools, such as codesmith, codegeneration, and unknown code generators. Although codesmith and codegeneration are powerful, they need to find various code templates, at that time, I felt very troublesome, So I continued to look for it, so I got into touch with the soft code generation written by Li Tianping in the garden. To some extent, the soft data written by Li Tianping is still very suitable for domestic project development: simple, fully functional, and can generate a variety of projects. Later in December 22, Li Tianping opened up its softwareSource codeAnd released it on the official mosoft website (but it seems that it is no longer available), So I downloaded the source code immediately.
In my opinion, dynamic software has been well developed. Many later code generation tools have more or less imitated or referenced dynamic software code generation, after its open source, we can finally find out its internal source code.
Project List:
Dynamic software is a mature code generation tool that has built-in various common functions required for daily project development: multi-database support, database document generation, database scripts, project generation of various structures, and code conversion (this function is useless, basically useless, and many converted codes are unavailable.
For friends who need code generation tools, this software is very powerful. For learners, its source code is a very good learning example. I will give a few examples below:
1. If you do not know how to install and deploy a project, you can view its setup and uninstall projects. For example:
PassProject setup, We can learn how to use vs to create the project installation package.
PassProject uninstall, We can know how to uninstall the installed project on the client machine through code.
2. Do not know C/SProgramFor details about how to upgrade, referProject updateappTo learn how to check the configuration file on the client, interact with the server, and then judge the version of the program for upgrade.
3. If you have some winform knowledge, but do not know about common winform controls, how to use them, and how to combine them, you can view them directly.Main project codematicYou can learn how to combine various controls, flexibly use the properties of controls, and display controls. For example:
4. A friend who does not know how to generate a Word document or database script through a program can use the projectCodematic/tools/dbtoword and dbtoscriptTo learn.
5. If you want to write your own code generation tool or use software to implement a code generation tool that meets your needs, you can understand the internal XSL template, learn how to generate templated code. For example:
6. multi-database access, project structure, code specifications, and so on, all of which need to be learned as needed.
Next, let's talk about my personal feelings about the software code generation tool:
1. A good learning example. net C/S developers are a very good example. Because they are for domestic developers, the interfaces and code annotations are also in Chinese, making it very convenient to learn.
2. Excellent reference examples. Even if you don't have time to thoroughly understand the source code, you can familiarize yourself with various soft functions and remember them, when a development problem occurs during the development process and a corresponding solution is available in the soft environment, you can refer to it.
In other words, if you think this article is useful or valuable, move the cursor over [recommendation] and click it for me. Thank you very much!
Records of various problems encountered during the project process
Editor:
FCKeditor related knowledge and various common usage Problems
FCKeditor custom upload path Configuration
Use FCKeditor to generate static paging html
Chart:
Tips on mschart
Good chart selection on ASP.net-funsioncharts
Orm:
Some minor issues with using nhib.pdf to configure object entities
About Nhibernate query Encapsulation
Deployment:
Problems related to project deployment-IIS
The tangled problems during project deployment-sqlserver
Tools:
. Net tool library frequently used for development
Learning:
Summarize open-source projects that have been learned since work-dynamic software code generation tools
Summary of open-source projects learned since work-discuznt